Openmoko Bug #1556: Kernel suspend/resume backglight and resume "reason" bugs.

Openmoko Public Trac bugs at docs.openmoko.org
Tue Jul 8 14:21:12 CEST 2008


#1556: Kernel suspend/resume backglight and resume "reason" bugs.
-----------------------------+----------------------------------------------
 Reporter:  raster           |       Owner:  andy at openmoko.com
     Type:  defect           |      Status:  new              
 Priority:  high             |   Milestone:                   
Component:  System Software  |     Version:                   
 Severity:  normal           |    Keywords:                   
 Blocking:                   |   Blockedby:                   
-----------------------------+----------------------------------------------
 in:
 /sys/devices/platform/s3c2440-i2c/i2c-
 adapter/i2c-0/0-0073/backlight/pcf50633-bl

 * 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... :(

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1556>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list