Don't know at what level the event is initiated, but acpi does know
whether the ac adapter is connected or not.

> cat /proc/acpi/ac_adapter/ACAD/state 
state:                   on-line

it also knows off-line

On Wed, 2003-07-09 at 21:19, Maxim K. wrote:
> On 9 Jul 2003, Micha Feigin wrote:
> 
> > A am running an acpi enabled kernel and the only events I manage to get
> > from the acpid daemon are the lid and powerbutton events.
> > The main one that interests me is ac event which isn't sent.
> can your BIOS send it ? [i have no idea]
> Maxim.
> 
> > I looked in the kernel source and it seems that it is supposed to be
> > sent.
> >
> > I try catching all events with event=.*
> >
> > I am running an acpi patched 2.5.72 kernel (same problem with 2.4.20 and
> > 2.4.21) on a sony vaio laptop with amd k7
> >
> > thanx
> >
> >
> > =================================================================
> > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
> >
> >


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to