Gentoo Archives: gentoo-desktop

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

Replies

Subject Author
[gentoo-desktop] Re: How to set per-device mouse sensitivity : Revisited ! Duncan <1i5t5.duncan@×××.net>