Thinkpad X200 Trackpoint

Os dejo un problema que me he encontrado con la ultima actualización, se ve que desde xorg estan haciendo ultimamente muchas modificaciones y las configuraciones por hal o por udev pueden ser ignoradas, así que os dejo un poco la problematica, las formas posibles de configurar el trackpoint y finalmente la solución al problema en debian squeeze.


Hi guys!
I’m really confused with this topic… before an update my trackpoint scrolling worked well, I simply had to add a rule on udev:

[/etc/hal/fdi/policy/mouse-wheel.fdi]
< match key="info.product" string="TPPS/2 IBM TrackPoint">
< merge key="input.x11_options.EmulateWheel" type="string">true< /merge>
< merge key="input.x11_options.EmulateWheelButton" type="string">2< /merge>
< merge key="input.x11_options.YAxisMapping" type="string">4 5< /merge>
< merge key="input.x11_options.XAxisMapping" type="string">6 7< /merge>
< merge key="input.x11_options.Emulate3Buttons" type="string">true< /merge>
< merge key="input.x11_options.EmulateWheelTimeout" type="string">200< /merge>
< /match>

I supposed that in update maybe that will be deprecated and simply delete this entry (backed up to an other directory) and rebooted, then I saw that it still don’t worked, so then I started to search.

http://www.thinkwiki.org/wiki/How_to_co … TrackPoint

So then I configured trackpoint through hal:

[/etc/hal/fdi/policy/mouse-wheel.fdi]
< match key="info.product" string="TPPS/2 IBM TrackPoint">
< merge key="input.x11_options.EmulateWheel" type="string">true< /merge>
< merge key="input.x11_options.EmulateWheelButton" type="string">2< /merge>
< merge key="input.x11_options.YAxisMapping" type="string">4 5< /merge>
< merge key="input.x11_options.XAxisMapping" type="string">6 7< /merge>
< merge key="input.x11_options.Emulate3Buttons" type="string">true< /merge>
< merge key="input.x11_options.EmulateWheelTimeout" type="string">200< /merge>
< /match>

rebooted (with udev and without udev rules) and still not worked.

so then I tried xinput, what it shows, but simply xinput don’t see trackpoint (it is working, but the most important, the scrolling is not working)

#  xinput set-prop '"IBM Enhanced (101/102-key, PS/2 mouse support)"'  "Evdev Wheel Emulation Axes" 6 7 4 5
unable to find device "IBM  Enhanced (101/102-key, PS/2 mouse support)"
# xinput set-prop  '"TPPS/2 IBM TrackPoint"' "Evdev Wheel Emulation Axes" 6 7 4 5
unable  to find device "TPPS/2 IBM TrackPoint"
# xinput set-prop '"PS/2  Generic Mouse"' "Evdev Wheel Emulation Axes" 6 7 4 5
unable to find  device "PS/2 Generic Mouse"

in each change I tried first to reboot x, and then reboot the computer with no chance.

so then I thought this was caused for a changing on xorg or hal and goes to seach for trackpoint configs on kernel, I compiled by hand 2.6.33.2 kernel, with also no chance.

gpointed also don’t shows the trackpoint as it shows in this image:
http://www.thinkwiki.org/wiki/How_to_co … sing_Gnome

I try to configure mouse emulation (it only appears the one with a mouse), but each time I reboot the config resets, and rebooting x, also don’t works.

I don’t know where to see, it is a little bit stressing use a thinkpad x200s without trackpoint scrolling.

Does anyone had the same problem? how do you solved?

Thanks you much

Minutos mas tarde….

well, finally I could make work it.

I didn’t know that new versions of xorg also takes the info of xorg.conf file, unless it don’t exist.

1. I create a new file called /etc/X11/xorg.conf with this content:

Section "InputClass"
Identifier      "Trackpoint  Wheel Emulation"
MatchProduct    "TPPS/2 IBM  TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad /  TrackPoint"
MatchDevicePath "/dev/input/event*"
Option          "EmulateWheel"          "true"
Option           "EmulateWheelButton"    "2"
Option           "Emulate3Buttons"       "false"
Option           "XAxisMapping"          "6 7"
Option          "YAxisMapping"           "4 5"
EndSection

2. restart x

and now it is working.

vía: forum.thinkpads.com

Nota: no es lo mismo InputDevice y InputClass, así que si tenemos un viejo fichero de xorg quizás no funcionará.

En debian wheezy (8)

# vi /usr/share/X11/xorg.conf.d/20-thinkpad.conf
Section "InputClass"
     Identifier "Trackpoint Wheel Emulation"
     MatchProduct       "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|ThinkPad Compact 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

Deixa un comentari

L'adreça electrònica no es publicarà. Els camps necessaris estan marcats amb *

Aquest lloc utilitza Akismet per reduir els comentaris brossa. Apreneu com es processen les dades dels comentaris.