Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mouse is detected but the cursor is not moving, M510, Ubuntu 16.04, ID 046d:c52b #353

Closed
Motorrat opened this issue Apr 7, 2017 · 8 comments

Comments

@Motorrat
Copy link

Motorrat commented Apr 7, 2017

GUI widget is working fine, I can pair and unpair the mouse. It is recognized and its battery status is reported when I move it or click a button. However nothing happens afterwards, the cursor is not moiving.
It's a Dell XPS 13 laptop with two USB3 ports.
I have tried to connect the unifying reciever into each port directly, through a USB extention cord, and through a KVMP Switch (that way the receiver-mouse combination works with another Ubuntu 12.10 box and Windows 7 Dell laptop)

What else could I check?

Below is the dmesg snippet

[139069.262159] bluetooth hci0:20 enx9cb6d0da8994: renamed from bnep0
[141236.754407] bluetooth hci0:4 enx9cb6d0da8994: renamed from bnep0
[148798.632871] usb 1-1: new full-speed USB device number 4 using xhci_hcd
[148798.776470] usb 1-1: New USB device found, idVendor=046d, idProduct=c52b
[148798.776476] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[148798.776479] usb 1-1: Product: USB Receiver
[148798.776482] usb 1-1: Manufacturer: Logitech
[148799.318131] usbcore: registered new interface driver usbhid
[148799.318133] usbhid: USB HID core driver
[148799.324190] logitech-djreceiver 0003:046D:C52B.0004: hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-1/input2
[148799.458192] input: Logitech M510 as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:1025.0005/input/input88
@jrbenito
Copy link
Contributor

Hi @Motorrat ,

In fact Solaar does not play any role in regarding mouse movements or clicks, these events are interpreted by kernel drivers.

Please, try to run xev and see if it reports anything about your mouse. Do you have another Unifying device to test against? Also, verify if your system is recognizing the mouse as valid input, as per your dmesg snippet there is nothing wrong at kernel side. It smells like X server not using input88.

Anyway, I have M510 that works out of the box on Ubuntu 16.10 (desktop computer). I just received my new dell laptop yesterday (although not a XPS 13) and will install Linux on it today. I will try my M510 and let you know.

BR,
Benito.

@Motorrat
Copy link
Author

Hi @jrbenito, thanks for the tips!
I have checked and xev doesn't show anything. I have three unified receivers and they all exibit the same behavior.
What exactly could I check about the X server not using input88? Could it be any specific config file? Or is there a log I could check?
Thank you in advance for the guidance here!

@jrbenito
Copy link
Contributor

jrbenito commented Apr 13, 2017

Hi @Motorrat ,

Are you sure this mouse is working? Did you test it on Windows?

Regarding config, I don ´t know, never had this issue before, in the past you have to configure inputs manually to x server but this has gone for years on modern distributions.

points to check:

  1. be sure mouse works
  2. if 1, then test another linux distribution (if possible)
  3. what modules are up? (lsmod) Are logitech ones up? This mouse is handled by hid with no special driver, it shall work on linux as soon as it is recognized.
  4. input88 you mention, is it the mouse for sure?

Finally, I am sorry I could not test it yet on my new laptop. Work got in the way.

BRs

@Motorrat
Copy link
Author

Motorrat commented Apr 13, 2017

Yes, the mouse is definitely OK, is used with the same receiver on Windows.

lsmod|grep logi
hid_logitech_hidpp     28672  0
hid_logitech_dj        20480  0
hid                   114688  5 i2c_hid,usbhid,hid_rmi,hid_logitech_dj,hid_logitech_hidpp

@Motorrat
Copy link
Author

Getting closer to the root cause:

[209096.915] (II) config/udev: Adding input device Logitech M510 (/dev/input/mouse0)
[209096.915] (II) No input driver specified, ignoring this device.
[209096.915] (II) This device may have been added with another device file.
[209096.969] (II) config/udev: Adding input device Logitech M510 (/dev/input/event6)
[209096.969] (**) Logitech M510: Applying InputClass "evdev pointer catchall"
[209096.969] (**) Logitech M510: Applying InputClass "natural scrolling for mouse wheel"
[209096.969] (**) Logitech M510: Applying InputClass "libinput pointer catchall"
[209096.969] (II) Using input driver 'libinput' for 'Logitech M510'
[209096.969] (**) Logitech M510: always reports core events
[209096.969] (**) Option "Device" "/dev/input/mice"
[209096.970] (**) Option "_source" "server/udev"
[209097.036] (II) failed to create input device '/dev/input/mice'.
[209097.036] (EE) libinput: Logitech M510: Failed to create a device for /dev/input/mice
[209097.036] (EE) PreInit returned 2 for "Logitech M510"
[209097.036] (II) UnloadModule: "libinput"

@Motorrat
Copy link
Author

Motorrat commented Apr 15, 2017

The problem was with a unnecessary and erroneous configuration file. All works now with that file removed. https://askubuntu.com/questions/905269/logitech-unified-receiver-mouse-m510-ee-failed-to-load-module-mouse-module/905278#905278

Thank you for your support nevertheless!

@jrbenito
Copy link
Contributor

jrbenito commented Apr 15, 2017 via email

@upalatucci
Copy link

upalatucci commented Jun 24, 2022

Hei guys,
Just writing for people in the future that will encounter the same issue.
Yesterday i had this issue with my logitech mx master mouse and solaar.
Cursor not moving but responsive to right and left clicks.
The real problem was that the thumb button was broken!!
Couldn't hear the thumb button click!! I discover it's a widespread issue in these kinds of mice.
From the OS viewpoint, the button was always down and this have triggered some solaar conditions i think.
Also in windows, I have actions triggered by a combination of thumb button and mouse gesture.

Solution: following one youtube video i've torn down the mouse and slightly unscrewed the two thumb button screws
TLDR: if you have this issue, check also that your thumb button is working properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants