Ticket #1556 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Kernel suspend/resume backglight and resume "reason" bugs.

Reported by: raster Owned by: andy
Priority: high Milestone:
Component: kernel Version:
Severity: normal Keywords:
Cc: andy@…, zecke@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

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

Change History

comment:1 Changed 5 years ago by roh

  • Owner changed from andy@… to andy

comment:2 Changed 4 years ago by andy

  • Status changed from new to closed
  • HasPatchForReview unset
  • Resolution set to fixed

These were solved some time ago even in 2.6.24.

Note: See TracTickets for help on using tickets.