TuxMobil - Linux on Laptops, PDAs and mobile Phones

Microsoft Wireless Notebook Optical Mouse and Linux

mouseThis practical wireless optical mouse features a tiny receiver that plugs into the USB port of your computer when you work, and snaps into the bottom of the mouse for storage. Microsoft claims that new optical technology extends battery life in comparison with other products. Supposedly a single AA battery should be good for about three months. The mouse fits extremely well into my hand and, of course, there is no pesky wire to worry about. The build is solid and likely to last long, the only question is how well is the snap-in receiver going to hold in the bottom of the mouse after numerous removals/insertions.

The mouse is recognized by Linux as USB HID and the usbhid driver is loaded. Detailed information about the device can be found in /proc/bus/usb/device:

T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=045e ProdID=00b9 Rev= 0.17
S: Manufacturer=Microsoft
S: Product=Microsoft USB Wireless Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 50mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms

Both buttons and the scrolling wheel work fine with this X11 configuration snippet from /etc/X11/XF86Config-4:

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"