[ACPI-sppt] I don't recieve the ac/battery event

Micha Feigin <[email protected]>
Newsgroups gmane.linux.acpi.support
Message-ID <[email protected]>
How do I catch the ac/battery event with acpid? (is it even sent).
Its a sony vaio laptop with amd mobile athelon 1500 (1.3 G)

I tried to write a genereal rule to see what events I get and I seem to
only get events only for the power button and lid.

the rule I tried:

event=.*
action=echo "%e" >> acpid.out

The output (including backgroud relevent debug messages recieved from
acpi to show that it actually recognises the events):

<< Here I pull the power line and reconect the power line >>

>> Debug output:

[ACPI Debug] String: ------------------------ _Q20 : test1
[ACPI Debug] Integer: 0000000000000014
[ACPI Debug] String: ------------------------ _Q20 : test2
[ACPI Debug] String: ----------------Notify BATD
[ACPI Debug] Integer: 00000000000010F1
[ACPI Debug] String: ----------------Notify ACAD 0x0000
[ACPI Debug] String: ------------------------ _Q20 : test1
[ACPI Debug] Integer: 0000000000000014
[ACPI Debug] String: ------------------------ _Q20 : test2
[ACPI Debug] String: ----------------Notify BATD
[ACPI Debug] Integer: 0000000000001FE1
[ACPI Debug] String: ----------------Notify ACAD 0x0000

<< Empty output file >>

<< Close and open the lid >>

>> Debug output:

[ACPI Debug] String:  LID  OPEN/CLOSE
[ACPI Debug] String:  LID  OPEN/CLOSE

>> Output file:

button/lid LID 00000080 00000001
button/lid LID 00000080 00000002




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.