[Bug 404619] New: "s2ram -f" on thinkpad x40 (intel 855 video) with 2.6. 26 does not resume backlight
https://bugzilla.novell.com/show_bug.cgi?id=404619 Summary: "s2ram -f" on thinkpad x40 (intel 855 video) with 2.6.26 does not resume backlight Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Mobile Devices AssignedTo: zoz@novell.com ReportedBy: jon.novell@alcopop.org QAContact: qa@suse.de Found By: --- pm-utils on Debian invokes s2ram. It usually invokes it using "s2ram --force <quirk arguments>". With 2.6.26 kernels, a lot of quirks have been folded into the kernel. Therefore, pm-utils does not pass the quirks through to s2ram, and invokes it just like "s2ram -f". If I move s2ram out of the way, pm-utils works both using it's own userspace quirks handling on 2.6.25, and without quirks on 2.6.26. However, "s2ram -f" does not work on 2.6.26 -- on resume, the backlight is powered off for the internal LCD. I've only recently figured out that this was down to s2ram. I initially reported it in the debian bts, then against pm-utils, then against the kernel, before tracking it down: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487403 https://bugs.freedesktop.org/show_bug.cgi?id=16453 (pm-utils) http://bugzilla.kernel.org/show_bug.cgi?id=10985 (kernel) Debian carries 0.7 but I've tried 0.8 and the bug is present there too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404619
Danny Kukawka
https://bugzilla.novell.com/show_bug.cgi?id=404619
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c1
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=404619
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=404619
User jon.novell@alcopop.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c2
Jon Dowland
https://bugzilla.novell.com/show_bug.cgi?id=404619
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c3
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=404619
User rjwysocki@sisk.pl added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c4
--- Comment #4 from Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=404619
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c5
--- Comment #5 from Stefan Seyfried
The console switch may cause that to happen, in which case it would be a kernel problem.
Still, we don't have to do the console switch at all IMO, because (1) the kernel does it too and (2) it (hopefully) will become unnecessary at one point, in which the kernel will stop doing it.
As long as we are doing video restore in userspace, we need to switch to a text console first, or we will be racing with X at restoring video (X might not like having the card POSTed while it is using it).
Apart from this, there is the suspend_fbcon() called from s2ram_hacks() regardless of the value of 'force'.
Yes, i also thought of that. Let's see if we get some error message from s2ram, this would be a first hint. If that does not help, i'll start adding debug code and maybe debug switches to selectively disable some of those actions (vt switch, suspend_fbcon, ...) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404619
User jon.novell@alcopop.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c6
--- Comment #6 from Jon Dowland
https://bugzilla.novell.com/show_bug.cgi?id=404619
User jon.novell@alcopop.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c7
--- Comment #7 from Jon Dowland
https://bugzilla.novell.com/show_bug.cgi?id=404619
User jon.novell@alcopop.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c8
--- Comment #8 from Jon Dowland
https://bugzilla.novell.com/show_bug.cgi?id=404619
User jon.novell@alcopop.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c9
--- Comment #9 from Jon Dowland
https://bugzilla.novell.com/show_bug.cgi?id=404619
User jon.novell@alcopop.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c10
--- Comment #10 from Jon Dowland
https://bugzilla.novell.com/show_bug.cgi?id=404619
User jon.novell@alcopop.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c11
--- Comment #11 from Jon Dowland
https://bugzilla.novell.com/show_bug.cgi?id=404619
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c12
--- Comment #12 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=404619
User jon.novell@alcopop.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c13
--- Comment #13 from Jon Dowland
https://bugzilla.novell.com/show_bug.cgi?id=404619
User jon.novell@alcopop.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c14
Jon Dowland
https://bugzilla.novell.com/show_bug.cgi?id=404619
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404619#c15
--- Comment #15 from Stefan Seyfried
participants (1)
-
bugzilla_noreply@novell.com