You are not logged in.

#1 2010-06-22 23:12:22

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Trackpoint Scrolling - Hal config broken now, what's the better way?

heya,

I have a Lenovo Thinkpad X200 Tablet, running Arch64.

Recently, I did an update, and it updated both my kernel (to 2.6.34) and Xorg (to 1.8).

Previously, I had the Thinkpad Trackpoint configured to scroll using the middle button and the red trackpoint. From memory, I used the instructions from http://www.thinkwiki.org/wiki/How_to_co … ing_xinput

Anyhow, upon reboot, I noticed that it no longer worked. Whatever method I used to persist the Trackpoint scroll settings before broke. I used the HAL config file approach before (/etc/hal/fdi/policy/mouse-wheel.fdi), so I assume either the kernel or Xorg approach broke this?

I used the manual commands to get it working again:

xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 8 200

The last one seems to give me an error:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  141 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  16
  Current serial number in output stream:  17

But the first two lines seem to be enough to get vertical scrolling working.

Now, of course, I need these new settings to be persistent. I tried installing gpointing-device-settings, and that doesn't seem to persist settings across reboots (and it doesn't seem to work for settings some settings anyway, which is weird. I am running KDE-Mod, not Gnome, but I didn't think that'd affect it).

I'm wondering, what's the recommended way of getting Trackpoint scroll settings to persist across reboots these days?

Cheers,
Victor

Offline

#2 2010-06-23 00:23:08

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: Trackpoint Scrolling - Hal config broken now, what's the better way?

With xorg1.8 now I have a separate config for the trackpoint, like this:

root # cat /etc/X11/xorg.conf.d/10-trackpoint.conf
Section "InputClass"
        Identifier      "Trackpoint Wheel Emulation"
        MatchProduct    "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device"
        MatchDevicePath "/dev/input/event*"
        Option          "EmulateWheel"          "true"
        Option          "EmulateWheelButton"    "2"
        Option          "Emulate3Buttons"       "false"
        Option          "XAxisMapping"          "6 7"
        Option          "YAxisMapping"          "4 5"
EndSection

Offline

#3 2010-06-23 04:50:38

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Re: Trackpoint Scrolling - Hal config broken now, what's the better way?

heya,

takedown: Thanks for that, that worked for me smile.

