Gentoo Archives: gentoo-desktop

From: Mickael Chazaux <mickael.chazaux@×××××.com>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] How to set per-device mouse sensitivity : Revisited !
Date: Wed, 21 Apr 2010 18:37:42
Message-Id: s2jbc36f8ed1004211136l23528d0fp44f2149ce63a8d62@mail.gmail.com
1 Hi,
2
3 Again, I hit in the whizzingly fast mouse problem with Xorg. With my
4 previous release of Xorg (1.7.6) I solved this using a hal FDI file.
5 Here is the link fore reference :
6
7 http://www.gossamer-threads.com/lists/gentoo/desktop/207830
8
9 The solution was to merge this XML fragment in HAL :
10
11 <?xml version="1.0" encoding="ISO-8859-1"?>
12 <deviceinfo version="0.2">
13 <device>
14 <match key="info.product" contains="Bluetooth Laser Travel Mouse">
15 <merge key="input.x11_options.ConstantDeceleration" type="string">2</merge>
16 <merge key="input.x11_options.AccelerationProfile" type="string">-1</merge>
17 </match>
18 </device>
19 </deviceinfo>
20
21 in order to set the options ConstantDeceleration and
22 AccelerationProfile to sane values.
23
24 Today I tried Xorg 1.8.0, and I added this content to
25 /etc/X11/xorg.conf.d/10-evdev.conf :
26
27 Section "InputClass"
28 Identifier "My mouse"
29 MatchProduct "Bluetooth Laser Travel Mouse"
30 Option "AccelerationProfile" "-1"
31 Option "ConstantDeceleration" "10"
32 EndSection
33
34 In Xorg log (Xorg -retro -verbose 10 2>log) I see :
35
36 (II) config/udev: Adding input device Bluetooth Laser Travel Mouse
37 (/dev/input/event12)
38 (**) Bluetooth Laser Travel Mouse: Applying InputClass "My mouse"
39 <<<<<<<<<<<
40 (**) Bluetooth Laser Travel Mouse: Applying InputClass "evdev pointer catchall"
41 (**) Bluetooth Laser Travel Mouse: always reports core events
42 (**) Bluetooth Laser Travel Mouse: Device: "/dev/input/event12"
43 (II) Bluetooth Laser Travel Mouse: Found 12 mouse buttons
44 (II) Bluetooth Laser Travel Mouse: Found scroll wheel(s)
45 (II) Bluetooth Laser Travel Mouse: Found relative axes
46 (II) Bluetooth Laser Travel Mouse: Found x and y relative axes
47 (II) Bluetooth Laser Travel Mouse: Configuring as mouse
48 (**) Bluetooth Laser Travel Mouse: YAxisMapping: buttons 4 and 5
49 (**) Bluetooth Laser Travel Mouse: EmulateWheelButton: 4,
50 EmulateWheelInertia: 10, EmulateWheelTimeout: 200
51 (II) XINPUT: Adding extended input device "Bluetooth Laser Travel
52 Mouse" (type: MOUSE)
53 (II) Bluetooth Laser Travel Mouse: initialized for relative axes.
54 (II) config/udev: Adding input device Bluetooth Laser Travel Mouse
55 (/dev/input/mouse2)
56 (**) Bluetooth Laser Travel Mouse: Applying InputClass "My mouse"
57 (EE) No input driver/identifier specified (ignoring)
58
59 So I assume my options are merged in the configuration. But it has no
60 effect. What can be wrong ?
61
62 Regards,
63
64 Mickael

Replies