X forcing WheelEmulation

Matija Šuklje matija.suklje at rutka.net
Sat Nov 22 14:28:18 PST 2008


Hullo,

since today I've noticed that my external mouse has started behaving oddly. 
Namely the movement (and less often the HWheel) started to just not work from 
in random intervals. But on the other hand all (other) buttons and the VWheel 
work normally all the time.

I noticed that for some reason X enables the WheelEmulation. So I changed 
my .fdi to look like this:
--[start]--
<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
        <device>
                <match key="info.capabilities" contains="input.mouse">
                <match key="info.product" contains="Logitech USB Receiver">
                        <merge key="input.x11_driver" 
type="string">evdev</merge>
                        <merge key="input.x11_options.ButtonMapping" 
type="string">1 0 3 4 5 6 7 8 2</merge>
                        <merge key="input.x11_options.EmulateWheel" 
type="string">false</merge>
                </match>
                </match>
        </device>
</deviceinfo>
--[stop]--

Now this is what I get from Xorg.0.log:
--[start]--
EE) Logitech USB Receiver: Read error: No such device
(II) config/hal: removing device Logitech USB Receiver
(II) Logitech USB Receiver: Close
(II) UnloadModule: "evdev"
(EE) Logitech USB Receiver: Read error: No such device
(II) config/hal: removing device Logitech USB Receiver
(II) Logitech USB Receiver: Close
(II) UnloadModule: "evdev"
(II) config/hal: Adding input device Logitech USB Receiver
(**) Logitech USB Receiver: always reports core events
(**) Logitech USB Receiver: Device: "/dev/input/event4"
(**) Logitech USB Receiver: ButtonMapping '1 0 3 4 5 6 7 8 2'
(II) Logitech USB Receiver: Found 16 mouse buttons
(II) Logitech USB Receiver: Found x and y relative axes
(II) Logitech USB Receiver: Configuring as mouse
(**) Option "EmulateWheel" "false"
(**) Logitech USB Receiver: YAxisMapping: buttons 4 and 5
(**) Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, 
EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: 
MOUSE)
(WW) config/hal: device Logitech USB Receiver already added. Ignoring.
--[stop]--


System:
xorg-server 1.5.3 (with the keyboard patch)
evdev 2.1

Cheers,
Matija
-- 
gsm: +386 41 849 552
e-mail: matija.suklje at rutka.net
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: matija.suklje at gabbler.org
msn: matija.suklje at rutka.net
yahoo: matija_suklje
GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.x.org/archives/xorg/attachments/20081122/33248686/attachment.pgp>


More information about the xorg mailing list