You are not logged in.

#1 2011-08-21 10:05:34

Markus00000
Member
Registered: 2011-03-27
Posts: 318

acpid: lm_lid.sh not being invoked when lid closed after boot

I have acpid in my daemons array and this /etc/acpi/actions/lm_lid.sh:

#! /bin/sh

xset dpms force off

test -f /usr/sbin/laptop_mode || exit 0

# lid button pressed/released event handler

/usr/sbin/laptop_mode auto

After booting, closing the lid does exactly nothing. After restarting acpid (# /etc/rc.d/acpid restart), lm_lid.sh is invoked when the lid is closed and my display blanks.

As an ugly workaround I added the restart command as a root cronjob but it still won't work until manually restarting acpid.

Last edited by Markus00000 (2011-08-21 10:06:03)

Offline

Board footer

Powered by FluxBB