public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: "Rockefeller, Harry" <harryr-UjZhlPPWhclBDgjK7y7TUQ@public.gmane.org>
Cc: ACPI Developers
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: acpid doesn't log all ACPI events
Date: 24 Aug 2004 16:33:46 -0400	[thread overview]
Message-ID: <1093379626.17222.283.camel@dhcppc4> (raw)
In-Reply-To: <B774920D825C2D4880A3C1B0D6EF941801CEEA87-YbQoUGCEyAW+LrQOllSzDQC/G2K4zDHf@public.gmane.org>

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

  parent reply	other threads:[~2004-08-24 20:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2004-08-29 20:58     ` Shreyas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1093379626.17222.283.camel@dhcppc4 \
    --to=len.brown-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=harryr-UjZhlPPWhclBDgjK7y7TUQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox