[CentOS] How to get status of notebook lid?

Wed Apr 9 06:33:26 UTC 2008
Olaf Mueller <daily-planet at istari.de>

Kanwar Ranbir Sandhu wrote:


> On Tue, 2008-04-08 at 08:54 +0200, Olaf Mueller wrote:
>> Is there any way to get this status, maybe under /proc/ or by some
>> command?
> Look under /proc/acpi/button/lid/.  On one of my notebooks, this
> works:
/proc/acpi doesn't here exists, acpid is installed. Is my notebook too

# chkconfig --list acpid
acpid           0:off   1:off   2:off   3:on    4:on    5:on    6:off
# service acpid status

Any other ideas?