I tried the Udev rule suggested on that Thinkwiki page (http://www.thinkwiki.org/wiki/How_to_co … TrackPoint), but the xorg.conf.d file did work. I assume this is the recommended way of configuring these sorts of things in Xorg, going forward?

Cheers,
Victor

Offline

#4 2010-06-23 09:01:04

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Trackpoint Scrolling - Hal config broken now, what's the better way?

Read the news please - all this is covered there.

Offline

#5 2010-07-24 11:16:55

puk
Member
Registered: 2010-02-14
Posts: 6

Re: Trackpoint Scrolling - Hal config broken now, what's the better way?

the trackpoint on my t41 doesn't work, too.
yes, i created the config file.

a few lines out of the Xorg.log (the trackpoint has been found in second instance):

[  3491.922] (II) config/udev: Adding input device Logitech USB Trackball (/dev/input/event8)
[  3491.922] (**) Logitech USB Trackball: Applying InputClass "evdev pointer catchall"
[  3491.922] (**) Logitech USB Trackball: Applying InputClass "Logitech Trackball"
[  3491.922] (**) Logitech USB Trackball: always reports core events
[  3491.922] (**) Logitech USB Trackball: Device: "/dev/input/event8"
[  3491.922] (**) Logitech USB Trackball: ButtonMapping '1 8 3 4 5 6 7 2 9'
[  3491.922] (II) Logitech USB Trackball: Found 9 mouse buttons
[  3491.922] (II) Logitech USB Trackball: Found relative axes
[  3491.922] (II) Logitech USB Trackball: Found x and y relative axes
[  3491.922] (II) Logitech USB Trackball: Configuring as mouse
[  3491.922] (**) Option "EmulateWheel" "True"
[  3491.922] (**) Option "EmulateWheelButton" "9"
[  3491.922] (**) Logitech USB Trackball: YAxisMapping: buttons 4 and 5
[  3491.922] (**) Option "XAxisMapping" "6 7"
[  3491.922] (**) Logitech USB Trackball: XAxisMapping: buttons 6 and 7
[  3491.923] (**) Logitech USB Trackball: EmulateWheelButton: 9, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  3491.923] (II) XINPUT: Adding extended input device "Logitech USB Trackball" (type: MOUSE)
[  3491.923] (**) Logitech USB Trackball: (accel) keeping acceleration scheme 1
[  3491.923] (**) Logitech USB Trackball: (accel) acceleration profile 0
[  3491.923] (**) Logitech USB Trackball: (accel) acceleration factor: 2.000
[  3491.923] (**) Logitech USB Trackball: (accel) acceleration threshold: 4
[  3491.923] (II) Logitech USB Trackball: initialized for relative axes.
[  3491.924] (II) config/udev: Adding input device Logitech USB Trackball (/dev/input/mouse2)
[  3491.924] (**) Logitech USB Trackball: Applying InputClass "Logitech Trackball"
[  3491.924] (II) No input driver/identifier specified (ignoring)
[  3491.938] (II) config/udev: Adding input device hdaps (/dev/input/event9)
[  3491.939] (II) No input driver/identifier specified (ignoring)
[  3491.939] (II) config/udev: Adding input device hdaps (/dev/input/js0)
[  3491.939] (II) No input driver/identifier specified (ignoring)
[  3491.940] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  3491.940] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  3491.940] (**) AT Translated Set 2 keyboard: always reports core events
[  3491.940] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[  3491.940] (II) AT Translated Set 2 keyboard: Found keys
[  3491.940] (II) AT Translated Set 2 keyboard: Configuring as keyboard
[  3491.940] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
[  3491.940] (**) Option "xkb_rules" "evdev"
[  3491.941] (**) Option "xkb_model" "evdev"
[  3491.941] (**) Option "xkb_layout" "us"
[  3491.942] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[  3491.942] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[  3491.942] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  3491.942] (**) SynPS/2 Synaptics TouchPad: Device: "/dev/input/event6"
[  3491.942] (II) SynPS/2 Synaptics TouchPad: Found 3 mouse buttons
[  3491.942] (II) SynPS/2 Synaptics TouchPad: Found absolute axes
[  3491.942] (II) SynPS/2 Synaptics TouchPad: Found x and y absolute axes
[  3491.942] (II) SynPS/2 Synaptics TouchPad: Found absolute touchpad.
[  3491.942] (II) SynPS/2 Synaptics TouchPad: Configuring as touchpad
[  3491.942] (**) SynPS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
[  3491.942] (**) SynPS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  3491.943] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
[  3491.943] (II) SynPS/2 Synaptics TouchPad: initialized for absolute axes.
[  3491.943] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[  3491.943] (II) No input driver/identifier specified (ignoring)
[  3491.944] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event7)
[  3491.944] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[  3491.944] (**) TPPS/2 IBM TrackPoint: Applying InputClass "ThinkPad TrackPoint"
[  3491.944] (**) TPPS/2 IBM TrackPoint: Applying InputClass "Trackpoint Wheel Emulation"
[  3491.944] (II) Synaptics touchpad driver version 1.2.2
[  3491.944] (**) Option "Device" "/dev/input/event7"
[  3491.945] (**) Option "TapButton1" "1"
[  3491.945] (**) Option "TapButton2" "2"
[  3491.945] (**) Option "TapButton3" "3"
[  3491.945] (--) TPPS/2 IBM TrackPoint: no supported touchpad found
[  3491.945] (EE) TPPS/2 IBM TrackPoint Unable to query/initialize Synaptics hardware.
[  3491.945] (EE) PreInit failed for input device "TPPS/2 IBM TrackPoint"
[  3491.945] (II) UnloadModule: "synaptics"
[  3491.945] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[  3491.946] (**) TPPS/2 IBM TrackPoint: Applying InputClass "ThinkPad TrackPoint"
[  3491.946] (II) Synaptics touchpad driver version 1.2.2
[  3491.946] (--) TPPS/2 IBM TrackPoint auto-dev sets device to /dev/input/event6
[  3491.946] (**) Option "Device" "/dev/input/event6"
[  3491.946] (II) TPPS/2 IBM TrackPoint: x-axis range 1472 - 5472
[  3491.946] (II) TPPS/2 IBM TrackPoint: y-axis range 1408 - 4448
[  3491.946] (II) TPPS/2 IBM TrackPoint: pressure range 0 - 255
[  3491.946] (II) TPPS/2 IBM TrackPoint: finger width range 0 - 0
[  3491.946] (II) TPPS/2 IBM TrackPoint: buttons: left right double triple
[  3491.947] (**) Option "TapButton1" "1"
[  3491.947] (**) Option "TapButton2" "2"
[  3491.947] (**) Option "TapButton3" "3"
[  3491.947] (--) TPPS/2 IBM TrackPoint: touchpad found
[  3491.947] (**) TPPS/2 IBM TrackPoint: always reports core events
[  3491.947] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: TOUCHPAD)
[  3491.947] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[  3491.947] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[  3491.947] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[  3491.947] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[  3491.948] (--) TPPS/2 IBM TrackPoint: touchpad found

i use gsynaptics, to disable the touchpad. But even, when i enable the touchpad, the trackpoint refuses to move the pointer.

Last edited by puk (2010-07-24 11:19:16)

Offline

#6 2011-05-06 10:56:13

ChrisKempson
Member
Registered: 2011-04-30
Posts: 4

Re: Trackpoint Scrolling - Hal config broken now, what's the better way?

I just got the trackpoint/scroll thing working on my X60s. All I did was edit /etc/X11/xorg.conf.d/10-evdev.conf and add three lines to the existing "InputClass" section with identifier "evdev pointer catchall":

Option "EmulateWheel"        "on"
Option "EmulateWheelTimeOut" "200"
Option "EmulateWheelButton"  "2"

My section ends up looking like this.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "EmulateWheel"        "on"
        Option "EmulateWheelTimeOut" "200"
        Option "EmulateWheelButton"  "2"
EndSection

Offline

Board footer

Powered by FluxBB