TV支持上电直至进入android系统后都是关屏状态

  • 918的接口
    • android层调用的开关屏接口
    • 屏参配置文件
    • 之前uboot需要修改的地方

1 918的接口

1. android层调用的开关屏接口

    int ShineSystemManageService::GetPanelOddEventState()
    返回值,用同一个接口函数实现2种返回的意义,返回的4种情况描述如下,返回值的十位表示开发是否默认关屏:
    0 -开机不关屏,odd
    1-开机不关屏,even
    10-开机关屏,odd
    11-开机关屏,even

2.屏参配置文件

poweronBackLightOff     = 0
4k的屏参文件 UD_VB1_8LANE.ini
1080p的屏参文件 FullHD_CMO216_H1L01.ini

3. 之前uboot需要修改的地方

    Binary file ./u-boot-2011.06/drivers/mstar/panel/MsDrvPanel.o matches
    ./u-boot-2011.06/drivers/mstar/panel/MsDrvPanel.c:719:                  #if 1//20160309 byh using poweronBackLightOff
    ./u-boot-2011.06/drivers/mstar/panel/MsDrvPanel.c:721:                  p_str = getenv("poweronBackLightOff");
    ./u-boot-2011.06/drivers/mstar/panel/MsDrvPanel.c:722:                  printf("MsDrv_PNL_BackLigth_On : %s\n", (p_str==NULL)?"no poweronBackLightOff":"has poweronBackLightOff");
    Binary file ./MstarCore/src/drivers/libdrivers.a matches
    Binary file ./MstarCore/src/drivers/panel/MsDrvPanel.o matches
    ./MstarCore/src/drivers/panel/MsDrvPanel.c:719:                 #if 1//20160309 byh using poweronBackLightOff
    ./MstarCore/src/drivers/panel/MsDrvPanel.c:721:                 p_str = getenv("poweronBackLightOff");
    ./MstarCore/src/drivers/panel/MsDrvPanel.c:722:                 printf("MsDrv_PNL_BackLigth_On : %s\n", (p_str==NULL)?"no poweronBackLightOff":"has poweronBackLightOff");
    Binary file ./sboot/out/mboot.bin matches
    Binary file ./sboot/out/u-boot.bin matches
    ./MstarApp/include/bootlogo/MsPoolDB.h:101:#define POWERON_BACKLIGHT_OFF "poweronBackLightOff"
    Binary file ./MstarApp/libmsapp.a matches
    Binary file ./MstarApp/src/bootlogo/MsPoolDB.o matches
    ./MstarApp/src/bootlogo/MsPoolDB.c:1503:#if 1//20160309 byh for poweronBackLightOff
    ./MstarApp/src/bootlogo/MsPoolDB.c:1505:    n = Profile_GetInteger("panel", "poweronBackLightOff", 0);// 
    ./MstarApp/src/bootlogo/MsPoolDB.c:1507:    printf("poweronBackLightOff = %s\n",str);

你可能感兴趣的:(linux驱动-mstar)