pm-suspend with quirks does not restore backlight anymore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Binary package hint: pm-utils
The problem I am trying to address is that when I suspend my laptop to RAM, backlight is not restored upon resume. I followed instructions on this thread comment until Jaunty to get the backlight back on resume:
http://
But in Karmic, the trick won't work anymore. The following command that worked in Jaunty does not work in Karmic:
% sudo pm-suspend --quirk-s3-bios --quirk-s3-mode --quirk-dpms-on --quirk-vbe-post --quirk-
I wonder what has changed. I tried to get help on ubuntuforums, but haven't got any yet.
ProblemType: Bug
Architecture: i386
Date: Sat Aug 22 17:58:12 2009
DistroRelease: Ubuntu 9.10
Package: pm-utils 1.2.5-2ubuntu4
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=
ProcVersionSign
SourcePackage: pm-utils
Uname: Linux 2.6.31-6-generic i686
Changed in pm-utils (Ubuntu): | |
status: | New → Confirmed |
Changed in pm-utils (Ubuntu): | |
importance: | Undecided → Medium |
I had the same problem (Karmic Alpha 4 on a Thinkpad X40 here), and I worked around the problem by adding the following line
return 1
in /usr/lib/ pm-utils/ sleep.d/ 98smart- kernel- video :
# Test to see if the kernel has a video driver that is smart enough to drm/card0/ device/ graphics/ fb0 ] || return 1 all_video_ quirks
# handle quirks without external assistance. If it is, remove the quirks.
have_kms()
{
return 1
# if we are running with a KMS-enabled video driver, we should not
# attempt to run any quirks
[ -d /sys/class/
remove_
add_parameters --quirk-no-chvt
}
-> it forces using quirks even with KMS enabled.
It worked for me, but I'm not by any mean knowledgeable in all that stuff...