How to set per-device mouse sensitivity : Revisited !

Mickael Chazaux <[email protected]>
Newsgroups gmane.linux.gentoo.desktop
Message-ID <[email protected]>
Hi,

Again, I hit in the whizzingly fast mouse problem with Xorg. With my
previous release of Xorg (1.7.6) I solved this using a hal FDI file.
Here is the link fore reference :

http://www.gossamer-threads.com/lists/gentoo/desktop/207830

The solution was to merge this XML fragment in HAL :

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.product" contains="Bluetooth Laser Travel Mouse">
<merge key="input.x11_options.ConstantDeceleration" type="string">2</merge>
<merge key="input.x11_options.AccelerationProfile" type="string">-1</merge>
</match>
</device>
</deviceinfo>

in order to set the options ConstantDeceleration and
AccelerationProfile to sane values.

Today I tried Xorg 1.8.0, and I added this content to
/etc/X11/xorg.conf.d/10-evdev.conf :

Section "InputClass"
        Identifier "My mouse"
        MatchProduct "Bluetooth Laser Travel Mouse"
        Option "AccelerationProfile" "-1"
        Option "ConstantDeceleration" "10"
EndSection

In Xorg log (Xorg -retro -verbose 10 2>log) I see :

(II) config/udev: Adding input device Bluetooth Laser Travel Mouse
(/dev/input/event12)
(**) Bluetooth Laser Travel Mouse: Applying InputClass "My mouse"
                 <<<<<<<<<<<
(**) Bluetooth Laser Travel Mouse: Applying InputClass "evdev pointer catchall"
(**) Bluetooth Laser Travel Mouse: always reports core events
(**) Bluetooth Laser Travel Mouse: Device: "/dev/input/event12"
(II) Bluetooth Laser Travel Mouse: Found 12 mouse buttons
(II) Bluetooth Laser Travel Mouse: Found scroll wheel(s)
(II) Bluetooth Laser Travel Mouse: Found relative axes
(II) Bluetooth Laser Travel Mouse: Found x and y relative axes
(II) Bluetooth Laser Travel Mouse: Configuring as mouse
(**) Bluetooth Laser Travel Mouse: YAxisMapping: buttons 4 and 5
(**) Bluetooth Laser Travel Mouse: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Bluetooth Laser Travel
Mouse" (type: MOUSE)
(II) Bluetooth Laser Travel Mouse: initialized for relative axes.
(II) config/udev: Adding input device Bluetooth Laser Travel Mouse
(/dev/input/mouse2)
(**) Bluetooth Laser Travel Mouse: Applying InputClass "My mouse"
(EE) No input driver/identifier specified (ignoring)

So I assume my options are merged in the configuration. But it has no
effect. What can be wrong ?

Regards,

Mickael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.