Power button not working on T61
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
Signature · 5 lines
Hanno Böck Blog: http://www.hboeck.de/ GPG: 3DBD3B20 Jabber/Mail: [email protected] http://freiheitstattangst.de/ - 11.10. Berlin gegen Überwachung http://x1000malquer.de/ - ab 8.11. Atomtransporte stoppen
Len Brown
reviewerQuoted 2 lines · Hanno Böck
I have a T61 8859WFJ.
thinkpad_acpimodule is loaded (kernel is 2.6.27, same was with 2.6.26).
what is the most recent kernel that worked properly?
Quoted 7 lines
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
Quoted 53 lines · Len Brown
Quoted 2 lines · Hanno Böck
I have a T61 8859WFJ.
thinkpad_acpimodule is loaded (kernel is 2.6.27, same was with 2.6.26).what is the most recent kernel that worked properly?
Quoted 7 lines
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.htmlI 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_acpiis 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]
Quoted 2 lines
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.
Signature · 5 lines
Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Len Brown
reviewerQuoted 4 lines
You must have
CONFIG_SYSFS_DEPRECIATEDset, this would explain the difference in sysfs paths.
yes.
turns out that was a red herring, for Hanno reports:
Quoted 5 lines
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