You are not logged in.

#1 2009-05-10 17:59:54

2_Thumbs_Up
Member
Registered: 2009-05-09
Posts: 22

lomoco doesn't recognize my MX518

I posted about my problem in this thread but was adviced to make a new one since that is marked solved. So here we go.

Trakhan wrote:

Well apparently lomoco (or kernel?) doesn't recognize your mouse.

For "lomoco -h" I get this:

002.005: 046d:c01e MX518 Optical Mouse (M-BS81A) Caps: RES 
    Resolution set to 1600 cpi

But why it is I have no idea.

PS. It would be better to create new topic since this one is marked [solved]

Yes, this does seem to be my issue. And while googling right now i also found the following link:

https://bugs.launchpad.net/ubuntu/+sour … bug/214226

I have no /etc/udev/lomoco.rules file but i have a file named 80-lomoco.rules in /etc/udev/rules.d. It seems to be this file that is messing things up for me but I'm still not able to configure it right.
The fix suggested was to change usb_device to usb_endpoint but that just doesn't seem to do it for me. The file currently looks like this for me

ACTION != "add", GOTO="lomoco_end"
SUBSYSTEM != "usb_endpoint", GOTO="lomoco_end"
ATTR{idVendor} != "046d", GOTO="lomoco_end"

# "M-BJ58",  "Wheel Mouse Optical"
ATTRS{idProduct}=="c00e", RUN+="lomoco.sh"
# "M-BJ79",  "MouseMan Traveler"
ATTRS{idProduct}=="c00f", RUN+="lomoco.sh"
# "M-BL63B",  "MouseMan Dual Optical"
ATTRS{idProduct}=="c012", RUN+="lomoco.sh"
# "M-BS81A",  "MX510 Optical Mouse"
ATTRS{idProduct}=="c01d", RUN+="lomoco.sh"
# "M-BS81A",  "MX518 Optical Mouse"
ATTRS{idProduct}=="c01e", RUN+="lomoco.sh"
# "M-BP82",  "MX300 Optical Mouse"
ATTRS{idProduct}=="c024", RUN+="lomoco.sh"
# "M-BP86",  "MX310 Optical Mouse"
ATTRS{idProduct}=="c01b", RUN+="lomoco.sh"
# "M-BP81A",  "MX500 Optical Mouse"
ATTRS{idProduct}=="c025", RUN+="lomoco.sh"
# "M-UT58A",  "iFeel Mouse (silver)"
ATTRS{idProduct}=="c031", RUN+="lomoco.sh"
# "M-UAC113",  "G5 Laser Gaming Mouse"
ATTRS{idProduct}=="c041", RUN+="lomoco.sh"
# "C-BA4-MSE",  "Mouse Receiver"
ATTRS{idProduct}=="c501", RUN+="lomoco.sh"
# "C-UA3-DUAL",  "Dual Receiver"
ATTRS{idProduct}=="c502", RUN+="lomoco.sh"
# "C-UJ16A",  "Receiver for MX900 Receiver"
ATTRS{idProduct}=="c503", RUN+="lomoco.sh"
# "C-BD9-DUAL",  "Receiver for Cordless Freedom Optical"
ATTRS{idProduct}=="c504", RUN+="lomoco.sh"
# "C-BG17-DUAL",  "Receiver for Cordless Elite Duo"
ATTRS{idProduct}=="c505", RUN+="lomoco.sh"
# "C-BF16-MSE",  "Receiver for MX700 Optical Mouse"
ATTRS{idProduct}=="c506", RUN+="lomoco.sh"
# "C-BA4-MSE",  "Receiver for Cordless Optical TrackMan"
ATTRS{idProduct}=="c508", RUN+="lomoco.sh"
# "C-UF15",  "Receiver for Cordless Presenter"
ATTRS{idProduct}=="c702", RUN+="lomoco.sh"
# "C-BQ16A",  "Receiver for diNovo Media Desktop"
ATTRS{idProduct}=="c704", RUN+="lomoco.sh"
# "C-BN34",  "Receiver for MX1000 Laser"
ATTRS{idProduct}=="c50e", RUN+="lomoco.sh"
# "C-BO34",  "Receiver for Cordless Desktop MX3100 Laser"
ATTRS{idProduct}=="c512", RUN+="lomoco.sh"
# "M-BS81A",  "USB-PS/2 Optical Mouse"
ATTRS{idProduct}=="c01e", RUN+="lomoco.sh"

LABEL="lomoco_end"

Anyone with a little more understanding of this that can see if anything is wrong there?

Offline

#2 2009-05-13 05:26:43

blueprint
Member
Registered: 2008-12-04
Posts: 4

Re: lomoco doesn't recognize my MX518

Hi I had this problem a while back where my mx518 mouse was a different revision too. I think Logitech created different revisions of this mouse as it went back into manufacturing due to demand.

In the end i edited the MX518 entry in lomoco.c and replaced "0xc01e" with the value of my mouse "0xc051" prior to building the lomoco package.

Once lomoco recognises your mouse, remember those (+,-) buttons are not recognised with certain resolutions. I think it's 800 cpi, i set mine to 1600.

Edit: You will have to extract lomoco-1.0.tar.gz and make the changes to lomoco-1.0/src/lomoco.c, then tar.gz it back up and adjust the md5sum in the PKGBUILD.

Last edited by blueprint (2009-05-13 06:23:34)

Offline

Board footer

Powered by FluxBB