![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Dipped in Ubuntu
![]() |
What is this good for?
This will double your mouse resolution from 400 to 800 cpi to make it more precise. It's very usefull if you spend some time by playing games, working on graphics or you just love moving your mouse around and around... Requirements: * USB bus * Logitech Mouse * Alexios Chouchoulas LMCtl (Download the Debian package attached here to get the support for MX310 and MX510 mice) (Original Debian package available) Notes: * Mouse used in this HOWTO is (or maybe was) the basic USB wheel mouse in the Logitech product line (M-BJ58 Wheel mouse) so I suppose MX series should be supported and working without a glitch. * There's also Logitech Mouse Applet from Brad Hards (more devices supported) but I prefer LMCtl over it. Download and install lmctl_0.3.2_i386.deb. If you use the one attached here you have to Code:
gzip -d lmctl_0.3.2_i386.deb.gz * Basic operations * Scan USB bus for supported Logitech mouse: Code:
[~] > sudo lmctl -s
002.001: 0000:0000 Not a Logitech device
001.002: 046d:c00e Wheel Mouse Optical (M-BJ58) Caps: RES
001.001: 0000:0000 Not a Logitech device
Code:
[~] > sudo lmctl -i
001.002: 046d:c00e Wheel Mouse Optical (M-BJ58) Caps: RES
Resolution (RES): 400 cpi
I want to ask something first. What does CAPS and RES mean? I also have SMS there. CAPS are special capabilities available on your mouse. RES means resolution and SMS means that your mouse is SmartControl ready. Setting up 800 cpi and SmartControl/Cruise control... Note: Setting up SmartControl on this mouse is useless, it's used just for demonstration purposes. Code:
[~] > sudo lmctl -8 --sms
001.002: 046d:c00e Wheel Mouse Optical (M-BJ58) Caps: RES
Resolution set to 800 cpi
[~] > sudo lmctl -i
001.002: 046d:c00e Wheel Mouse Optical (M-BJ58) Caps: RES
Resolution (RES): 800 cpi
I restarted my computer and my mouse is crawling again. How do I start it automagically on boot? There're at least three choices to pick up from. * a script put in /etc/rc.boot which configures the mouse every restart (obsolete) * via hotplug (won't be described here) * via udev which is easier to set up than hotplug (recommended) * Setting the mouse up everytime you plug/unplug the mouse using a udev rule * Check another file attached here - logitech-mice.rules.txt. This udev rule contains support for the following mice: * Wheel Mouse Optical * MouseMan Traveler * MouseMan Dual Optical * MX300 Optical Mouse * MX310 Optical Mouse * MX500 Optical Mouse * MX510 Performance Optical Mouse * iFeel Mouse (silver) Download, rename it to logitech-mice.rules... Code:
[~/downloads] > mv -v logitech-mice.rules.txt logitech-mice.rules `logitech-mice.rules.txt' -> `logitech-mice.rules' /etc/udev/rules.d/ Code:
[~/downloads] > sudo mv -v logitech-mice.rules /etc/udev/rules.d/ `logitech-mice.rules' -> `/etc/udev/rules.d/logitech-mice.rules' Code:
[/etc/udev/rules.d] > ls -l -rw-r--r-- 1 pef pef 716 2004-12-01 00:20 logitech-mice.rules lrwxrwxrwx 1 root root 13 2004-10-05 14:59 udev.rules -> ../udev.rules lrwxr-xr-x 1 root root 12 2004-11-29 13:51 z_hal-plugdev.rules -> ../hal.rules Code:
[/etc/udev/rules.d] > sudo chown root.root logitech-mice.rules Code:
[/etc/udev/rules.d] > ls -l -rw-r--r-- 1 root root 716 2004-12-01 00:20 logitech-mice.rules lrwxrwxrwx 1 root root 13 2004-10-05 14:59 udev.rules -> ../udev.rules lrwxr-xr-x 1 root root 12 2004-11-29 13:51 z_hal-plugdev.rules -> ../hal.rules * Executing on boot using a script This is the obsolete approach. If you replug your mouse the settings will be lost. Use udev way instead. Create a directory /etc/rc.boot ... Code:
sudo mkdir /etc/rc.boot Code:
sudo nano -w /etc/rc.boot/logitech-mouse Quote:
Code:
sudo chmod u+x /etc/rc.boot/logitech-mouse I want my old settings back! How? Delete the /etc/udev/rules.d/logitech-mice.rules or /etc/rc.boot/logitech-mouse file (depends on the configuration you selected - udev or a script) and run... Code:
[~] > sudo lmctl -4 --no-sms
__________________
"Linux is like a wigwam. No Windows, no Gates and Apache inside!" - Unknown RFC 3092 - Etymology of "Foo" Last edited by p!=f; November 30th, 2004 at 08:15 PM.. |
|
|
|
|
|
|
#2 |
|
Quad Shot of Ubuntu
![]() Join Date: Nov 2004
My beans are hidden!
Ubuntu 7.10 Gutsy Gibbon
|
Re: [HOWTO]: USB Logitech mouse and 800 cpi
Along with the thumb button guide, this make my Logitech MX500 function just as it would with the Logitech drivers in Windows.
I'm getting everything I paid for when I bought the mouse. Imagine that.
__________________
Ubuntu Member Kentucky LoCo Team Member Join #ubuntuforums on Freenode! Check Out My Blog |
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() |
Re: [HOWTO]: USB Logitech mouse and 800 cpi
This doesnt work for me. After reboot its back to 400 cpi.
I have doublechecked everything.
__________________
Linux user #373006 ubuntu 6.10 |
|
|
|
|
|
#4 | |
|
Dipped in Ubuntu
![]() |
Re: [HOWTO]: USB Logitech mouse and 800 cpi
Quote:
What's your mouse? Can you get 800 cpi from your mouse just using CLI? Did you really doublecheck everything? Is your startup script executable?
__________________
"Linux is like a wigwam. No Windows, no Gates and Apache inside!" - Unknown RFC 3092 - Etymology of "Foo" |
|
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() |
Re: [HOWTO]: USB Logitech mouse and 800 cpi
Logitech mouseman optical dual.
I can get 800 with sudo lmctl -8 --sms What do you mean with CLI? I did type sudo chmod u+x /etc/rc.boot/logitech-mouse but when i check its doesnt seems to have been executable.... I dont know... -rwxr--r-- Text in logitech-mouse: Code:
[~] > cat /etc/rc.boot/logitech-mouse
#!/bin/sh
echo "Tunning Logitech mouse..."
lmctl -8 --sms
__________________
Linux user #373006 ubuntu 6.10 |
|
|
|
|
|
#6 |
|
Dipped in Ubuntu
![]() |
Re: [HOWTO]: USB Logitech mouse and 800 cpi
CLI stands for Command Line.
-rwxr--r-- = as you can see it has the executable permission given to a user. Can you try to run the script manually? Code:
sudo /etc/rc.boot/logitech-mouse Could you also list /etc/rc.boot directory and post it here? Code:
ls -l /etc/rc.boot Code:
sudo lmctl -i sudo lmctl -s
__________________
"Linux is like a wigwam. No Windows, no Gates and Apache inside!" - Unknown RFC 3092 - Etymology of "Foo" |
|
|
|
|
|
#7 |
|
Quad Shot of Ubuntu
![]() Join Date: Oct 2004
Location: Phoenix
Beans: 436
|
Re: [HOWTO]: USB Logitech mouse and 800 cpi
I downloaded the lmctl.deb package.
root terminal: Code:
dpkg -i lmctl_0.3.2_i386.deb lmctl --help lsusb lmctl -s lmctl -i Code:
# lsusb Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 002: ID 046d:c01d Logitech, Inc. Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 # lmctl -s 004.001: 0000:0000 Not a Logitech device 003.001: 0000:0000 Not a Logitech device 002.002: 046d:c01d Unknown or Unsupported Logitech device 002.001: 0000:0000 Not a Logitech device 001.001: 0000:0000 Not a Logitech device # |
|
|
|
|
|
#8 | |
|
Dipped in Ubuntu
![]() |
Re: [HOWTO]: USB Logitech mouse and 800 cpi
As a description says
Quote:
Code:
sudo lmctl -p c01d -8 --sms
__________________
"Linux is like a wigwam. No Windows, no Gates and Apache inside!" - Unknown RFC 3092 - Etymology of "Foo" |
|
|
|
|
|
|
#9 |
|
Quad Shot of Ubuntu
![]() Join Date: Oct 2004
Location: Phoenix
Beans: 436
|
Re: [HOWTO]: USB Logitech mouse and 800 cpi
that would be
Code:
sudo lmctl -p 046d:c01d -8 --sms The Logitech Applet readme file states that the MX510 & MX500 are both M-BP81A devices. |
|
|
|
|
|
#10 | |
|
Dipped in Ubuntu
![]() |
Re: [HOWTO]: USB Logitech mouse and 800 cpi
Quote:
Code:
sudo lmctl -i
__________________
"Linux is like a wigwam. No Windows, no Gates and Apache inside!" - Unknown RFC 3092 - Etymology of "Foo" |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|