You are not logged in.
At first I had no backlight at all until I added "setpci -s 00:02.0 F4.B=0 to /etc/rc.local". Now I still have the problem with the backlight not coming on after suspend/hibernation/lockscreen. I would like to use these features but need to overcome this issue to do so. From my research it seems to be a problem within the kernel.
Is there a way to get "setpci -s 00:02.0 F4.B=0" to run on resume
or
Is there a better Solution?
Thank you.
Last edited by zippymorocco (2011-05-16 06:06:53)
Offline
Have a look at hooks and see if that could do it.
https://wiki.archlinux.org/index.php/Pm … _own_hooks
Offline
I tried adding the code to a hook and chmod +x the file. This doesn't seem to be doing the trick. I followed that link step by step. No luck. Any suggestions?
Thank again.
Offline
Ok I got it with a hook. Thanks Cell.
#!/bin/bash
case "$1" in
thaw|resume)
sudo setpci -s 00:02.0 F4.B=0
;;
*)
;;
esac
exit 0
Offline