Commit Graph

8 Commits

Author SHA1 Message Date
Danijel Posilović
86ad764392 htcleo: new button backlight manager driver
- Now button backlight is managed by this driver, also it is configurable by sysfs (number of secs. after backlight will be turned off after last key-press, enable/disable this auto_off feature)
-When disabled auto_off, backlight will go off along with screen backlight.
- Sysfs for num. of seconds : /sys/devices/platform/btn_backlight_manager/off_seconds
(min: 5 sec, max: 60 sec)
- Sysfs for turn on/off auto-off feature: /sys/devices/platform/btn_backlight_manager/auto_off
(0 to disable auto-off, 1 to enable)
2011-02-17 21:13:55 +08:00
Danijel Posilović
c3c716173f - Some cleanups
- Added button backlight control via panel backlight (button backlight will go on/off with screen backlight)
- To enable/disable this just echo 0 or 1 to /sys/devices/platform/htcleo-backlight/btn_control
( echo 0 >  /sys/devices/platform/htcleo-backlight/btn_control )
- By default button control is enabled
2011-02-17 21:13:21 +08:00
Markinus
76df0ff485 htcleo: fixed small BL settings for no sense builds and autobl rights 2010-11-04 18:49:09 +01:00
Markinus
583d8a2c82 htcleo: store brightness in the led driver 2010-10-16 13:35:48 +02:00
Markinus
28b2881942 htcleo: some cleanups for backlight driver 2010-10-16 13:07:06 +02:00
Markinus
ecba5ca2dc htcleo: add interface for microps autobacklight functionality 2010-10-15 23:47:49 +02:00
Markinus
c2631ec499 htcleo: removed some debug messages 2010-10-15 11:14:52 +02:00
Denis GNUtoo Carikli
574f071bea htcleo: add backlight driver that uses the real backlight API 2010-10-05 16:44:15 +02:00