[xfree86-4.3.99.902] logitech mx500 and usb protocol...

From: Pawe³ Sikora (spamtrap_at_o2.pl)
Date: 02/12/04


Date: Thu, 12 Feb 2004 22:23:53 +0100

Hi.

I've got a logitech mx500 mouse connected through usb port.
As you known it has ten logical buttons (8 + wheel(=2)).

My current mouse config is:

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/input/mouse0"
    Option "Buttons" "10"
    Option "ZAxisMapping" "6 7"
EndSection

(+ xmodmap -e 'pointer = 1 2 3 6 7 4 5 8 9 10')

Unfortunetly xev reports only seven diffrent events
from ten logical buttons :(

After reading:
http://www.xfree86.org/current/mouse4.html
http://www.xfree86.org/current/mouse6.html#28
I've used: Option "Protocol" "usb", but xserver reports an error:
(EE) Mouse1: unknown protocol "usb"
/Of course I've usb&hid support built in kernel/

I've rebuilt the xserver adding...

cat << EOF >> xc/config/cf/xf86site.def
#define HasLinuxInput           YES
#define UsbMouseSupport         YES
#define HasLibUsb               YES
/*
    define HasLibUsbHid         YES
    define UsbHidLib            -lusbhid
*/
#define HasLibUsbHid            NO
#define UsbHidLib               -lusb
EOF

...but it still doesn't recognize usb protocol.
Could anybody help me?

-- 
If you think of MS-DOS as mono, and Windows as stereo,
  then Linux is Dolby Digital and all the music is free...

Quantcast