The file is:
~» cat /proc/acpi/button/lid/LID0/state
state:      open

(Notice the LID0 instead of LID).

On 05/25/2012 07:32 AM, Carsten Haitzler (The Rasterman) wrote:
> On Fri, 25 May 2012 07:10:07 +0800 P Purkayastha<[email protected]>  said:
>
>> Thanks. Now, e can at least detect the lid events. Unfortunately, it
>> just detects the events as "Lid Unknown" in both the cases when I close
>> and when I open the lid.
>
> ummm.. no /proc/acpi/button/lib/LID/state file? anything there in /proc/acpi?
> anything in that dir tree at all? if so what? what values? basically it's now
> gettin the event and then when it does immediately checking the lid STATE 
> value
> to see if its opened or closed. if the file is there.. what does it say?
>
>> On 05/21/2012 03:40 PM, Carsten Haitzler (The Rasterman) wrote:
>>> On Thu, 10 May 2012 13:40:47 +0200 "Sebastian Verderber"<[email protected]>
>>> said:
>>>
>>> e catches the event from acpid BUt the event is "malformed". it'd missing
>>> the numeric values i see on every other device i have, and thus it discards
>>> them events/messages. i can make it "robust" and ignore this, but i'd have
>>> to change some internal design i guess. try commit 71268. i've added code
>>> to try handle the different acpi event formats you get.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to