(The V220 is Logitech's "Cordless Optical Mouse for Notebooks".)
I'm running a fairly recent (pre-release) version of X:
X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu9.2)
Current Operating System: Linux butterfly 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64
Build Date: 13 June 2008 01:10:57AM
I ended up adding a new line (Inputdevice "Logitech V220") to the Section "ServerLayout" in my /etc/X11/xorg.conf, :
Code:
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "Logitech V220"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
EndSection
And a new section:
Code:
Section "InputDevice"
Identifier "Logitech V220"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse"
Option "RelHWHEELOptions" "invert"
EndSection
For more detailed options, try "man evdev" on your Linux distro. Do not confuse the "evdev" driver options with the "mouse" driver options. The drivers seem to silently ignore options that they don't recognize, so you might want to check in your X server log that all the options you specified were actually recognized by the driver. I hope this helps somebody, and maybe something similar will work for other Logitech mice. And hopefully somebody will figure out how to automatically recognize these mice so people don't have to fiddle with their configuration files.