Mx510
From Gentoo Linux Wiki
[edit] Logitech MX510, Modular Xorg and evdev
This works with Logitech MX510 and MX518. The mouse must be connected via USB, not PS/2. MX518 is practically the same mouse as MX510, just with few upgrades.
| File: /etc/X11/xorg.conf |
Section "InputDevice" Identifier "Mouse1" Driver "evdev" Option "Device" "/dev/input/event1" # cat /proc/bus/input/devices - look up the handler EndSection |
And:
$ xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32"
If you want a system-wide scroll-wheel and other buttons to work do:
$ echo "pointer = 1 2 3 4 5 8 9 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32" >> /etc/X11/Xmodmap
For MX518 (USE the InputDevice section of mx510):
With MX518 it is:
$ xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7 10 11"
And with MX518:
$ echo "pointer = 1 2 3 4 5 8 9 6 7 10 11" >> /etc/X11/Xmodmap
[edit] PS/2 MX518
Here's a method working fine with a MX518 plugged in via PS/2. You do not need to call or modify xmodmap using this method
| File: /etc/X11/xorg.conf |
Section "InputDevice" Driver "mouse" Identifier "Mouse0" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" #Option "Resolution" "800" #optional Option "Buttons" "10" Option "ZAxisMapping" "4 5" Option "ButtonMapping" "1 2 3 6 7" EndSection |
