Trackpoint + clickpad scrollovani

Snazim se nastavit na Thinkpadu T440s scrollovani pomoci trackpointu a prostredniho tlacitka na clickpadu (ten se mi podarilo nastavit, tak ze horni cast je rozdelena na 3 casti, kde kliknuti generuje Button 1/2/3 (leve, stred, prave) jak ma)
Uz se mi ale nedari nastavit scrollovani pomoci trackpointu.
Muzete mi poradit, kde mam v nastaveni chybu? Konfigurace je takovahle:

$ xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech Unifying Device. Wireless PID:101a       id=9    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=14   [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                     id=15   [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)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ Integrated Camera                         id=12   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=13   [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                    id=16   [slave  keyboard (3)]

$ xinput list-props 14
Device 'SynPS/2 Synaptics TouchPad':
        Device Enabled (132):   1
        Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (261):     1
        Device Accel Constant Deceleration (262):       2.500000
        Device Accel Adaptive Deceleration (263):       1.000000
        Device Accel Velocity Scaling (264):    12.500000
        Synaptics Edges (296):  1310, 4826, 2220, 4636
        Synaptics Finger (297): 21, 26, 0
        Synaptics Tap Time (298):       0
        Synaptics Tap Move (299):       218
        Synaptics Tap Durations (300):  180, 180, 100
        Synaptics ClickPad (301):       1
        Synaptics Middle Button Timeout (302):  0
        Synaptics Two-Finger Pressure (303):    282
        Synaptics Two-Finger Width (304):       7
        Synaptics Scrolling Distance (305):     99, 99
        Synaptics Edge Scrolling (306): 0, 0, 0
        Synaptics Two-Finger Scrolling (307):   1, 1
        Synaptics Move Speed (308):     1.000000, 1.750000, 0.040331, 0.000000
        Synaptics Off (309):    0
        Synaptics Locked Drags (310):   0
        Synaptics Locked Drags Timeout (311):   5000
        Synaptics Tap Action (312):     0, 0, 0, 0, 1, 0, 0
        Synaptics Click Action (313):   1, 3, 2
        Synaptics Circular Scrolling (314):     0
        Synaptics Circular Scrolling Distance (315):    0.010000
        Synaptics Circular Scrolling Trigger (316):     0
        Synaptics Circular Pad (317):   0
        Synaptics Palm Detection (318): 0
        Synaptics Palm Dimensions (319):        10, 200
        Synaptics Coasting Speed (320): 0.400000, 50.000000
        Synaptics Pressure Motion (321):        30, 160
        Synaptics Pressure Motion Factor (322): 1.000000, 1.000000
        Synaptics Grab Event Device (323):      1
        Synaptics Gestures (324):       1
        Synaptics Capabilities (325):   1, 0, 0, 1, 1, 1, 1
        Synaptics Pad Resolution (326): 42, 42
        Synaptics Area (327):   0, 0, 2475, 0
        Synaptics Soft Button Areas (328):      3656, 5112, 0, 2475, 2528, 3656, 0, 2475
        Synaptics Secondary Soft Button Areas (329):    3395, 0, 0, 2248, 2740, 3395, 0, 2248
        Synaptics Noise Cancellation (330):     45, 45
        Device Product ID (250):        2, 7
        Device Node (251):      "/dev/input/event4"

$ xinput list-props 15
Device 'TPPS/2 IBM TrackPoint':
        Device Enabled (132):   1
        Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (261):     0
        Device Accel Constant Deceleration (262):       1.000000
        Device Accel Adaptive Deceleration (263):       1.000000
        Device Accel Velocity Scaling (264):    10.000000
        Device Product ID (250):        2, 10
        Device Node (251):      "/dev/input/event18"
        Evdev Axis Inversion (265):     0, 0
        Evdev Axes Swap (267):  0
        Axis Labels (268):      "Rel X" (142), "Rel Y" (143)
        Button Labels (269):    "Button Left" (135), "Button Middle" (136), "Button Right" (137), "Button Wheel Up" (138), "Button Wheel Down" (139)
        Evdev Middle Button Emulation (270):    1
        Evdev Middle Button Timeout (271):      50
        Evdev Third Button Emulation (272):     0
        Evdev Third Button Emulation Timeout (273):     1000
        Evdev Third Button Emulation Button (274):      3
        Evdev Third Button Emulation Threshold (275):   20
        Evdev Wheel Emulation (276):    1
        Evdev Wheel Emulation Axes (277):       0, 0, 4, 5
        Evdev Wheel Emulation Inertia (278):    10
        Evdev Wheel Emulation Timeout (279):    200
        Evdev Wheel Emulation Button (280):     2
        Evdev Drag Lock Buttons (281):  0

Diky.

Cau,
ja jsem to poresil takto:

1) Pridat parametr kernelu k bootu “psmouse.proto=bare”

  • Otevrit /etc/default/grub
  • Upravit GRUB_CMDLINE_LINUX (napr: GRUB_CMDLINE_LINUX="psmouse.proto=bare …)
  • grub2-mkconfig -o /boot/grub2/grub.cfg

2) Vytvoril jsem si /usr/share/X11/xorg.conf.d/11-trackpoint-wheel-emulation.conf

    Section "InputClass"
        Identifier      "Trackpoint Wheel Emulation"
        MatchProduct    "PS/2 Generic Mouse"
        MatchDevicePath "/dev/input/event*"
        Option          "EmulateWheel" "true"
        Option          "EmulateWheelButton" "2"
        Option          "EmulateWheelTimeout" "200" 
        Option          "YAxisMapping" "4 5"
        Option          "XAxisMapping" "6 7"
    EndSection

3) Restart

Neni to uplne optimalni reseni, ale funguje to.

Jeste jsem dnes nasel ze se kolem toho neco deje i v bugzille na freedesktop, kde lidi linkuji i patche, ale jeste jsem nemel cas se na to podivat bliz.

Jestli se k tomu pak dostanu, tak urcite aktualizuju svuj blog post o scrollovani TrackPointem ve Fedore 21