zLinux‎ > ‎

Thinkpad 13

New Slackware 14.2 version new Lenovo Thinkpad 13 new issues getting the trackpoint working properly..
xinput shows:

bash-4.3# xinput list        
â¡ Virtual core pointer                         id=2    [master pointer  (3)]
â   â³ Virtual core XTEST pointer               id=4    [slave  pointer  (2)]
â   â³ ETPS/2 Elantech Touchpad                 id=12   [slave  pointer  (2)]
â   â³ Elantech PS/2 TrackPoint                 id=13   [slave  pointer  (2)]
⣠Virtual core keyboard                        id=3    [master keyboard (2)]
    â³ Virtual core XTEST keyboard              id=5    [slave  keyboard (3)]
    â³ Power Button                             id=6    [slave  keyboard (3)]
    â³ Video Bus                                id=7    [slave  keyboard (3)]
    â³ Power Button                             id=8    [slave  keyboard (3)]
    â³ Sleep Button                             id=9    [slave  keyboard (3)]
    â³ Integrated Camera                        id=10   [slave  keyboard (3)]
    â³ AT Translated Set 2 keyboard             id=11   [slave  keyboard (3)]
    â³ ThinkPad Extra Buttons                   id=14   [slave  keyboard (3)]
    â³ Speakup                                  id=15   [slave  keyboard (3)]


The Device name has changed on the Thinkpad 13

bash-4.3# xinput list-props 13
Device 'Elantech PS/2 TrackPoint':
        Device Enabled (138):   1
        Coordinate Transformation Matrix (140): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (266):     0
        Device Accel Constant Deceleration (267):       1.000000
        Device Accel Adaptive Deceleration (268):       1.000000
        Device Accel Velocity Scaling (269):    10.000000
        Device Product ID (259):        2, 14
        Device Node (260):      "/dev/input/event8"
        Evdev Axis Inversion (305):     0, 0
        Evdev Axes Swap (307):  0
        Axis Labels (308):      "Rel X" (148), "Rel Y" (149)
        Button Labels (309):    "Button Left" (141), "Button Middle" (142), "Button Right" (143), "Button Wheel Up" (144), "Button Wheel Down" (145), "Button Horiz Wheel Left" (146), "Button Horiz Wheel Right" (147)
        Evdev Scrolling Distance (310): 0, 0, 0
        Evdev Middle Button Emulation (311):    1
        Evdev Middle Button Timeout (312):      50
        Evdev Third Button Emulation (313):     0
        Evdev Third Button Emulation Timeout (314):     1000
        Evdev Third Button Emulation Button (315):      3
        Evdev Third Button Emulation Threshold (316):   20
        Evdev Wheel Emulation (317):    1
        Evdev Wheel Emulation Axes (318):       6, 7, 4, 5
        Evdev Wheel Emulation Inertia (319):    10
        Evdev Wheel Emulation Timeout (320):    200
        Evdev Wheel Emulation Button (321):     2
        Evdev Drag Lock Buttons (322):  0


Device name has changed, that is all, so create/edit the file:
/etc/X11/xorg.conf.d/thinkpad.conf

Looks like this:

--/
Section "InputClass"
    Identifier "Trackpoint Settings"
    MatchProduct "Elantech PS/2 TrackPoint"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "EmulateWheel" "true"
    Option "EmulateWheelButton" "2"
    Option "Emulate3Buttons" "true"
    Option "EmulateWheelInertia"  "10'
    Option "EmulateWheelTimeOut" "200"
    Option "Emulate3Timeout" "50"
    Option "XAxisMapping" "6 7"
    Option "YAxisMapping" "4 5"

# Set up an acceleration config
#    Option   "VelocityScale"           "3"
#    Option   "AccelerationProfile"     "3"
#    Option   "AccelerationNumerator"   "15"
#    Option   "AccelerationDenominator" "3"
#    Option   "ConstantDeceleration"  "1"
#    option   "AdaptiveDeceleration"  "2"

EndSection
--/
Comments