[ltp] How to use the input interface?

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Tue, 4 Dec 2007 16:15:12 -0200


On Tue, 04 Dec 2007, Evgeni Golov wrote:
> On Tue, 4 Dec 2007 13:08:13 -0200 Henrique de Moraes Holschuh wrote:
> 
> > You might want to try to update to kernel 2.6.24-rc4 with 0.18-20071203 from
> > ibm-acpi.sf.net.  Or even better, whatever is in the latest Linus git tree,
> > with the patches from ibm-acpi.sf.net.
> 
> 2.6.24-rc4 with 0.18-20071203 shows the same behavior.

2.6.22.14 with 0.18-20071203, Debian Etch.  It just works.

I used the "Name" to lock evdev to the proper event device (so, I didn't
have to do any of the more bothersome matches), told it to "SendCoreEvents"
"true", added it to the ServerLayout, and it just worked.

> Hardware is an X31 (BIOS 1QET97WW (3.02), EC 1QHT23WW-1.08) if that
> helps.

That hardware and firmware version is fully supported, there shouldn't be
any problems because of it.

The problem is elsewhere...

Here's the x.org config:
Section "InputDevice"
        Identifier      "ThinkPad hot keys"
        Driver          "evdev"
        Option          "SendCoreEvents"        "true"
        Option          "Name"                  "ThinkPad Extra Buttons"
EndSection

...

Section "ServerLayout"
...
        InputDevice     "ThinkPad hot keys"
...
EndSection

X.org is version 7.1.1, evdev version 1.1.0, ABI XInput 0.6.

-- 
  "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