From: Andrew Morton <akpm@linux-foundation.org>
To: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org
Subject: Re: breakage in current git-acpi
Date: Fri, 16 Feb 2007 23:49:48 -0800 [thread overview]
Message-ID: <20070216234948.6bf2ed82.akpm@linux-foundation.org> (raw)
In-Reply-To: <200702170225.07774.lenb@kernel.org>
On Sat, 17 Feb 2007 02:25:07 -0500 Len Brown <lenb@kernel.org> wrote:
> On Saturday 17 February 2007 01:39, Andrew Morton wrote:
> >
> > Standard FC5 RH install, it is set up to suspend to disk when I close the
> > lid.
> >
> > With git-acpi.patch applied, this just stops working on the second or third
> > attempt. It's like acpid just didn't see the lid close at all. Closing
> > the lid causes no kernel messages at all.
> >
> > Any suggestions as to how to debug this, apart from git-bisect, which will
> > take rather a long time?
>
> nuke kacpid
I hope you meant acpid - I can't kill a kernel thread ;)
> and cat /proc/acpi/event
> click the lid a bunch of times
sony:/home/akpm# cat /proc/acpi/event
button/lid LID0 00000080 00000005
button/lid LID0 00000080 00000006
button/lid LID0 00000080 00000007
button/lid LID0 00000080 00000008
> and also the power button
button/power PWRB 00000080 00000001
button/power PWRB 00000080 00000002
button/power PWRB 00000080 00000003
button/power PWRB 00000080 00000004
> you should see the acpi line in /proc/interrupts tick each time,
> and a message come out of /proc/acpi/event
yup.
9: 1344 IO-APIC-fasteoi acpi
it's increasing even while the machine is just sitting there.
> Also, you should be able to see the state of the lid in a file under /proc/acpi/button/*/
sony:/home/akpm# cat /proc/acpi/button/lid/LID0/state
state: closed
sony:/home/akpm# cat /proc/acpi/button/lid/LID0/state
state: open
all seems well.
Stopping and restarting acpid doesn't fix it.
next prev parent reply other threads:[~2007-02-17 7:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-17 6:39 breakage in current git-acpi Andrew Morton
2007-02-17 7:25 ` Len Brown
2007-02-17 7:49 ` Andrew Morton [this message]
2007-02-18 2:59 ` Len Brown
2007-02-18 3:07 ` Andrew Morton
2007-02-25 8:54 ` Andrew Morton
2007-02-25 14:20 ` Alexey Starikovskiy
2007-02-25 14:44 ` Alexey Starikovskiy
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=20070216234948.6bf2ed82.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.