[Bug 711339] New: Adjusting LCD brightness doesn't work after suspend
https://bugzilla.novell.com/show_bug.cgi?id=711339 https://bugzilla.novell.com/show_bug.cgi?id=711339#c0 Summary: Adjusting LCD brightness doesn't work after suspend Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Mobile Devices AssignedTo: mobile-bugs@forge.provo.novell.com ReportedBy: kaelinphilipp@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=445026) --> (http://bugzilla.novell.com/attachment.cgi?id=445026) dmesg User-Agent: Opera/9.80 (X11; Linux x86_64; U; de) Presto/2.9.168 Version/11.50 After a fresh restart the adjustment of the lcd brightness works correctly. After putting the system to suspend this won't work. Also after a second time putting to suspend it won't work. Reproducible: Always Steps to Reproduce: 1. Restart if you've done a suspend recently. 2. Try Adjusting brightness (on my Notebook using Fn+F6/F7), this should work. 3. Put the system to suspend mode. 4. Wake up the system from suspend and try the steps named in 2 again Actual Results: In both cases (before and after suspend) the KDE brightness widget is shown correctly but brightness won't change after suspend. Expected Results: Adjusting brightness should work like after a fresh restart. System: Toshiba Tecra R850-11M openSuse 11.4 / 2.6.37.6-0.7-desktop / KDE 4.7 The actual state is also after a suspend shown correctly in the following file: cat /proc/acpi/toshiba/lcd brightness: 5 brightness_levels: 8 When adjusting the brightness using the keys the value in the file above is actualized corrctly. In /var/log/messages and dmesg (also as attachment) the following line appears: Aug 9 20:38:02 linux-h81p kernel: [ 899.913018] ACPI: Failed to switch the brightness -- 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=711339 https://bugzilla.novell.com/show_bug.cgi?id=711339#c Philipp Kälin <kaelinphilipp@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Mobile Devices |Mobile Devices Product|openSUSE 12.1 |openSUSE 11.4 Target Milestone|--- |Final -- 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=711339 https://bugzilla.novell.com/show_bug.cgi?id=711339#c1 --- Comment #1 from Philipp Kälin <kaelinphilipp@gmail.com> 2011-09-05 12:11:27 UTC --- This Problem also exist in Vanilla-Kernel # uname -a Linux linux-h81p.site 3.1.0-rc4-131-g9e79e3e-1-vanilla #1 SMP Wed Aug 31 06:01:54 UTC 2011 (e100209) x86_64 x86_64 x86_64 GNU/Linux -- 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=711339 https://bugzilla.novell.com/show_bug.cgi?id=711339#c2 --- Comment #2 from Philipp Kälin <kaelinphilipp@gmail.com> 2011-09-14 09:22:10 UTC --- Created an attachment (id=450630) --> (http://bugzilla.novell.com/attachment.cgi?id=450630) /var/log/pm-suspend.log Linux linux-h81p.site 3.0.4-43-desktop #1 SMP PREEMPT Wed Aug 31 09:30:44 UTC 2011 (a432f18) x86_64 x86_64 x86_64 GNU/Linux -- 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=711339 https://bugzilla.novell.com/show_bug.cgi?id=711339#c3 --- Comment #3 from Philipp Kälin <kaelinphilipp@gmail.com> 2011-09-14 09:33:19 UTC --- To find the problem I attached the file /var/log/pm-suspend.log. I also found out, that this machine is not known by s2ram, although suspend works except the screen brightness. # /usr/sbin/s2ram -n Machine unknown This machine can be identified by: sys_vendor = "TOSHIBA" sys_product = "TECRA R850" sys_version = "PT525E-00D00SS4" bios_version = "Version 3.00 " See http://en.opensuse.org/SDB:Suspend_to_RAM for details. By the way to things: 1) Because I have 8GB RAM and an SSD Harddrive I have no SWAP Partition, but by my side this shouldn't be a problem. 2) As described here (http://memebeam.org/toys/ToshibaAcpiDriver) I tried to edit /proc/acpi/toshiba/lcd manually using the following command: # sudo echo "brightness:4" > /proc/acpi/toshiba/lcd But also with sudo rights I can not write to the file, the error message says "bash: /proc/acpi/toshiba/lcd: Keine Berechtigung" even tough I should have rights for sudo # -rw-r--r-- 1 root root 0 14. Sep 11:19 lcd -- 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=711339 https://bugzilla.novell.com/show_bug.cgi?id=711339#c4 --- Comment #4 from Philipp Kälin <kaelinphilipp@gmail.com> 2012-01-16 11:31:09 UTC --- Created an attachment (id=471331) --> (http://bugzilla.novell.com/attachment.cgi?id=471331) Files in /sys/containig bright and their values -- 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=711339 https://bugzilla.novell.com/show_bug.cgi?id=711339#c5 --- Comment #5 from Philipp Kälin <kaelinphilipp@gmail.com> 2012-01-16 11:38:59 UTC --- I loked in /sys/ for all files containing the value "bright". Then I changed the brightness of the screen using the Keys Fnn+F6/F7 and watched for the changes in the files. The tabular is in the attached file:"Files in /sys/containig bright and their values" I mentioned that the value of /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/actual_brightness is always constant after a suspend. Before the suspend it changed. To change the brightness after suspend I did the following: #su #echo 320 > /sys/class/backlight/intel_backlight/brightness Now the file /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/actual_brightness contains the same value as given in the above comand and display brightness is really changed. I tested this with 3.1.0-1.2-desktop and 3.2.0.6449 Vanilla. On both this workaround works fine to change brightness, but the keys Fn+F6/F7 are stil not working. -- 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=711339 https://bugzilla.novell.com/show_bug.cgi?id=711339#c6 Steve Wesemeyer <swesemeyer@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |swesemeyer@hotmail.com --- Comment #6 from Steve Wesemeyer <swesemeyer@hotmail.com> 2013-09-08 20:42:29 UTC --- Hi, I have exactly the same problem on my Toshiba Satellite R830. This is with a fully up-to-date Opensuse 12.3. The solution in comment 5 restores the brightness but the function keys still don't work (well they do show the "on-screen brightness display" changing but with no effect on the actual brightness). Using (as root) echo 4539 > /sys/class/backlight/intel_backlight/brightness restores my screen to its full brightness and passing different lower values dims the screen. Is there anything that we can check to figure out what causes this to stop working after a suspend? -- 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=711339 https://bugzilla.novell.com/show_bug.cgi?id=711339#c7 --- Comment #7 from Steve Wesemeyer <swesemeyer@hotmail.com> 2013-09-08 21:11:58 UTC --- Actually, I just found the bug report at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/935778 which links to https://bugzilla.kernel.org/show_bug.cgi?id=21012 and comment #19 worked for me (although now the minimum brightness is absolute darkness but at least the FN-keys work) -- 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.
participants (1)
-
bugzilla_noreply@novell.com