Red Hat Bugzilla – Bug 527062
T61p backlight does not recover
Last modified: 2010-12-04 02:34:26 EST
Description of problem:
When the T7500 laptop recovers from a screen blank in runlevel 3, the LCP panel backlight remains off. Backlight works fine--is restored--switching to runlevel 5 with GDM.
Version-Release number of selected component (if applicable):
If I toggle the value in /proc/acpi/video/VID1/LCD0/brightness to 100 as root (is at 28 after screen blank), this will restore brightness from the console, without launching gdm. The acpitool program unfortunately looks in the wrong /proc directory for this file. What is the appropriate method for setting backlight setting persistence on screen blank restore?
PS GDM from runlevel 5 restores brightness, but running startx does not (nor do the two function bright keys work, without GDM).
You need to use gnome-power-manager, HAL is a mechanism agent, not a policy agent. If you run gdm, gnome-power-manager is run and thus the buttons and policy work. If you don't want to run g-p-m, you can use xfce-power-manager or kpowersave.
Runlevel 3, not 5. I want the backlight to work after logging out from the *text* terminal, (i.e I don't want to install the GUI at all: no X). The point about gdm is that I have to install it and switch to runlevel 5, then the backlight is restored, or if I modify the /proc file system.
Then you need to add in manually the appropriate command for your laptop in /etc/pm/sleep.d/ for the resume and thaw actions.
HAL is a mechanism agent, not a policy agent. If you want to apply policy then you either have to do it in the kernel and choose sane defaults, or do it in userspace. The way we've chosen to do this in userspace is in the session layer, not the system layer.
Created attachment 364675 [details]
sleep hook for backlight restore
Oh, I see. Thank you. This is a recent (2 months?) change; I'm curious what the change was. Attached is the hook I added:
Created attachment 366001 [details]
70.bl sleep hook
attempted sleep hook to restore back light on restore (suspend resume?).
The attached sleep hook doesn't seem to work. It is my best attempt at following your advice regarding backlight restoration. It must be manually run to work, but does not automatically run. Please pardon my ignorance, but this seems to be a bug with 2.6.30, not a suspend/hibernate policy issue. What am I missing? What documentation have I not read that I should have (i.e. pm-utils READMEs, etc.)? What should I be doing, that I am not, to impliment a policy, instead of an expectation that HAL mechanisms should automatically handle this?
This issue continues to be present in FC12. This now occurs whether I'm in runlevel 3 or 5, if I switch to a virtual terminal, and let the screen blank. The sleep hook previously attached does not execute on recovery (though the nouveau driver now supports suspend when I close the lid). Recovery requires my running the script manually, or increasing the brightness in GNOME.
I had thought this issue was specific to runlevel 3, but I just encountered it after a suspend from e16 (runlevel 5, with gdm running). The 70.bl script above had to be run manually to restore brightness.
s/runlevel 3/the text terminal/
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '12'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 12's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 12 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.