[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
** Changed in: linux (Ubuntu) Status: In Progress = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Same problem on Tosihba R930. Looks like it don't only affects brighness, but after a first sleep/resume , it won't sleep again or shutdown properly (just shutdown the hard drive but not the computer) Do you also have the same issue ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Just got a Z930 and cannot change display brightness at all. Set acpi_backlight=vendor in /etc/default/grub which resulted in displaying a widget that shows the current setting for display brightness and the change when I press FN-F6 or FN-F7 but the display itself remains at full power. Creating /etc/udev/rules.d/00-tosh-backlight.rules and resulted in a black screen at login that I could not change at all. Runninng Kubuntu 13.04 with latest updates as of today: Linux mamo 3.8.0-23-generic #34-Ubuntu SMP Wed May 29 20:22:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
In the recent ubuntu 13.04 Beta 2, /sys/class/backlight/acpi_video0 did not exist anymore on my toshiba satellite Z930 (acpi_backlight=vendor is NOT set). Therefore I had to change the udev script proposed by @cmtsij like this: diff --git a/etc/udev/rules.d/00-tosh-backlight.rules b/etc/udev/rules.d/00-tosh-backlight.rules new file mode 100644 index 000..dd38aa2 --- /dev/null +++ b/etc/udev/rules.d/00-tosh-backlight.rules @@ -0,0 +1 @@ +DEVPATH==*/toshiba, SUBSYSTEM==backlight, ACTION==change, RUN+=/etc/udev/rules.d/tosh-backlight.sh diff --git a/etc/udev/rules.d/tosh-backlight.sh b/etc/udev/rules.d/tosh-backlight.sh new file mode 100755 index 000..c7dc5b2 --- /dev/null +++ b/etc/udev/rules.d/tosh-backlight.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +acpi_max=$(cat /sys/class/backlight/toshiba/max_brightness) +acpi_curr=$(cat /sys/class/backlight/toshiba/brightness) +intel_max=$(cat /sys/class/backlight/intel_backlight/max_brightness) +intel_curr=$(($intel_max*$acpi_curr/$acpi_max)) +echo $intel_curr /sys/class/backlight/intel_backlight/brightness -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Thanks, cmtsij. This is the only solution which works for my Toshiba Z960 on kernel 3.8.0-16-generic. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
I try to write a udev script to workaround. When user press Fn-F6 or Fn-F7, a uevent would be generated from acpi_video0. I wrote a udev rule to hook this uevent to config intel_backlight brightness. diff --git a/etc/udev/rules.d/00-tosh-backlight.rules b/etc/udev/rules.d/00-tosh-backlight.rules new file mode 100644 index 000..dd38aa2 --- /dev/null +++ b/etc/udev/rules.d/00-tosh-backlight.rules @@ -0,0 +1 @@ +DEVPATH==*/acpi_video0, SUBSYSTEM==backlight, ACTION==change, RUN+=/etc/udev/rules.d/tosh-backlight.sh diff --git a/etc/udev/rules.d/tosh-backlight.sh b/etc/udev/rules.d/tosh-backlight.sh new file mode 100755 index 000..c7dc5b2 --- /dev/null +++ b/etc/udev/rules.d/tosh-backlight.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +acpi_max=$(cat /sys/class/backlight/acpi_video0/max_brightness) +acpi_curr=$(cat /sys/class/backlight/acpi_video0/brightness) +intel_max=$(cat /sys/class/backlight/intel_backlight/max_brightness) +intel_curr=$(($intel_max*$acpi_curr/$acpi_max)) +echo $intel_curr /sys/class/backlight/intel_backlight/brightness -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
I am experiencing the same problem. I'm on a Dell XPS ultrabook with the Dell Sputnik PPAs. In my case, I hibernate the computer (I do not suspend) bu the symptoms are the same. Also, after coming back from hibernation, the bluetooth widget shows that bluetooth is enabled even though I had disabled it before going into hibernation. # uname -a Linux hostname 3.2.0-38-generic-pae #61+kamal14~DellXPS-Ubuntu SMP Fri Feb 22 20:53:54 UTC 2013 i686 i686 i386 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
This proposed solution worked for me: ### SYSTEM INFO ### # Model: Toshiba SATELLITE R830 # Kernel: 3.5.0-23-generic x86_64 # OS: Ubuntu 12.10 quantal ### KERNEL PARAMETER ### $ grep vendor /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT=quiet acpi_backlight=vendor ### SCRIPT ### #!/usr/bin/env sh # /etc/pm/sleep.d/99toshiba if [ $1 == suspend ] then cat /sys/class/backlight/intel_backlight/brightness /var/run/brightness elif [ $1 == resume ] then echo 3 /sys/class/backlight/toshiba/brightness cat /var/run/brightness /sys/class/backlight/intel_backlight/brightness fi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Toshiba portege M400 here, 3.5.0-21-generic #32-Ubuntu SMP Brightness keys stop working after suspend/resume, first time. However, in a departure from others' observed behavior, my backlight/toshiba/brightness controls work. When the system is running after a resume, the 'brightness' value is '7', no matter what the screen dimness actually is. But, if you echo '7' brightness, or any other number for that matter, the brightness changes immediately, and that brightness file does reflect the value that the brightness was set to. HTH. Sure seems like toshibas have been the redheaded stepchild of motherboard feature support since they stopped compiling toshiba support into the default kernels. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Comment/link in #57 worked for me on my Portege r705-P25 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
I'm experiencing the same bug on my Toshiba R830-13D, running Ubuntu 12.10. The workaround suggested in #57 worked for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
I have the same problem with portege Z930 with quantal (amd64). A workaround is to do as root cd /sys/class/backlight/intel_backlight echo some_value brightness with some_value an integer lower than 4539. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
I tried the workaround suggested in #57, and it doesn't work on an R840 using Quantal. Not sure if anyone else has had luck on any other laptop on Quantal. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Bug still exists under 3.6 rc6. (tested with z930) ** Description changed: Overview - This bug affects many Toshiba laptops including R700, R705, R800, R830, - R835, R840 and R850 models - please update this description if your + R835, R840, R850, Z930 models - please update this description if your model is also affected, but make sure the symptoms match exactly. The symptoms are that brightness control operates normally when the system is first booted, but after a suspend-to-RAM and resume cycle the brightness controls have no effect. After a normal reboot, or hibernate resume cycle, the brightness controls operate normally again. This bug is tracked for the kernel at: http://bugzilla.kernel.org/show_bug.cgi?id=21012 And for Debian at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599768 Please try to keep all info together and pass any progress to the upstream trackers. Original report for #935778 follows: On my Toshiba R840, the brightness controls work fine on first boot, but do nothing after suspend/resume. This is particularly frustrating if I suspend with the screen at all dimmed, because once I resume, I have no way of increasing the brightness short of a reboot. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: linux-image-generic 3.2.0.16.16 ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6 Uname: Linux 3.2.0-16-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 1.91-0ubuntu1 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2251 F pulseaudio /dev/snd/pcmC0D0p: james 2251 F...m pulseaudio CRDA: country EU: (2402 - 2482 @ 40), (N/A, 20) (5170 - 5250 @ 40), (N/A, 20) (5250 - 5330 @ 40), (N/A, 20), DFS (5490 - 5710 @ 40), (N/A, 27), DFS Card0.Amixer.info: Card hw:0 'PCH'/'HDA Intel PCH at 0xc482 irq 50' Mixer name : 'Intel CougarPoint HDMI' Components : 'HDA:10ec0269,1179062a,00100100 HDA:80862805,11790001,0010' Controls : 30 Simple ctrls : 12 Date: Sat Feb 18 21:27:12 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 11.10 Oneiric Ocelot - Release amd64 (20111012) MachineType: TOSHIBA TECRA R840 ProcEnviron: LANGUAGE=en_GB:en PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-16-generic root=UUID=16b08eff-30c4-4fe0-bede-cf8cb31270bf ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.2.0-16-generic N/A linux-backports-modules-3.2.0-16-generic N/A linux-firmware1.69 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux StagingDrivers: mei UpgradeStatus: Upgraded to precise on 2012-01-09 (39 days ago) dmi.bios.date: 07/12/2011 dmi.bios.vendor: TOSHIBA dmi.bios.version: Version 2.90 dmi.board.asset.tag: 00 dmi.board.name: Portable PC dmi.board.vendor: TOSHIBA dmi.board.version: Version A0 dmi.chassis.asset.tag: 00 dmi.chassis.type: 10 dmi.chassis.vendor: TOSHIBA dmi.chassis.version: Version 1.0 dmi.modalias: dmi:bvnTOSHIBA:bvrVersion2.90:bd07/12/2011:svnTOSHIBA:pnTECRAR840:pvrPT42GE-00N006EN:rvnTOSHIBA:rnPortablePC:rvrVersionA0:cvnTOSHIBA:ct10:cvrVersion1.0: dmi.product.name: TECRA R840 dmi.product.version: PT42GE-00N006EN dmi.sys.vendor: TOSHIBA -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
I compiled all the latest patches for toshiba_acpi.c but no success. When this BUG's going to be closed ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
I have Toshiba Satellite R630, and this BUG is really bothering. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Here is a nice resource of workarounds for toshiba z830: http://www.linlap.com/wiki/toshiba+portege+z830-10f -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
It's still broken for me. Running the following pre-release kernel: Linux version 3.4.0-030400-generic (apw@gomeisa) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) ) #201205210521 SMP Mon May 21 09:22:02 UTC 2012 Obtained from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/ Toshiba R835-P56X -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Oops, I forgot to add the acpi_backlight=vendor kernel parameter. I'm now seeing the same behavior as everyone else, with the above configuration. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Wohoo! I'll give a post 3.3.5 PPA a try when I get a chance, and report back. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Hiya, Just confirming that the fix suggested in #50 works in Fedora 16 kernel 3.3.5-2.x86_64, so I'm guessing it'll work in Ubuntu also. Can't thank you guys enough for exploring this one; been a real headache for me and I'm nowhere near knowledgeable enough to even begin to attempt to fix it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
** Summary changed: - Toshiba R840 - brightness controls work on first boot, but do nothing after suspend/resume + Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
** Description changed: + Overview - + + This bug affects many Toshiba laptops including R700, R705, R800, R830, + R835, and R840 models - please update this description if your model is + also affected, but make sure the symptoms match exactly. + + The symptoms are that brightness control operates normally when the + system is first booted, but after a suspend-to-RAM and resume cycle the + brightness controls have no effect. + + After a normal reboot, or hibernate resume cycle, the brightness + controls operate normally again. + + This bug is tracked for the kernel at: + + http://bugzilla.kernel.org/show_bug.cgi?id=21012 + + And for Debian at: + + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599768 + + Please try to keep all info together and pass any progress to the + upstream trackers. + + + Original report for #935778 follows: + On my Toshiba R840, the brightness controls work fine on first boot, but do nothing after suspend/resume. This is particularly frustrating if I suspend with the screen at all dimmed, because once I resume, I have no way of increasing the brightness short of a reboot. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: linux-image-generic 3.2.0.16.16 ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6 Uname: Linux 3.2.0-16-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 1.91-0ubuntu1 Architecture: amd64 AudioDevicesInUse: - USERPID ACCESS COMMAND - /dev/snd/controlC0: james 2251 F pulseaudio - /dev/snd/pcmC0D0p: james 2251 F...m pulseaudio + USERPID ACCESS COMMAND + /dev/snd/controlC0: james 2251 F pulseaudio + /dev/snd/pcmC0D0p: james 2251 F...m pulseaudio CRDA: - country EU: - (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (N/A, 20) - (5250 - 5330 @ 40), (N/A, 20), DFS - (5490 - 5710 @ 40), (N/A, 27), DFS + country EU: + (2402 - 2482 @ 40), (N/A, 20) + (5170 - 5250 @ 40), (N/A, 20) + (5250 - 5330 @ 40), (N/A, 20), DFS + (5490 - 5710 @ 40), (N/A, 27), DFS Card0.Amixer.info: - Card hw:0 'PCH'/'HDA Intel PCH at 0xc482 irq 50' -Mixer name : 'Intel CougarPoint HDMI' -Components : 'HDA:10ec0269,1179062a,00100100 HDA:80862805,11790001,0010' -Controls : 30 -Simple ctrls : 12 + Card hw:0 'PCH'/'HDA Intel PCH at 0xc482 irq 50' + Mixer name : 'Intel CougarPoint HDMI' + Components : 'HDA:10ec0269,1179062a,00100100 HDA:80862805,11790001,0010' + Controls : 30 + Simple ctrls : 12 Date: Sat Feb 18 21:27:12 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 11.10 Oneiric Ocelot - Release amd64 (20111012) MachineType: TOSHIBA TECRA R840 ProcEnviron: - LANGUAGE=en_GB:en - PATH=(custom, no user) - LANG=en_GB.UTF-8 - SHELL=/bin/bash + LANGUAGE=en_GB:en + PATH=(custom, no user) + LANG=en_GB.UTF-8 + SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-16-generic root=UUID=16b08eff-30c4-4fe0-bede-cf8cb31270bf ro quiet splash vt.handoff=7 RelatedPackageVersions: - linux-restricted-modules-3.2.0-16-generic N/A - linux-backports-modules-3.2.0-16-generic N/A - linux-firmware1.69 + linux-restricted-modules-3.2.0-16-generic N/A + linux-backports-modules-3.2.0-16-generic N/A + linux-firmware1.69 RfKill: - 0: phy0: Wireless LAN - Soft blocked: no - Hard blocked: no + 0: phy0: Wireless LAN + Soft blocked: no + Hard blocked: no SourcePackage: linux StagingDrivers: mei UpgradeStatus: Upgraded to precise on 2012-01-09 (39 days ago) dmi.bios.date: 07/12/2011 dmi.bios.vendor: TOSHIBA dmi.bios.version: Version 2.90 dmi.board.asset.tag: 00 dmi.board.name: Portable PC dmi.board.vendor: TOSHIBA dmi.board.version: Version A0 dmi.chassis.asset.tag: 00 dmi.chassis.type: 10 dmi.chassis.vendor: TOSHIBA dmi.chassis.version: Version 1.0 dmi.modalias: dmi:bvnTOSHIBA:bvrVersion2.90:bd07/12/2011:svnTOSHIBA:pnTECRAR840:pvrPT42GE-00N006EN:rvnTOSHIBA:rnPortablePC:rvrVersionA0:cvnTOSHIBA:ct10:cvrVersion1.0: dmi.product.name: TECRA R840 dmi.product.version: PT42GE-00N006EN dmi.sys.vendor: TOSHIBA -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Seth Jowi, well done on your progress with this bug which I have been tracking for a while on duplicate reports. Since you have the most progress on the problem I have merged the various reports into this one and updated the title description to reflect the various models affected. Seth, there are some attempted patches results in the linked kernel Debian bug reports that might be useful to you if you've not already seen them. Also if you could pass your own patches results upstream (particularly the code beind the working kernel in comment #30), some of the others tracking those reports might have ideas on finishing the job. ** Bug watch added: Linux Kernel Bug Tracker #21012 http://bugzilla.kernel.org/show_bug.cgi?id=21012 ** Also affects: linux via http://bugzilla.kernel.org/show_bug.cgi?id=21012 Importance: Unknown Status: Unknown ** Bug watch added: Debian Bug tracker #599768 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599768 ** Also affects: debian via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599768 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
** Changed in: linux Status: Unknown = Confirmed ** Changed in: linux Importance: Unknown = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
** Changed in: debian Status: Unknown = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Martin: Thanks for gathering all the data. I'm hesitating on the solution from comment #30 because writing to HCI_BACKLIGHT seems to sometimes cause the machine to lock up, and because it's only a partial fix (acpi_video backlight still doesn't work). I'm hoping we can do better, when I have a little more time to look into this. Fwiw, most of the solutions posted on the other bug trackers are variations of what I used in comment #30. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
** Bug watch added: Red Hat Bugzilla #755768 https://bugzilla.redhat.com/show_bug.cgi?id=755768 ** Also affects: fedora via https://bugzilla.redhat.com/show_bug.cgi?id=755768 Importance: Unknown Status: Unknown ** Bug watch added: Novell/SUSE Bugzilla #711339 https://bugzilla.novell.com/show_bug.cgi?id=711339 ** Also affects: opensuse via https://bugzilla.novell.com/show_bug.cgi?id=711339 Importance: Unknown Status: Unknown ** Description changed: Overview - This bug affects many Toshiba laptops including R700, R705, R800, R830, - R835, and R840 models - please update this description if your model is - also affected, but make sure the symptoms match exactly. + R835, R840 and R850 models - please update this description if your + model is also affected, but make sure the symptoms match exactly. The symptoms are that brightness control operates normally when the system is first booted, but after a suspend-to-RAM and resume cycle the brightness controls have no effect. After a normal reboot, or hibernate resume cycle, the brightness controls operate normally again. This bug is tracked for the kernel at: http://bugzilla.kernel.org/show_bug.cgi?id=21012 And for Debian at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599768 Please try to keep all info together and pass any progress to the upstream trackers. - Original report for #935778 follows: On my Toshiba R840, the brightness controls work fine on first boot, but do nothing after suspend/resume. This is particularly frustrating if I suspend with the screen at all dimmed, because once I resume, I have no way of increasing the brightness short of a reboot. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: linux-image-generic 3.2.0.16.16 ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6 Uname: Linux 3.2.0-16-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 1.91-0ubuntu1 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: james 2251 F pulseaudio /dev/snd/pcmC0D0p: james 2251 F...m pulseaudio CRDA: country EU: (2402 - 2482 @ 40), (N/A, 20) (5170 - 5250 @ 40), (N/A, 20) (5250 - 5330 @ 40), (N/A, 20), DFS (5490 - 5710 @ 40), (N/A, 27), DFS Card0.Amixer.info: Card hw:0 'PCH'/'HDA Intel PCH at 0xc482 irq 50' Mixer name : 'Intel CougarPoint HDMI' Components : 'HDA:10ec0269,1179062a,00100100 HDA:80862805,11790001,0010' Controls : 30 Simple ctrls : 12 Date: Sat Feb 18 21:27:12 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 11.10 Oneiric Ocelot - Release amd64 (20111012) MachineType: TOSHIBA TECRA R840 ProcEnviron: LANGUAGE=en_GB:en PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-16-generic root=UUID=16b08eff-30c4-4fe0-bede-cf8cb31270bf ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.2.0-16-generic N/A linux-backports-modules-3.2.0-16-generic N/A linux-firmware1.69 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux StagingDrivers: mei UpgradeStatus: Upgraded to precise on 2012-01-09 (39 days ago) dmi.bios.date: 07/12/2011 dmi.bios.vendor: TOSHIBA dmi.bios.version: Version 2.90 dmi.board.asset.tag: 00 dmi.board.name: Portable PC dmi.board.vendor: TOSHIBA dmi.board.version: Version A0 dmi.chassis.asset.tag: 00 dmi.chassis.type: 10 dmi.chassis.vendor: TOSHIBA dmi.chassis.version: Version 1.0 dmi.modalias: dmi:bvnTOSHIBA:bvrVersion2.90:bd07/12/2011:svnTOSHIBA:pnTECRAR840:pvrPT42GE-00N006EN:rvnTOSHIBA:rnPortablePC:rvrVersionA0:cvnTOSHIBA:ct10:cvrVersion1.0: dmi.product.name: TECRA R840 dmi.product.version: PT42GE-00N006EN dmi.sys.vendor: TOSHIBA -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Launchpad has imported 6 comments from the remote bug at https://bugzilla.novell.com/show_bug.cgi?id=711339. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2011-08-09T18:52:07+00:00 Kaelinphilipp wrote: Created an attachment (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 Reply at: https://bugs.launchpad.net/linux/+bug/935778/comments/0 On 2011-09-05T12:11:27+00:00 Kaelinphilipp wrote: 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 Reply at: https://bugs.launchpad.net/linux/+bug/935778/comments/1 On 2011-09-14T09:22:10+00:00 Kaelinphilipp wrote: Created an attachment (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 Reply at: https://bugs.launchpad.net/linux/+bug/935778/comments/2 On 2011-09-14T09:33:19+00:00 Kaelinphilipp wrote: 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 Reply at: https://bugs.launchpad.net/linux/+bug/935778/comments/3 On 2012-01-16T11:31:09+00:00 Kaelinphilipp wrote: Created an attachment (id=471331) Files in /sys/containig bright and their values Reply at: https://bugs.launchpad.net/linux/+bug/935778/comments/4 On 2012-01-16T11:38:59+00:00 Kaelinphilipp wrote: 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/pci:00/: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/pci:00/: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
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Jowi wrote in comment #29: I tried to work around with the acpi_backlight=vendor kernel parameter. To my surprise with this parameter set intel_backlight seems to be used behind the scenes when the Fn-F6/7 keys are pressed. But after resume the backlight stayed off, hence I don't followed this approach any further. Actually it seems that following this approach just a little further yields a passable solution. It seems that with acpi_backlight=vendor the backlight is off after a suspend, but it can be turned back on by writing to /sys/class/backlight/toshiba/brightness, and then everything works normally again. To all those suffering from this bug: there are instructions at http://www.linlap.com/wiki/toshiba+portege+z830-10f that explain how to enable the acpi_backlight=vendor option and set things up with a script that restores the backlight on resume. This fixes the problem for me on my R830. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Martin: The instructions you linked to work without the HCI_BACKLIGHT patch to the kernel? Interesting. Have you tried it without passing acpi_backlight=vendor to see if the acpi backlight works as well? What about writing values other than 7? The way that toshiba_acpi currently handles the backlight ends up with something virtually identical to what the bios is doing when the backlight is changed via the acpi_video backlight interface, at least on the Tecra R840. So it would be interesting to try doing the same thing with the script, but using the acpi_video0 backlight instead. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 935778] Re: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM.
Martin: With acpi_backlight=vendor and writing to toshiba/brightness after resume the backlight actually turns on, but leaves me with an empty screen. Xorg shows the following log entries: [ 211.813] (WW) intel(0): flip queue failed: Invalid argument [ 211.813] (WW) intel(0): Page flip failed: Invalid argument I can change to a still working console and back to X, but X stays blank. By killing X I get back a working X server. The Fn-F6/7 keys still manipulate the intel_backlight interface and the screen brightness is changed thereby. Seth: Without acpi_backlight=vendor nothing has changed. There isn't any difference between writing to toshiba/brightness manually or by script. The behaviour of the three interfaces is the same as before, see comment #33. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935778 Title: Various Toshiba laptops - brightness controls work on first boot, but do nothing after suspend/resume to RAM. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/935778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs