Hi,

how about a workaround? I cannot write a script at all, but from Google
searches on how to do stuff I created my own workaround:

1) For working brightness buttons after startup and a startup brightness
of 50 % I added the following to the file /etc/rc.local (before the exit
0):

bash -c "echo 0 > /sys/class/backlight/intel_backlight/brightness"
bash -c "echo 50 > /sys/class/backlight/acpi_video0/brightness"

2) For working brightness buttons after a suspend I added a file named

20_Enable_Brightness_setting_keys

to the directory /etc/pm/sleep.d

The file contains:

case "${1}" in
    resume|thaw)

bash -c "echo 0 > /sys/class/backlight/intel_backlight/brightness"
 
;;
esac

I guess this is crude and full of possible errors/problems, but it works
for me for the time being. This way the brightness after a resume is at
the level it was before standby and the brightness keys on the XPS13
work.

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

Title:
  Brightness control broken on XPS13 with 3.8.0-16 and 3.8.0-22

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

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

Reply via email to