You are not logged in.

#1 2011-05-15 05:05:19

zippymorocco
Member
Registered: 2011-05-15
Posts: 17

[Solved] Backlight remains off after resume

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

#2 2011-05-15 14:51:11

cell
Member
Registered: 2007-10-23
Posts: 111

Re: [Solved] Backlight remains off after resume

Have a look at hooks and see if that could do it.
https://wiki.archlinux.org/index.php/Pm … _own_hooks

Offline

#3 2011-05-15 23:07:52

zippymorocco
Member
Registered: 2011-05-15
Posts: 17

Re: [Solved] Backlight remains off after resume

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

#4 2011-05-16 06:05:37

zippymorocco
Member
Registered: 2011-05-15
Posts: 17

Re: [Solved] Backlight remains off after resume

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

Board footer

Powered by FluxBB