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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html