From: Henrique de Moraes Holschuh Subject: Re: Regression in thinkpad-acpi events Date: Tue, 15 Nov 2011 21:03:06 -0200 Message-ID: <20111115230305.GA23325@khazad-dum.debian.net> References: <4EBAC3B5.5060405@gmail.com> <201111142031.06663.maciej.rutecki@gmail.com> <4EC16F8E.7060601@gmail.com> <201111142118.47256.maciej.rutecki@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from out2.smtp.messagingengine.com ([66.111.4.26]:60758 "EHLO out2.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755545Ab1KOXDO (ORCPT ); Tue, 15 Nov 2011 18:03:14 -0500 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id E935B20BC2 for ; Tue, 15 Nov 2011 18:03:13 -0500 (EST) Content-Disposition: inline In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Tom Gundersen Cc: maciej.rutecki@gmail.com, Natanji , linux-acpi@vger.kernel.org, lenb@kernel.org, ibm-acpi-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org > >> >> This can be observed by using the acpi_listen command. For inst= ance, no > >> >> ACPI events happen when swiveling the display, and the sleep bu= tton > >> >> returns > >> >> > >> >> =A0 =A0button/sleep SBTN 00000080 00000000 > >> >> > >> >> instead of the previous > >> >> > >> >> =A0 =A0ibm/hotkey HKEY 00000080 00001004 > >> >> >=20 > I'm observing the same, also with Arch Linux, and a ThinkPad x60: > # uname -a > Linux x60 3.1.1-1-ARCH #1 SMP PREEMPT Fri Nov 11 22:28:29 CET 2011 > x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux >=20 > The kernel config can be found here: > . >=20 > As requested: > # grep . /sys/bus/platform/devices/thinkpad*/* > /sys/bus/platform/devices/thinkpad_acpi/hotkey_enable:1 > /sys/bus/platform/devices/thinkpad_acpi/hotkey_mask:0x008dffff > /sys/bus/platform/devices/thinkpad_acpi/hotkey_poll_freq:10 > /sys/bus/platform/devices/thinkpad_acpi/hotkey_radio_sw:1 > /sys/bus/platform/devices/thinkpad_acpi/hotkey_recommended_mask:0x008= dffff > /sys/bus/platform/devices/thinkpad_acpi/hotkey_report_mode:1 > /sys/bus/platform/devices/thinkpad_acpi/hotkey_source_mask:0x00000000 Well, the driver has connected to the firmware, and should be working. = And there were no changes to the code from v3.0 to v3.1.1. So, it is eithe= r a bug in something else, a problematic interaction of the driver with something else, or a latent thinkpad-acpi bug that some change elsewher= e has exposed. Are the events reported by acpi_listen from arch-linux exactly the same= in v3.0.9 and v3.1.1 ? I know some events are missing in your v3.1.1, but= I am interested in the ones that do get reported. Although you really should be using the input device for the hotkeys, a= nd not any of the 0x10xx events. Those are driver-specific and deprecated= , it is all explained in Documentation/laptops/thinkpad-acpi.txt. So, it re= ally might mean that you have something in userspace reading that input devi= ce and synthesizing the ACPI HKEY events thinkpad-acpi deprecated for a lo= ng time now. I know some distros did that instead of switching to an input-device-based hotkey daemon. Please check for that possibility, that daemon could be the one having problems with 3.1.1... --=20 "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 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html