yangh / sevensquare

Android screencast wroted in QT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

backlight path different

ponty opened this issue · comments

commented

Backlight path should be configurable, or it should be detected.

code:

#define SYS_LCD_BACKLIGHT   "/sys/class/leds/lcd-backlight/brightness"

My phone:

$ cat /sys/class/leds/lcd_backlight0/brightness                                                                                                                                                         
158

A patch is welcome:) I have no such a device for test.