Comment 127 for bug 765438

Revision history for this message
Paul (alldev) wrote : Re: On startup, the backlight is off on laptop

Hello.

Friend of mine kept bugging me to look at his problem. He has Gateway NV78 and tried to install ubuntu 12.10. Encountered backlight problem (he thought all was dead).

Tried a few suggestions to no avail. The 'setpci' worked, but did not help after screen-saver/hibernate/etc.

I have not had any real time to spend of this, nor look at source so...
here is a pathetic work-a-round that got him working and not complaining:

file: /etc/rc.local (add):

    if [ -x /lib/init/backlight_workaround ]
    then
        /lib/init/backlight_workaround
    fi

create file '/lib/init/backlight_workaround' and
chmod +x /lib/init/backlight_workaround

put in file: /lib/init/backlight_workaround

    #!/bin/sh
    ( while sleep 1; do /usr/bin/setpci -s '00:02.0' 'F4.B=00'; done & ) &

hope this helps someone else too.
(file name & location used is just an example, but demonstrates the idea).