Lomoco is a small program for some Logitech mice, for configuring resolution and other settings.
Lomoco is available in community:
# pacman -S lomoco
Finding mouse information
To list all lomoco supported mice found on your system:
$ lomoco -s
Here an output as example:
004.002: 046d:c01b MX310 Optical Mouse (M-BP86) Caps: RES 004.001: 1d6b:0001 Not a Logitech device 001.001: 1d6b:0002 Not a Logitech device 002.001: 1d6b:0002 Not a Logitech device 003.001: 1d6b:0001 Not a Logitech device
We found a supported mouse; we know that this mouse supports 800 cpi (this information can be found on the box or on the page dedicated to this mouse on the logitech site) but without configuration its resolution is at 400 cpi, you can see the current settings with:
# lomoco -i
Testing the configuration
Let's set its resolution to 800 cpi with:
# lomoco -8
# lomoco --800
If your mouse support a different resolution or other settings read
$ lomoco --help
for other info.
The mouse is now configured this is ouput of "lomoco -i" after changing cpi.
004.002: 046d:c01b MX310 Optical Mouse (M-BP86) Caps: RES Resolution (RES): 800 cpi USB Mouse Polling Interval: 10ms
Making the configuration persistent, the clean way (recommended)
Just edit /etc/udev/lomoco_mouse.conf with the desired options, here an example for this mouse:
# Possible Resolutions Are: 400 800 1200 1600 2000 LOGITECH_MOUSE_RESOLUTION="800" # SmartScroll/Cruise Control (SMS command set): yes or no #LOGITECH_MOUSE_SMS="no"
Making the configuration persistent, the dirty way
You can just add the desired command in rc.local, in this example: