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@krs ~] cat /proc/acpi/button/lid/LID/state info state
Regards,
Ranbir