[ltp] Checking status of lid on x30

Wolfgang Karall linux-thinkpad@linux-thinkpad.org
Thu, 20 Oct 2005 14:57:56 +0200


On Thu, Oct 20, 2005 at 01:15:57PM +0200, Alex Polite wrote:
> I need to check the status (open or closed) of the lid on my X30.
> 
> How is it done?

Using acpi, see /proc/acpi/button/lid/LID/state

Regards
WK