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;
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: d/fix_backlingh t
sudo gedit /etc/init.
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: sleep.d/ 10_fix_ backlinght
sudo gedit /etc/pm/
With the content above: /usr/sbin: /bin:/usr/ bin d/fix_backlight ]; then d/fix_backlight
#!/bin/sh
# Fix Gateway NV78 backlight
PATH=/sbin:
if [ ! -x /etc/init.
exit 0
fi
/etc/init.
4) Make sure to make the created scripts executable: d/fix_backlight ; sleep.d/ 10_fix_ backlight;
sudo chmod 755 /etc/init.
sudo chmod 755 /etc/pm/