backlight device, suspend/resume...
Carsten Haitzler (The Rasterman)
raster at openmoko.org
Mon Jul 7 12:21:11 CEST 2008
in:
/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/backlight/pcf50633-bl
...
* backlight is ON and:
# cat bl_power
0
this seems reversed logic here. shouldn't 1 == on, 0 == off? the logic seems to
continue its inversness when u:
* turn babcklight off:
# echo 1 > bl_power
* turn backlight on:
# echo 1 > bl_power
* now... before suspend:
#cat brightness
21
# cat actual_brightness
21
* now suspend:
# apm -s
* now resume (press power)
#cat brightness
21
# cat actual_brightness
63
seems wrong to me. the brightness should be restored on resume exactly as it
was left. the same happens to bl_power. if it was off on suspend - it should be
off on resume (also i guess he inverse logic above fixed too).
am i right? or am i missing something?
also while i am at it...
/sys/devices/platform/neo1973-resume.0/resume_reason
never seems it indicate the resume reason - no entry has an '*' next to it
ever... :(
are these known issues?
--
Carsten Haitzler (The Rasterman) <raster at openmoko.org>
More information about the openmoko-kernel
mailing list