Re: 2.6.25-rc2 Regression Thinkpad acpi

From: Arkadiusz Miskiewicz
Date: Thu Mar 13 2008 - 03:31:28 EST


On Wednesday 12 of March 2008, Henrique de Moraes Holschuh wrote:
> On Wed, 12 Mar 2008, Lukas Hejtmanek wrote:
> > On Wed, Mar 12, 2008 at 07:52:41PM +0100, Arkadiusz Miskiewicz wrote:
> > > I'm also seeing regression on my thinkpad z60m where with git tree
> > > (tested again with 2 days old git) "thinkvantage" button stopped
> > > working (pressing it was previously seen by some userspace kde which
> > > run konsole).
> > >
> > > On 2.6.24 presses are seen.
> >
> > well, on 2.6.25-rc4, some keys are not reported as input (xev does not
> > see any key press), some keys are. Is this desired? Or all the keys
> > (fn+f1-12 + volume + backlight + think vantage) should be reported as
> > some input event and thus acpid makes no sense any more?
>
> xev has to get events from somewhere. That somewhere happens to be a buggy
> mess right now (X.org evdev device). Or it is getting it through some
> other middleware, like HAL, which can have its own problems.
>
> If you want to test thinkpad-acpi functionality, get HAL and X.org out of
> the way. The easiest way is to do it in single user mode.

In my thinkpad z60m case. On 2.6.24 kernels pressing "thinkvantage" key is
seen by acpid like this:

Mar 13 08:27:48 tarm acpid: received event "ibm/hotkey HKEY 00000080 00001018"
Mar 13 08:27:48 tarm acpid: notifying client 4071[126:126]
Mar 13 08:27:48 tarm acpid: notifying client 4096[0:0]
Mar 13 08:27:48 tarm acpid: notifying client 4230[0:0]
Mar 13 08:27:48 tarm acpid: completed event "ibm/hotkey HKEY 00000080
00001018"
(this log was done while X was running + some kde apps).

Now under git kernel there is no such event. X has nothing to do with it since
I tested without X running, too.

--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/