From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Tom Gundersen <teg@jklm.no>
Cc: maciej.rutecki@gmail.com, Natanji <natanji@gmail.com>,
linux-acpi@vger.kernel.org, lenb@kernel.org,
ibm-acpi-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: Regression in thinkpad-acpi events
Date: Tue, 15 Nov 2011 21:03:06 -0200 [thread overview]
Message-ID: <20111115230305.GA23325@khazad-dum.debian.net> (raw)
In-Reply-To: <CAG-2HqVnsmSyHVCvEVf+sZw5NxhR8qSDDB0AtR+igwCCFiwfgQ@mail.gmail.com>
> >> >> This can be observed by using the acpi_listen command. For instance, no
> >> >> ACPI events happen when swiveling the display, and the sleep button
> >> >> returns
> >> >>
> >> >> button/sleep SBTN 00000080 00000000
> >> >>
> >> >> instead of the previous
> >> >>
> >> >> ibm/hotkey HKEY 00000080 00001004
> >> >>
>
> 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
>
> The kernel config can be found here:
> <http://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/linux>.
>
> 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:0x008dffff
> /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 either a
bug in something else, a problematic interaction of the driver with
something else, or a latent thinkpad-acpi bug that some change elsewhere 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, and
not any of the 0x10xx events. Those are driver-specific and deprecated, it
is all explained in Documentation/laptops/thinkpad-acpi.txt. So, it really
might mean that you have something in userspace reading that input device
and synthesizing the ACPI HKEY events thinkpad-acpi deprecated for a long
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...
--
"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
next prev parent reply other threads:[~2011-11-15 23:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-09 18:17 Natanji
2011-11-14 19:31 ` Maciej Rutecki
2011-11-14 19:44 ` Natanji
2011-11-14 20:18 ` Maciej Rutecki
2011-11-15 7:09 ` Tom Gundersen
2011-11-15 23:03 ` Henrique de Moraes Holschuh [this message]
2011-11-24 9:25 ` Tom Gundersen
2011-11-25 0:25 ` Henrique de Moraes Holschuh
2011-11-27 1:23 ` [ibm-acpi-devel] " Henning Schild
2011-11-30 9:22 ` Natanji
2011-11-30 11:15 ` Henrique de Moraes Holschuh
2011-11-30 13:34 ` Natanji
2011-11-14 20:30 ` Henrique de Moraes Holschuh
2011-11-14 21:52 ` Natanji
2011-11-15 2:39 ` Henrique de Moraes Holschuh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111115230305.GA23325@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=ibm-acpi-devel@lists.sourceforge.net \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maciej.rutecki@gmail.com \
--cc=natanji@gmail.com \
--cc=teg@jklm.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome