Pismo: How to check if the lid is closed.

Henning Brinkmann Henning.Brinkmann at offis.de
Tue Aug 28 17:55:04 EST 2001


Hello all.

I'm trying to write a minimal replacement for pmud that only monitors
the state of the lid and sends my pismo to sleep if the lid is closed.

I found out from pmud's source code how to send it to sleep but I
did not understand how to check if the lid is closed. I also had no
luck searching for documentation about how to do it.

Does anyone have link to some documentation concerning that issue?

Thanks in advance

	Henning

--
Diplom Inform. Henning Brinkmann
OFFIS, Escherweg 2, D-26125 Oldenburg
Phone: +49 441 798 2374
mailto:Henning.Brinkmann at offis.de

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list