Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 311425

Summary: [x11 overlay] x11-base/xorg-server: configuration snipets for udev support
Product: Gentoo Linux Reporter: Manuel Nickschas <sputnick>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Manuel Nickschas 2010-03-26 11:24:48 UTC
Using X11 with the new udev support requires some settings in xorg.conf to tell X11 which driver to load for input devices. Often, it is recommended to put the following in xorg.conf:

Section "InputClass"
        Identifier "default"
        Driver "evdev"

However, this will fail on Thinkpads which have a HDAPS sensor, as X11 will happily configure those as input devices, screwing up mouse pointer handling. You therefore need to explicitly disable them in this case:

Section "InputClass"
        Identifier      "disable HDAPS"
        MatchProduct    "HDAPS"
        Option          "Ignore" "on"

This will make xorg-server >= 1.8 work correctly on thusly equipped Thinkpads.

As an additional hint, you can still enable wheel emulation for the trackpoint:

Section "InputClass"
        Identifier      "Wheel Emulation"
        MatchIsPointer  "on"
        MatchProduct    "TrackPoint"
        Option          "EmulateWheelButton" "2"
        Option          "EmulateWheel" "on"

Having this by default might make users happy who often don't even know about this functionality, or still have it configured via HAL fdi files.

Reproducible: Always
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2010-04-07 21:24:37 UTC

*** This bug has been marked as a duplicate of bug 305371 ***