Hi all,

For a different issue related to usb3 I upgraded from 12.04 to 13.04
yesterday and noticed the backlight issue. I don't have a solution but
an OK workaround based on Calvin Li's suggestion.

First, in order to run his command at startup, I added it to
/etc/rc.local. Complete file is at the end of the message.

Then I added a script to /etc/pm/sleep.d/90_intel_backlight_workaround
so that the backlight stays the same after a suspend/resume cycle. See
file below. Make sure the file is executable (mode 755).

I tested it briefly for fresh boot, sleep, resume and it seems to work.
I did not test hibernate/thaw, as I don't use it very much. My laptop is
XPS13 non-HD windows version. bios version is A03 (probably need to
update).

best,
batu
--
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

echo 0 > /sys/class/backlight/intel_backlight/brightness

exit 0
--

#!/bin/sh
#this is: /etc/pm/sleep.d/90_intel_backlight_workaround

# Arguments can be:
#    "suspend suspend"
#    "resume suspend"
#    "thaw hibernate"

case "$1" in
        "resume" )
                echo 0 > /sys/class/backlight/intel_backlight/brightness
                cp /run/intel_backlight_workaround 
/sys/class/backlight/acpi_video0/brightness
        ;;
        "suspend" )
                cp /sys/class/backlight/acpi_video0/brightness 
/run/intel_backlight_workaround
        ;;
esac

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

Title:
  XPS13 backlight stopped working after update 3.8.0-18.28

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1169376/+subscriptions

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

Reply via email to