Re: How to get status of notebook lid?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
-- 
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 


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux