Henrique de Moraes Holschuh, 10/03/07 23:28:

> On Wed, 03 Oct 2007, Peter Jordan wrote:
>> Henrique de Moraes Holschuh, 10/03/07 19:57:
>>> However, if you make a valid case for me for the reason you need the
>>> thinkpad-specific 0x5001 and 0x5002 events (and keep in mind that you will
>>> STILL get the generic LID events, which could cause things to be triggered
>>> twice, etc), I can remove the code that filters them out.
>> the problem is, that the generic LID events does not show me if lid has
>> been closed or opened, or am i wrong?
> 
> Yes, they do.  Look at the information in the event.  The events have a
> name, a class (0x80 for this), and some information.
> 
> Here are the events in procfs format (what acpid uses):
> 
> button/lid LID 00000080 00000001      - lid closed
> button/lid LID 00000080 00000002      - lid opened
> 

hmmm, my acpid log show me that the last number of the event increases
each time I close or open the lid. that makes the differentiation a bit
difficult.

PJ


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

Reply via email to