PDA

View Full Version : [ubuntu] Logitech M505 Wireless Mouse



Al Grant
December 28th, 2010, 03:32 AM
Hi All,

I am trying to get my logitech M505 wireless mouse. Other people have reported it working out of the box - but not me :-(

I am on 10.10 x32 Ubuntu desktop. I have been able to ascertain the following:

1. The hardware works (tested on Win7)
2. I have tried the following instructions:

http://forums.pcpitstop.com/index.php?/topic/191128-new-logitech-m505-laser-mouse-grief/

I have got the following sys info:

DEVICES


I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input2
U: Uniq=
H: Handlers=sysrq kbd event2
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=046d Product=c52b Version=0111
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.0-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input3
U: Uniq=
H: Handlers=sysrq kbd event3
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=1f

I: Bus=0003 Vendor=046d Product=c52b Version=0111
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.0-2/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.1/input/input4
U: Uniq=
H: Handlers=kbd mouse0 event4
B: EV=1f
B: KEY=837fff 2c3027 bf004444 0 0 ffff0001 f84 8b27c000 667bfa d941dfed 9e0000 0 0 0
B: REL=1c3
B: ABS=1 0
B: MSC=10

I: Bus=0003 Vendor=0461 Product=4d22 Version=0111
N: Name="USB Optical Mouse"
P: Phys=usb-0000:00:1d.3-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0/input/input5
U: Uniq=
H: Handlers=mouse1 event5
B: EV=17
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
B: MSC=10



LSUSB


Bus 005 Device 002: ID 0461:4d22 Primax Electronics, Ltd
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


/etc/x11/xorg.conf



# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 256.53 (buildmeister@builder101) Fri Aug 27 21:34:01 PDT 2010


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
# InputDevice "Logitech M505"
EndSection

Section "Files"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Logitech M505″
Driver "evdev"
Option "Dev Name" "Logitech USB Receiver"
#Option "Dev Phys" "usb-0000:00:1d.0-2/input0″
Option "Dev Phys" "usb-0000:00:1d.3-1/input0"
Option "SendCoreEvents"
Option "evBits" "+1-2″
Option "keyBits" "~272-287″
Option "relBits" "~0-2 ~6 ~8″
Option "Pass" "3″
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection



I did a cat/dev/input/mouse0 and /mouse1 (I had two mice attached: the wireless one and a usb one) but there was only output for the wired mouse.

I wanted to try the same trick with the USB receiver but I couldnt work out the dev path to it? /dev/usb?????

Please help!

Thanks

-Al

shahbazi784
December 29th, 2010, 12:49 AM
i just got my M505 in the mail and it worked out of the box on 10.04 Lucid Lynx. havent done a thing, just batteries, off button ---> on, and usb receiver into laptop.

sorry i couldnt help, but is 10.10 stable or still dev?

Al Grant
December 29th, 2010, 11:41 AM
Weird.

Can you post you /x11org.conf and lsusb plus your devices list?

Cheers

-Al

Whkrems
February 19th, 2011, 08:32 PM
got mine working had to push sync button on reciever for mouse sync and again for keyboard sync.

grandpabliss
March 22nd, 2011, 02:46 AM
Thank you, Whkrems. Pushed reset on mouse and it works.

jshayden
January 31st, 2012, 11:24 PM
My M505 has no reset button, and there is no sync button on the receiver. Hmmm.

coredatarecovery
September 13th, 2012, 07:14 PM
This is a physical connection issue in most cases.

If you have a pair of pliers and a q-tip, you can fix this.

Pull most of the head off of a q-tip.
Crimp the end of the q-tip flat with the pliers.

Push the q-tip in and out of the end of the unifying adapter until it stops collecting dirt from the contacts.

This happens most often after being in a humid or salt air environment.

often the device will work ok on other desktop or laptop computers, of if it is pushed in almost all the way.

This fixed the device for me.