Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40

Thread: HOWTO: USB Logitech mouse and 800 cpi with udev

  1. #11
    Join Date
    Oct 2004
    Location
    Phoenix
    Beans
    437

    Re: [HOWTO]: USB Logitech mouse and 800 cpi

    Code:
    #sudo lmctl -i
    002.002: 046d:c01d Unknown or Unsupported Logitech device

  2. #12
    Join Date
    Oct 2004
    Location
    Prague, Czechia
    Beans
    437
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: [HOWTO]: USB Logitech mouse and 800 cpi

    Quote Originally Posted by wallijonn
    that would be
    Code:
    sudo lmctl -p 046d:c01d -8 --sms
    Not really...
    Code:
    [~] > sudo lmctl -p 046d:c00e -8 --sms
    
    [~] > sudo lmctl -p c00e -8 --sms
    001.002: 046d:c00e Wheel Mouse Optical (M-BJ58) Caps: RES
            Resolution set to 800 cpi
    Quote Originally Posted by wallijonn
    The Logitech Applet readme file states that the MX510 & MX500 are both M-BP81A devices.
    There must be the typo.
    MX500 = M-BP81A
    MX510 = M-BS81A

    I've added the support for MX510 and recompiled the package. See attachement.
    Packed with gzip to be able to post it here.
    Hope it helps.
    Last edited by p!=f; December 1st, 2004 at 12:30 AM.
    "Linux is like a wigwam. No Windows, no Gates and Apache inside!" - Unknown

    RFC 3092 - Etymology of "Foo"

  3. #13
    Join Date
    Oct 2004
    Location
    Phoenix
    Beans
    437

    Re: [HOWTO]: USB Logitech mouse and 800 cpi



    Thank you for your recompiled package. I downloaded it, started a Root Terminal, then
    Code:
    # gunzip lmctl_0.3.2_i386.deb.gz
    # sudo dpkg -i lmctl_0.3.2_i386.deb
    # lmctl -i
    
    002.002: 046d:c01d MX510 Performance Optical Mouse (M-BS81A) Caps: RES SMS
            Resolution (RES): 400 cpi
            SmartScroll (SMS): on
    # lmctl -8 --sms
    002.002: 046d:c01d MX510 Performance Optical Mouse (M-BS81A) Caps: RES SMS
            Resolution set to 800 cpi
            SmartScroll enabled
    


    .
    Last edited by wallijonn; November 27th, 2004 at 09:39 PM.

  4. #14
    Join Date
    Nov 2004
    Beans
    21

    Re: [HOWTO]: USB Logitech mouse and 800 cpi

    First off this works so great and i'm loving Ubuntu! I wish i could use Ubuntu for everything.

    Unfortunately, when i reboot the script does not work. I can see something about an "error code 1" as it boots up but, i don't know how to freeze the screen during boot or where the boot log(if any) is located, to get a better look. It's not too hard to use the shell to get it back up but, i would prefer to do this at boot. Any suggestions?

    ps. I'm new to linux.

    all my info:
    Code:
    cat /etc/rc.boot/logitech-mouse
    #! /bin/sh
    echo "Tunning Logitech mouse..."
    lmctl -8 --no-sms
    Code:
    ~ $ sudo /etc/rc.boot/logitech-mouse
    cat /etc/rc.boot/logitech-mouse
    #! /bin/sh
    echo "Tunning Logitech mouse..."
    lmctl -8 --no-sms
    Tunning Logitech mouse...
    001.003: 046d:c01d MX510 Performance Optical Mouse (M-BS81A) Caps: RES SMS
            Resolution set to 800 cpi
            SmartScroll disabled
    Code:
    ~ $ ls -l /etc/rc.boot
    total 4
    -rwxr--r--    1 root     root           94 2004-11-27 19:25 logitech-mouse
    Code:
    ~ $ sudo lmctl -i
    001.003: 046d:c01d MX510 Performance Optical Mouse (M-BS81A) Caps: RES SMS
            Resolution (RES): 800 cpi
            SmartScroll (SMS): off
    Code:
    ~ $ sudo lmctl -s
    005.004: 04b8:0007 Not a Logitech device
    005.001: 0000:0000 Not a Logitech device
    004.001: 0000:0000 Not a Logitech device
    003.003: 04fa:2490 Not a Logitech device
    003.001: 0000:0000 Not a Logitech device
    002.004: 04b8:0005 Not a Logitech device
    002.001: 0000:0000 Not a Logitech device
    001.003: 046d:c01d MX510 Performance Optical Mouse (M-BS81A) Caps: RES SMS
    001.001: 0000:0000 Not a Logitech device

  5. #15
    Join Date
    Oct 2004
    Location
    Phoenix
    Beans
    437

    Re: [HOWTO]: USB Logitech mouse and 800 cpi

    Why did you include lmctl -8 --no-sms?

    Applications -> System Tools -> Root Terminal
    Code:
    # sudo gedit logitech-mouse
    {copy / paste the following into the new window}
    Code:
    
    #!/bin/sh
    echo "Tuning Logitech mouse..."
    lmctl -8 --sms
    {exit /save}
    Code:
    # sudo chmod u+x logitech-mouse
    # sudo mkdir /etc/rc.boot
    # sudo cp logitech-mouse /etc/rc.boot
    # exit
    {reboot}

    The only thing I can think of is that when you created the logitech-mouse shell script you did not include the # in the first line.

    .
    Last edited by wallijonn; December 4th, 2004 at 05:52 PM.

  6. #16
    Join Date
    Oct 2004
    Location
    Prague, Czechia
    Beans
    437
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: [HOWTO]: USB Logitech mouse and 800 cpi

    Quote Originally Posted by BMWolf
    Code:
    cat /etc/rc.boot/logitech-mouse
    #! /bin/sh
    echo "Tunning Logitech mouse..."
    lmctl -8 --no-sms
    #! /bin/sh = wrong syntax. Should be without spaces (#!/bin/sh).
    Also you might want to use --sms parameter to benefit of the SmartScroll/Control.
    "Linux is like a wigwam. No Windows, no Gates and Apache inside!" - Unknown

    RFC 3092 - Etymology of "Foo"

  7. #17
    Join Date
    Nov 2004
    Beans
    21

    Re: [HOWTO]: USB Logitech mouse and 800 cpi

    Hey guys, thanks for the replies!

    I had put a space between the "#!" and "/bin/sh awhile back to see if it would work. i wasn't familiar with shell scripts and when i did a seach someone had pasted "#! /bin/sh", so I thought I'd give it a try. Needless to say, I forgot to change it back. I had put no-sms into the script because I never use those buttons. I was going to map them to something else, like open a terminal or firefox. I know they don't work by default but I thought i'd include it anyway.

    I did figure it out though. I had to remove the "cat /etc/rc.boot/logitech-mouse". I assume it's only use was to print the text within "logitech-mouse" to the screen at boot. so now everything works.

    Thanks a bunch guys! now if i can just get cd burning to work i'll be set.

  8. #18
    Join Date
    Nov 2004
    Beans
    5

    Re: [HOWTO]: USB Logitech mouse and 800 cpi

    MX500 mouse here, this is all I get

    003.001: 0000:0000 Not a Logitech device
    002.001: 0000:0000 Not a Logitech device
    001.003: 03f0:3c02 Not a Logitech device
    001.001: 0000:0000 Not a Logitech device

  9. #19
    Join Date
    Oct 2004
    Location
    Prague, Czechia
    Beans
    437
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: [HOWTO]: USB Logitech mouse and 800 cpi

    Quote Originally Posted by x03
    MX500 mouse here, this is all I get

    003.001: 0000:0000 Not a Logitech device
    002.001: 0000:0000 Not a Logitech device
    001.003: 03f0:3c02 Not a Logitech device
    001.001: 0000:0000 Not a Logitech device
    001.003: 03f0:3c02 Not a Logitech device
    HP printer connected in that port?
    Is your mouse connected to PS/2 port?

    Logitech devices starts with 046d...
    Code:
    [~] > lsusb
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 002: ID 046d:c00e Logitech, Inc. Optical Mouse
    Bus 001 Device 001: ID 0000:0000
    Last edited by p!=f; November 30th, 2004 at 03:03 PM.
    "Linux is like a wigwam. No Windows, no Gates and Apache inside!" - Unknown

    RFC 3092 - Etymology of "Foo"

  10. #20
    Join Date
    Oct 2004
    Location
    Phoenix
    Beans
    437

    Re: [HOWTO]: USB Logitech mouse and 800 cpi

    Quote Originally Posted by BMWolf
    I had to remove the "cat /etc/rc.boot/logitech-mouse".
    That's why I put my code up, so that people can just copy / paste. Yeah, it threw me the first time I saw the original code. Glad you got it going. Yeah, I cleaned mine up, just in case... Someone is bound to ask me whether they should include the "#" in the script files... which is why I use multi-colours.

    btw, p!=f did a great job. I appreciated his write-up on how to set it up so that it runs at boot-up time as much as the script itself.

    .
    Last edited by wallijonn; November 30th, 2004 at 07:31 PM.

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •