[CentOS] How to get status of notebook lid?
Kanwar Ranbir Sandhu
m3freak at thesandhufamily.ca
Wed Apr 9 01:11:26 UTC 2008
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:
[ksandhu at krs ~] cat /proc/acpi/button/lid/LID/state
info state
Regards,
Ranbir
--
Kanwar Ranbir Sandhu
Linux 2.6.22.14-72.fc6 i686 GNU/Linux
21:08:42 up 10 days, 50 min, 2 users, load average: 0.58, 0.34, 0.20
More information about the CentOS
mailing list