Thursday, April 30, 2009

Logitech Cordless Mini Optical Mouse
how to make all buttons working

I wanted to use scroll side button of my mouse.
Detected mouse hardware information:

I: Bus=0003 Vendor=046d Product=c50e Version=0111
N: Name="Logitech USB RECEIVER"
P: Phys=usb-0000:00:03.1-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:03.1/usb3/3-2/3-2:1.0/input/input9
U: Uniq=
H: Handlers=mouse1 event9
B: EV=20017
B: KEY=ffff0000 0 0 0 0
B: REL=143
B: MSC=10
B: LED=ff00

just run command below:

echo -e "pointer = 1 2 3 4 5 8 9 6 7 10\n" > ~/.Xmodmap