There is a related bug on the kernel bug tracker:
https://bugzilla.kernel.org/show_bug.cgi?id=21012 for Kernel 3.2.

I tried the workaround suggested in comment 19 but this stops my laptop
going in sleep mode.

Any ideas how to modify this script to make it work?

-----------------
#!/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

** Bug watch added: Linux Kernel Bug Tracker #21012
   http://bugzilla.kernel.org/show_bug.cgi?id=21012

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1069144

Title:
  [Toshiba Satellite R830] brightness control works until sleep

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1069144/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to