2012-08-17 10:57:55

by Pekka Enberg

[permalink] [raw]
Subject: [PROBLEM] thinkpad_acpi: unhandled HKEY event 0x6040

Hello,

I'm seeing this when I dock a Thinkpad X220 laptop:

[ 3129.616279] thinkpad_acpi: unknown possible thermal alarm or
keyboard event received
[ 3129.616297] thinkpad_acpi: unhandled HKEY event 0x6040
[ 3129.616298] thinkpad_acpi: please report the conditions when this
event happened to [email protected]
[ 3129.616949] thinkpad_acpi: undocked from hotplug port replicator
[ 3129.617065] ACPI: \_SB_.GDCK - undocking
[ 3144.184916] ACPI: \_SB_.GDCK - docking
[ 3144.185204] ACPI: Unable to dock!

and the monitor doesn't come up.

I'm currently running a stock Fedora kernel:

[penberg@tux ~]$ uname -a
Linux tux 3.3.8-1.fc16.x86_64 #1 SMP Mon Jun 4 20:49:02 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux

but looking at drivers/platform/x86/thinkpad_acpi.c in Linus' tree, the event
is not handled there either:

TP_HKEY_EV_UNK_6040 = 0x6040, /* Related to AC change?
some sort of APM hint,
W520 */

Help!

Pekka


Subject: Re: [PROBLEM] thinkpad_acpi: unhandled HKEY event 0x6040

On Fri, 17 Aug 2012, Pekka Enberg wrote:
> [ 3129.616297] thinkpad_acpi: unhandled HKEY event 0x6040
> [ 3129.616298] thinkpad_acpi: please report the conditions when this
> event happened to [email protected]
> [ 3129.616949] thinkpad_acpi: undocked from hotplug port replicator
> [ 3129.617065] ACPI: \_SB_.GDCK - undocking
> [ 3144.184916] ACPI: \_SB_.GDCK - docking
> [ 3144.185204] ACPI: Unable to dock!
>
> and the monitor doesn't come up.

The monitor doesn't come up because of something else, check the GPU drivers
and userspace. And also why the docking failed...

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh

2012-08-17 14:35:08

by Borislav Petkov

[permalink] [raw]
Subject: Re: [PROBLEM] thinkpad_acpi: unhandled HKEY event 0x6040

On Fri, Aug 17, 2012 at 11:17:48AM -0300, Henrique de Moraes Holschuh wrote:
> On Fri, 17 Aug 2012, Pekka Enberg wrote:
> > [ 3129.616297] thinkpad_acpi: unhandled HKEY event 0x6040
> > [ 3129.616298] thinkpad_acpi: please report the conditions when this
> > event happened to [email protected]
> > [ 3129.616949] thinkpad_acpi: undocked from hotplug port replicator
> > [ 3129.617065] ACPI: \_SB_.GDCK - undocking
> > [ 3144.184916] ACPI: \_SB_.GDCK - docking
> > [ 3144.185204] ACPI: Unable to dock!
> >
> > and the monitor doesn't come up.
>
> The monitor doesn't come up because of something else, check the GPU drivers
> and userspace. And also why the docking failed...

Btw, I'm getting a similar thing when I unplug my x121e from AC:

[ 613.517178] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[ 613.533949] thinkpad_acpi: temperatures (Celsius): 60 0 60 0 0 0 32 0
[ 613.536880] thinkpad_acpi: unhandled HKEY event 0x6040
[ 613.539703] thinkpad_acpi: please report the conditions when this event happened to [email protected]

this is when I plug it back:

[ 623.308867] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[ 623.322868] thinkpad_acpi: temperatures (Celsius): 60 0 60 0 0 0 32 0
[ 623.322926] thinkpad_acpi: unhandled HKEY event 0x6040
[ 623.322938] thinkpad_acpi: please report the conditions when this event happened to [email protected]

All with 3.6-rc2 + tip/master.

Thanks.

--
Regards/Gruss,
Boris.