public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* acpid doesn't log all ACPI events
@ 2004-08-20 20:22 Rockefeller, Harry
       [not found] ` <B774920D825C2D4880A3C1B0D6EF941801CEEA87-YbQoUGCEyAW+LrQOllSzDQC/G2K4zDHf@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Rockefeller, Harry @ 2004-08-20 20:22 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I am running acpi and kernel 2.6.8.1 and acpid version 1.0.3.

I get ACPI debug messages at the system terminal when I change
my notebook power from AC to battery and vice versa, i.e.,

[ACPI Debug] String: Length 0x09, "AC Change".

Also /proc/acpi/ac_adapter/AC0/state reports the power change
properly.

However, acpid never records ac_adapter events.

FWIW acpid does report all three button events:
button/lid, button/power, and button/sleep.
These also get logged to /var/log/acpid.

I don't know if the ac_adapter event ever reaches
/proc/acpi/event.  If not, I would suspect this to be
an ACPI bug.  If yes, then perhaps it's an acpid
bug, i.e., not getting communicated to /var/log/acpid.

Can anyone explain what is going on?  I'll be happy to
provide more information if needed.

Thanks.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: acpid doesn't log all ACPI events
       [not found] ` <B774920D825C2D4880A3C1B0D6EF941801CEEA87-YbQoUGCEyAW+LrQOllSzDQC/G2K4zDHf@public.gmane.org>
@ 2004-08-24 20:33   ` Len Brown
  2004-08-29 20:58     ` Shreyas
  0 siblings, 1 reply; 3+ messages in thread
From: Len Brown @ 2004-08-24 20:33 UTC (permalink / raw)
  To: Rockefeller, Harry; +Cc: ACPI Developers

On Fri, 2004-08-20 at 16:22, Rockefeller, Harry wrote:
> I am running acpi and kernel 2.6.8.1 and acpid version 1.0.3.
> 
> I get ACPI debug messages at the system terminal when I change
> my notebook power from AC to battery and vice versa, i.e.,
> 
> [ACPI Debug] String: Length 0x09, "AC Change".
> 
> Also /proc/acpi/ac_adapter/AC0/state reports the power change
> properly.
> 
> However, acpid never records ac_adapter events.
> 
> FWIW acpid does report all three button events:
> button/lid, button/power, and button/sleep.
> These also get logged to /var/log/acpid.
> 
> I don't know if the ac_adapter event ever reaches
> /proc/acpi/event.  If not, I would suspect this to be
> an ACPI bug.  If yes, then perhaps it's an acpid
> bug, i.e., not getting communicated to /var/log/acpid.
> 
> Can anyone explain what is going on?  I'll be happy to
> provide more information if needed.
> 
> Thanks.
> 

you mean your system doesn't do this?:

[root@toshiba root]# /etc/init.d/acpid stop
Stopping acpi daemon: [  OK  ]
[root@toshiba root]# cat /proc/acpi/event
battery BAT1 00000080 00000001
ac_adapter ADP1 00000080 00000000
processor CPU0 00000080 00000000
ac_adapter ADP1 00000080 00000001
processor CPU0 00000080 00000000
battery BAT1 00000080 00000001

root@toshiba root]# /etc/init.d/acpid start
Starting acpi daemon: [  OK  ]
[root@toshiba root]# tail /var/log/acpid
[Tue Aug 24 16:32:21 2004] received event "battery BAT1 00000080
00000001"
[Tue Aug 24 16:32:21 2004] completed event "battery BAT1 00000080
00000001"
[Tue Aug 24 16:32:37 2004] received event "battery BAT1 00000080
00000001"
[Tue Aug 24 16:32:37 2004] completed event "battery BAT1 00000080
00000001"
[Tue Aug 24 16:32:40 2004] received event "ac_adapter ADP1 00000080
00000000"
[Tue Aug 24 16:32:40 2004] completed event "ac_adapter ADP1 00000080
00000000"
[Tue Aug 24 16:32:40 2004] received event "processor CPU0 00000080
00000000"
[Tue Aug 24 16:32:40 2004] completed event "processor CPU0 00000080
00000000"
[Tue Aug 24 16:32:48 2004] received event "ac_adapter ADP1 00000080
00000001"
[Tue Aug 24 16:32:48 2004] completed event "ac_adapter ADP1 00000080
00000001"
[Tue Aug 24 16:32:48 2004] received event "processor CPU0 00000080
00000000"
[Tue Aug 24 16:32:48 2004] completed event "processor CPU0 00000080
00000000"
[Tue Aug 24 16:32:54 2004] received event "battery BAT1 00000080
00000001"
[Tue Aug 24 16:32:54 2004] completed event "battery BAT1 00000080
00000001"





-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: acpid doesn't log all ACPI events
  2004-08-24 20:33   ` Len Brown
@ 2004-08-29 20:58     ` Shreyas
  0 siblings, 0 replies; 3+ messages in thread
From: Shreyas @ 2004-08-29 20:58 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Len Brown <len.brown@...> writes:

> 
> On Fri, 2004-08-20 at 16:22, Rockefeller, Harry wrote:
> > I am running acpi and kernel 2.6.8.1 and acpid version 1.0.3.
> > 
> > I get ACPI debug messages at the system terminal when I change
> > my notebook power from AC to battery and vice versa, i.e.,
> > 
> > [ACPI Debug] String: Length 0x09, "AC Change".
> > 
> > Also /proc/acpi/ac_adapter/AC0/state reports the power change
> > properly.
> > 
> > However, acpid never records ac_adapter events.
> > 
> you mean your system doesn't do this?:

<snip>

I have the same problem in Dell Inspiron 5150 running 2.6.7 with acpi patch
(2004-07-17). The acpi events (battery, ac_adapter, lid) are not generated
during normal operation. However, if I enter S1,S3 or S4 the ac_adapter events
are output during the suspend event. It shows up in /var/log/acpid upon resume.  





-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-29 20:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-20 20:22 acpid doesn't log all ACPI events Rockefeller, Harry
     [not found] ` <B774920D825C2D4880A3C1B0D6EF941801CEEA87-YbQoUGCEyAW+LrQOllSzDQC/G2K4zDHf@public.gmane.org>
2004-08-24 20:33   ` Len Brown
2004-08-29 20:58     ` Shreyas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox