This works great with my Compaq Presario 2800 laptop. Two comments:

1) I think this should depend on pciutils.

2) My ACPI setup:

/etc/acpi/events/lid:

event=button/lid
action=/etc/acpi/lid.sh

/etc/acpi/lid.sh:

if grep -q closed /proc/acpi/button/lid/*/state; then
    /usr/sbin/radeontool light off
else
    /usr/sbin/radeontool light on
fi

Seo Sanghyeon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to