Based on the info available here and how to set up a script to run
during the startup process and the resume process (from suspend/hiberate
modes), here it goes a work around for this bug:

1) create a script under /etc/init.d by the following command:
sudo gedit /etc/init.d/fix_backlinght

With the content above:
#! /bin/sh
echo "Fixing backlight for Gateway NV78"
setpci -s 00:02.0 F4.B=00
exit 0

2) register the new script so it will be executed during the start up process:
sudo update-rc.d fix_backlight enable 0

3) create a script under /etc/pm/sleep.d/ by the following command:
sudo gedit /etc/pm/sleep.d/10_fix_backlinght

With the content above:
#!/bin/sh
# Fix Gateway NV78 backlight
PATH=/sbin:/usr/sbin:/bin:/usr/bin
if [ ! -x /etc/init.d/fix_backlight ]; then
  exit 0
fi
/etc/init.d/fix_backlight

4) Make sure to make the created scripts executable:
sudo chmod 755 /etc/init.d/fix_backlight;
sudo chmod 755 /etc/pm/sleep.d/10_fix_backlight;

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

Title:
  On startup, the backlight is off on laptop

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to