Bug 15000
Summary: | Thinkpad dock button no longer works | ||
---|---|---|---|
Product: | ACPI | Reporter: | Paul Martin (pm) |
Component: | Config-Hotplug | Assignee: | Shaohua (shaohua.li) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | acpi-bugzilla, chris.mason, lenb, rjw, rui.zhang, shaohua.li |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.33-rc3-00037-g67e85b0 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 14230 | ||
Attachments: |
ACPI dump of Thinkpad T41
Chris Mason's patch |
Description
Paul Martin
2010-01-07 02:11:50 UTC
The event is: KERNEL[1262830399.911051] change /devices/platform/dock.0 (platform) UDEV_LOG=3 ACTION=change DEVPATH=/devices/platform/dock.0 SUBSYSTEM=platform EVENT=undock MODALIAS=platform:dock SEQNUM=1223 This is the same event generated when the button is pressed, or when 1 is sent to /sys/devices/platform/dock.0/undock whether or not the laptop is docked. (This is why trapping it in udev would cause an infinite loop.) is the behavior changed in recent kernel? I thought we can check the /sys/devices/platform/dock.0/docked file in udev script and does something according to if the dock is present. The behaviour has changed. In 2.6.31, the kernel needs no assistance from udev. can you post the acpidump output? Let's check why there is extra event. ping Paul.... The regression appears to be from 2.6.31. Also, Paul, please respond or we'll have to close the bug due to the lack of reporter activity. Created attachment 24719 [details]
ACPI dump of Thinkpad T41
Sorry for the delay. Please note that the laptop is a T41 not a T42. (Why I got it wrong when the model number is printed just under the LCD, I haven't a clue.) On Monday 01 February 2010, Paul Martin wrote:
> On Mon, Feb 01, 2010 at 01:43:18AM +0100, Rafael J. Wysocki wrote:
> > This message has been generated automatically as a part of a report
> > of regressions introduced between 2.6.31 and 2.6.32.
> >
> > The following bug entry is on the current list of known regressions
> > introduced between 2.6.31 and 2.6.32. Please verify if it still should
> > be listed and let me know (either way).
> >
> >
> > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15000
> > Subject : Thinkpad dock button no longer works
> > Submitter : Paul Martin <pm@debian.org>
> > Date : 2010-01-07 02:11 (25 days old)
>
> Yes, the bug still exists in 2.6.33-rc6.
This patch may be related, but wait until Len or someone who knows what ACPI stands for can verify it as correct. http://lkml.org/lkml/2010/2/1/204 I'll have a look at that, but in the meantime: Paul, any chance to test if the Chris' patch above helps? Created attachment 24852 [details]
Chris Mason's patch
I can confirm I've tested this patch, and it does fix this docking bug.
Handled-By : Chris Mason <chris.mason@oracle.com> Patch : http://patchwork.kernel.org/patch/76110/ Alex Chiang's version of Chris' patch is in the acpi tree. Alex Chiang's version of Chris' patch is in the acpi tree. http://patchwork.kernel.org/patch/76123/ shipped in linux-2.6.33-rc8-git4 this was a 2.6.33-rc regression, and is thus not needed in 2.6.32.stable closed |