You are not logged in.

#1 2010-07-16 04:58:18

sammermpc
Member
Registered: 2010-07-16
Posts: 12

[Solved] Xorg 1.8 / Trackpoint configuration issues.

After upgrading to X.Org X Server 1.8.1.902 (1.8.2 RC 2) on a T400, I've been having a strange issue with scrolling and middle-mouse-button pasting and the new configuration system.

After the initial upgrade, I had no keyboard or trackpoint whatsoever (though the touchpad has always mysteriously worked perfectly) -- after some configuration work, mostly from these forums -- I got most things working:

The problem I still have, though, is that EmulateWheelTimeout seems to have no effect (I think). It's loaded (by default, I believe) -- but all the same, the mouse moves when I scroll, and more annoyingly, on middle-mouse click, everything is pasted twice.

Edit: I though I'd add another piece of oddness that would help people figure out what is going on. When I restart X, I get no keyboard whatsoever, until I send the first mouse click. Then everything works as described.

Edit 2: Setting Option "EmulateWheelTimeout" "1" took care of the double-pasting issue, though the behavior is strange (mouse still moves while scrolling, though less...). I'd be curious what happens with other small values (5, 10, etc.). Anyhow, I'm going to mark this as solved, though I wouldn't say it is.

I've tried a number of different permutations of the configs below, and what's there works well except for this issue:

Here is my xorg.conf.d/20-trackpoint.conf

Section "InputClass"
    Identifier  "Trackpoint Wheel Emulation"
    MatchProduct "TPPS/2 IBM TrackPoint"
    MatchIsPointer "on"
    Driver "evdev"
    Option     "Device" "/dev/input/by-path/platform-i8042-serio-2-event-mouse"http://www.google.com/firefox
    Option     "GrabDevice" "False"
    Option      "EmulateWheel"      "true"
    Option      "EmulateWheelButton"    "2"
    #Option      "EmulateWheelTimeout"   "200"
    Option      "Emulate3Buttons"   "false"
    Option      "XAxisMapping"      "6 7"
    Option      "YAxisMapping"      "4 5"
EndSection

Section "InputClass"
   Identifier      "disabling synaptic second trackpoint found"
   MatchProduct    "TPPS/2 IBM TrackPoint"
   MatchDevicePath "/dev/input/mouse1"
   Option          "Ignore" "on"
EndSection

And here is my Xorg.0.log:

[  5421.714] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event10)
[  5421.714] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad"
[  5421.714] (II) Synaptics touchpad driver version 1.2.2
[  5421.714] (**) Option "Device" "/dev/input/event10"
[  5421.753] (II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
[  5421.753] (II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
[  5421.753] (II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[  5421.753] (II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
[  5421.753] (II) SynPS/2 Synaptics TouchPad: buttons: left right
[  5421.753] (**) Option "SHMConfig" "on"
[  5421.753] (**) Option "EmulateTwoFingerMinZ" "0"
[  5421.753] (**) Option "VertEdgeScroll" "on"
[  5421.753] (**) Option "HorizEdgeScroll" "on"
[  5421.753] (**) Option "VertTwoFingerScroll" "on"
[  5421.753] (**) Option "HorizTwoFingerScroll" "on"
[  5421.753] (**) Option "TapButton1" "1"
[  5421.753] (**) Option "TapButton2" "2"
[  5421.753] (**) Option "TapButton3" "3"
[  5421.753] (**) Option "CircularScrolling" "on"
[  5421.753] (**) Option "CircScrollTrigger" "2"
[  5421.779] (--) SynPS/2 Synaptics TouchPad: touchpad found
[  5421.780] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  5421.793] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
[  5421.793] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[  5421.793] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
[  5421.793] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[  5421.793] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[  5421.819] (--) SynPS/2 Synaptics TouchPad: touchpad found
[  5421.820] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[  5421.820] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "disabling synaptic second mouse found"
[  5421.820] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event11)
[  5421.820] (**) TPPS/2 IBM TrackPoint: Applying InputClass "Trackpoint Wheel Emulation"
[  5421.820] (II) LoadModule: "evdev"
[  5421.820] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  5421.820] (II) Module evdev: vendor="X.Org Foundation"
[  5421.820]    compiled for 1.8.0, module version = 2.4.0
[  5421.820]    Module class: X.Org XInput Driver
[  5421.820]    ABI class: X.Org XInput driver, version 9.0
[  5421.820] (**) TPPS/2 IBM TrackPoint: always reports core events
[  5421.820] (**) TPPS/2 IBM TrackPoint: Device: "/dev/input/by-path/platform-i8042-serio-2-event-mouse"
[  5421.833] (II) TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[  5421.833] (II) TPPS/2 IBM TrackPoint: Found relative axes
[  5421.833] (II) TPPS/2 IBM TrackPoint: Found x and y relative axes
[  5421.833] (II) TPPS/2 IBM TrackPoint: Configuring as mouse
[  5421.833] (**) Option "Emulate3Buttons" "false"
[  5421.833] (II) TPPS/2 IBM TrackPoint: Forcing middle mouse button emulation off.
[  5421.833] (**) Option "EmulateWheel" "true"
[  5421.833] (**) Option "EmulateWheelButton" "2"
[  5421.833] (**) Option "YAxisMapping" "4 5"
[  5421.833] (**) TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[  5421.833] (**) Option "XAxisMapping" "6 7"
[  5421.833] (**) TPPS/2 IBM TrackPoint: XAxisMapping: buttons 6 and 7
[  5421.833] (**) TPPS/2 IBM TrackPoint: EmulateWheelButton: 2, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  5421.833] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE)
[  5421.833] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[  5421.833] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[  5421.833] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[  5421.833] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[  5421.833] (II) TPPS/2 IBM TrackPoint: initialized for relative axes.
[  5421.833] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[  5421.833] (**) TPPS/2 IBM TrackPoint: Ignoring device from InputClass "disabling synaptic second trackpoint found"
[  5421.834] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event4)
[  5421.834] (II) No input driver/identifier specified (ignoring)
[  5424.706] (II) 3rd Button detected: disabling emulate3Button

Last edited by sammermpc (2010-07-16 05:17:53)

Offline

Board footer

Powered by FluxBB