资 源 简 介
在大多2440开发板BSP中的SMDK2440DRIVERSacklite目录下一般都有背光驱动。在注册表中添加如下函数的时候,开机时确实可以打印"!!!!!!!!!!!! BACKLIGHT ON !!!!!!!!!!!!,如果没有操作大概1分钟后也可以打印!!!!!!!!!!!! BACKLIGHT OFF !!!!!!!!!!!!。但打印("!!!!!!!!!!!! BACKLIGHT OFF !!!!!!!!!!!!后,就算有触发事件(在触摸屏上点击,或者移动鼠标)也不会打印"!!!!!!!!!!!! BACKLIGHT ON !!!!!!!!!!!!。
其实这个驱动大体是正确的,只是当键盘鼠标或触摸屏输入时候gwes 发送“PowerManager/ActivityTimer/UserActivity” event,而不是原驱动中的“("UserInputEvent") ”修改后的源程序如下(SMDK2440DRIVERSacklite目录下bak_hw.cpp文件)。-2440 development board in the majority of BSP in SMDK2440 DRIVERS backlite directory generally backlight driver. Add the following in the registry function, the boot print when really " !!!!!!!!!!!! BACKLIGHT ON !!!!!!!!!!!!, If there is no operation after about 1 minute can also print it !!!!!!!!!!!! BACKLIGHT OFF !!!!!!!!!!!!。 Print (" !!!!!!!!!!!! BACKLIGHT OFF!! !!!!!!!!!! after, even if there are triggering events (click on the touch screen, or move the mouse) will not print " !!!!!!!!!!!! BACKLIGHT ON !!!!! In fact, this dr