From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Len Brown <lenb@kernel.org>
Cc: "Hanno Böck" <hanno@hboeck.de>,
acpi@linux.intel.com, linux-acpi@vger.kernel.org
Subject: Re: Power button not working on T61
Date: Fri, 10 Oct 2008 19:38:51 -0400 [thread overview]
Message-ID: <200810101938.51573.dmitry.torokhov@gmail.com> (raw)
In-Reply-To: <alpine.LFD.1.10.0810101140310.3131@localhost.localdomain>
On Friday 10 October 2008, Len Brown wrote:
>
> On Fri, 10 Oct 2008, Hanno Böck wrote:
>
> > I have a T61 8859WFJ. thinkpad_acpi module is loaded (kernel is 2.6.27, same
> > was with 2.6.26).
>
> what is the most recent kernel that worked properly?
>
> > When I press the power button, nothing happens and no acpi event is generated.
> >
> > I already posted this on the ibm-acpi-devel list and they told me it's
> > probably a problem in acpi core.
> >
> > My dmesg, if that helps:
> > http://rafb.net/p/EYOHpq12.html
>
> I have a T61 7660-CTO running 2.6.27 and power, lid, sleep seem to be
> working normally.
>
> Try killing acpid an
> # cat /proc/acpi/event
> then press the power button, close/open the lid, and the sleep button
> (Fn-F4 on mine) and see if anything appears.
> the standard acpi button driver should handle power and lid.
> in this case the thinkpad driver handles the sleep hotkey.
>
> see if things work differently when thinkpad_acpi is not
> included in your kernel.
>
> one difference I see is how your devices are registered
> with the input layer:
>
> input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
> ACPI: Power Button (FF) [PWRF]
> input: Lid Switch as
> /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input1
> ACPI: Lid Switch [LID]
> input: Sleep Button (CM) as
> /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2
> ACPI: Sleep Button (CM) [SLPB]
>
>
> Where I see this:
>
> input: Power Button (FF) as /class/input/input0
> ACPI: Power Button (FF) [PWRF]
> PM: Adding info for No Bus:input1
> input: Lid Switch as /class/input/input1
> ACPI: Lid Switch [LID]
> PM: Adding info for No Bus:input2
> input: Sleep Button (CM) as /class/input/input2
> ACPI: Sleep Button (CM) [SLPB]
>
> if you send me your .config, I'll try it out.
>
Len,
You must have CONFIG_SYSFS_DEPRECIATED set, this would explain the
difference in sysfs paths.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-10-10 23:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-10 11:19 Power button not working on T61 Hanno Böck
2008-10-10 15:45 ` Len Brown
2008-10-10 23:38 ` Dmitry Torokhov [this message]
2008-10-11 3:56 ` Len Brown
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=200810101938.51573.dmitry.torokhov@gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=acpi@linux.intel.com \
--cc=hanno@hboeck.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox