[ltp] trackpoint middle click scrolling went away
Yves-Alexis Perez
linux-thinkpad@linux-thinkpad.org
Fri, 08 Jan 2010 10:34:21 +0100
Dot Deb a écrit :
> On Wed, Jan 6, 2010 at 8:44 PM, Johannes Lichtenberger
> <Johannes.Lichtenberger@uni-konstanz.de> wrote:
>>> Section "InputDevice"
>>> # generated from default
>>> Identifier "Mouse0"
>>> Driver "mouse"
>>> Option "Protocol" "auto"
>>> Option "Device" "/dev/psaux"
>>>
>>> # trackpoint scrolling
>>> Option "EmulateWheel" "yes"
>>> Option "EmulateWheelButton" "2"
>>> Option "Emulate3Buttons" "yes"
>>>
>>> Option "ZAxisMapping" "4 5"
>>>
>>> EndSection
>>>
>>> Thanks, I am travelling at the moment but will try and report back as
>>> soon as I can. In general I suspect this way of doing it is going to
>>> be deprecated (with udev and/ devicekit configuration replacing these
>>> lines in xorg.conf), or is that wrong?
>> I think it shouldn't even work, if linux uses devkit or HAL, but I also
>> added the following to /etc/hal/fdi/policy/trackpoint.fdi:
>>
>> <?xml version="1.0" encoding="utf-8"?>
>> <deviceinfo version="0.2">
>> <device>
>>
>> <!-- Trackpoint -->
>> <match key="input.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.EmulateWheelTimeout" type="string">200</merge>
>> <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
>> <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
>> </match>
>>
>> </device>
>> </deviceinfo>
>>
>
> I started having the same problem (no scroll with trackpoint) today,
> after upgrading various xorg packages in debian/sid.
> All the settings you described (both in /etc/X11/xorg.conf and in
> /etc/hal/fdi/policy/trackpoint.fdi) are still there, but simply it
> doesn't work anymore.
>
Yes, the xorg in unstable started dropping hal dependency so the .fdi
way is gone (the xorg.conf way was gone some time ago). At the moment
I'm using the xinput way. Currently done manually, but I've added to my
.xsessionrc:
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" 8 1
xinput set-int-prop '"TPPS/2 IBM TrackPoint"' "Evdev Wheel Emulation
Timeout" 16 200
which should work. If I have some more info on how to configure that
more statically, I'll let you know.
Cheers,
--
Yves-Alexis