* Power button not working on T61
@ 2008-10-10 11:19 Hanno Böck
2008-10-10 15:45 ` Len Brown
0 siblings, 1 reply; 4+ messages in thread
From: Hanno Böck @ 2008-10-10 11:19 UTC (permalink / raw)
To: acpi; +Cc: linux-acpi
[-- Attachment #1: Type: text/plain, Size: 580 bytes --]
Hi,
I have a T61 8859WFJ. thinkpad_acpi module is loaded (kernel is 2.6.27, same
was with 2.6.26).
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
--
Hanno Böck Blog: http://www.hboeck.de/
GPG: 3DBD3B20 Jabber/Mail: hanno@hboeck.de
http://freiheitstattangst.de/ - 11.10. Berlin gegen Überwachung
http://x1000malquer.de/ - ab 8.11. Atomtransporte stoppen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Power button not working on T61
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
0 siblings, 1 reply; 4+ messages in thread
From: Len Brown @ 2008-10-10 15:45 UTC (permalink / raw)
To: Hanno Böck; +Cc: acpi, linux-acpi
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1680 bytes --]
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.
cheers,
-Len
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Power button not working on T61
2008-10-10 15:45 ` Len Brown
@ 2008-10-10 23:38 ` Dmitry Torokhov
2008-10-11 3:56 ` Len Brown
0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Torokhov @ 2008-10-10 23:38 UTC (permalink / raw)
To: Len Brown; +Cc: Hanno Böck, acpi, linux-acpi
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Power button not working on T61
2008-10-10 23:38 ` Dmitry Torokhov
@ 2008-10-11 3:56 ` Len Brown
0 siblings, 0 replies; 4+ messages in thread
From: Len Brown @ 2008-10-11 3:56 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Hanno Böck, acpi, linux-acpi
> You must have CONFIG_SYSFS_DEPRECIATED set, this would explain the
> difference in sysfs paths.
yes.
turns out that was a red herring, for Hanno reports:
> It never "worked".
>
> The issue is "resolved" now, someone told me that one has to
> press about 2 sec on the button to generate an acpi event.
> This is probably caused by the bios and not fixable outside the bios.
yes, i've noticed that the button has to be held for a bit
(or pressed hard) on the T61. I assume this is an EC thing.
-Len
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-10-11 3:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-10-11 3:56 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox