Mouse is dead; a second time around

Hi guys

I had a Verbatim small mouse - USB connected. It did work fine for 6 months. After an update and reboot, the mouse light is on and everything seems OK... but the doesn't move and nothing scrolls.

So I bought another one.... six months ago. Now same thing after an update and reboot.

Is there a way to fiddle with the mouse config ? or can you send me links toward similar cases and solutions?

...and yes. I tried both mouses on another computer. They work fine.

Thanks you all

W

Hi

  1. Are you able to boot up with the older kernel and report if mouse now works?

  2. run and post the results of (with old and new kernel)
    $ dmesg | grep Mouse

Did you change anything in your bios for this PC such as
disable legacy usb devices?

[ 2.524857] usb 3-2.4.1: Product: USB Optical Mouse
[ 2.532151] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:02.0/0000:38:00.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1:1.0/0003:093A:2510.0006/input/input12
[ 2.532267] hid-generic 0003:093A:2510.0006: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:38:00.0-2.4.1/input0

Look here:

You may need to adjust settings as described:
(1) USB auto-suspend on Linux
-and/or-
(2) USB mouse disconnects/reconnects every minute on Linux

djb

I get this

[email protected]:/home/user# dmesg | grep Mouse

[ 2247.502453] usb 3-2.4.1: Product: USB Optical Mouse

[ 2247.508861] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:02.0/0000:38:00.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1:1.0/0003:093A:2510.0007/input/input29

[ 2247.509091] hid-generic 0003:093A:2510.0007: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:38:00.0-2.4.1/input0

[ 2252.758538] usb 3-2.4.1: Product: USB Optical Mouse

[ 2252.764543] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:02.0/0000:38:00.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1:1.0/0003:093A:2510.0008/input/input30

[ 2252.764758] hid-generic 0003:093A:2510.0008: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:38:00.0-2.4.1/input0

[ 2260.482588] usb 3-2.4.1: Product: USB Optical Mouse

[ 2260.494079] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:02.0/0000:38:00.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1:1.0/0003:093A:2510.0009/input/input31

[ 2260.494834] hid-generic 0003:093A:2510.0009: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:38:00.0-2.4.1/input0

[ 3244.675157] usb 3-2.4.1: Product: USB Optical Mouse

[ 3244.682146] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:02.0/0000:38:00.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1:1.0/0003:093A:2510.000A/input/input32

[ 3244.682410] hid-generic 0003:093A:2510.000A: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:38:00.0-2.4.1/input0

[ 5429.835164] usb 3-2.4.1: Product: USB Optical Mouse

[ 5429.842526] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:02.0/0000:38:00.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1:1.0/0003:093A:2510.000B/input/input33

[ 5429.843285] hid-generic 0003:093A:2510.000B: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:38:00.0-2.4.1/input0

[ 6014.459550] usb 3-2.4.1: Product: USB Optical Mouse

[ 6014.466730] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:02.0/0000:38:00.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1:1.0/0003:093A:2510.000C/input/input34

[ 6014.467603] hid-generic 0003:093A:2510.000C: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:38:00.0-2.4.1/input0

[ 7541.370689] usb 3-2.4.1: Product: USB Optical Mouse

[ 7541.382609] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:02.0/0000:38:00.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1:1.0/0003:093A:2510.000D/input/input35

[ 7541.383255] hid-generic 0003:093A:2510.000D: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:38:00.0-2.4.1/input0

[ 9697.646058] usb 3-2.4.1: Product: USB Optical Mouse

[ 9697.653006] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:02.0/0000:38:00.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1:1.0/0003:093A:2510.000E/input/input36

[ 9697.653789] hid-generic 0003:093A:2510.000E: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:38:00.0-2.4.1/input0

[10235.041104] usb 3-2.4.1: Product: USB Optical Mouse

[10235.047211] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:02.0/0000:38:00.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1:1.0/0003:093A:2510.000F/input/input37

[10235.047371] hid-generic 0003:093A:2510.000F: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:38:00.0-2.4.1/input0

[11573.165756] usb 3-2.4.1: Product: USB Optical Mouse

[11573.172795] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:02.0/0000:38:00.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1:1.0/0003:093A:2510.0010/input/input38

[11573.173634] hid-generic 0003:093A:2510.0010: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:38:00.0-2.4.1/input0

[email protected]:/home/user# lsusb | grep Mouse

Bus 003 Device 112: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse

assuming you have no success following Dave_Barnes post?

you have a lot of inputs there!
how many buttons, wheels triggers does it really have?

  1. Assuming you had no luck with Dave's link you may then wish to make a
    config file for Xorg?
    https://askubuntu.com/questions/4662/where-is-the-x-org-config-file-how-do-i-configure-x-there

Following Dave Barnes post? I'd need handholding there

I was also surprised by the number of input. Not knowing what it means.

W

That mouse already has a quirk set:
USB_DEVICE(0x093a, 0x2510), .driver_info = USB_QUIRK_RESET_RESUME

That means that the mouse probably locks up and has to be sent a reset now and then. That would account for the multiple instances of the mouse being discovered and configured.

You can try disabling "usb suspend" - Mice often don't work well with USB auto-suspend. It is safest to disable it completely by the kernel boot option usbcore.autosuspend=-1 to check if the mouse is affected.

To change the boot option, add "usbcore.autosuspend=-1" to the line
"GRUB_CMDLINE_LINUX_DEFAULT=...." in /etc/default/grub. Run "sudo update-grub" to push changes to grub.

djb

1 Like

Dave
Line 9 now reads: GRUB_CMDLINE_LINUX_DEFAULT="usbcore.autosuspend=-1"
and
[email protected]:/home/user# dmesg | grep Mouse
[ 100.976461] usb 3-2.4.1: Product: USB Optical Mouse
[email protected]:/home/user# lsusb | grep Mouse
Bus 003 Device 077: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse

Mouse shows no life

W

while Dave can answer his question bit....lets try some other simple things?

reboot without mouse connected.....login to UM....insert mouse usb lead and report?

  1. try different usb ports and report

  2. if swapping computers....any sign of fluff or junk in connector area?

  3. Anything special about this mouse? eg a button to enable something
    and inserted any sign of light coming from the bottom of the mouse

Maybe OFFTOPIC
https://www.dynexproducts.com/pdp/DX-WRM1402/7653088

this mouse claims to pixart chipset and its cord is retractable
and reviews claim cord can get damaged.

This reminds me that all cords that get bent....can get damaged.
Does this have any relevance?

  1. Retractable cord. yes, my model is similar. But yes, this is the 1st thing that I checked. But retracting each having to unplug and move and storing in a hard case for travelling. So far it is Ok - since I checked/used on other computer
  2. Light sign is OK when plugging - no blinking
  3. no fluff or weak connection
    Easy way would have been to walk out buy another one... but reported here simply because I can stand these things not working on me and have to find a solution....yes, I know.

W

Funny. The mouse kind of 'work' this morning. Laptop was on standby all night long.
"work" meaning that it works, the cursor gets to freeze a few secs and then can be move again.
To the non-tech I am it tells that it does connect-disconnect; hence the multiple 'input' seen before. Right ?
There should be a way to make these more stable.

W

Thanks for linking to my howto @Dave_Barnes. The USB core quirk is interesting and very likely wrong now. It has been added in 2013 when HID_QUIRK_ALWAYS_POLL was still unknown. It might cause trouble now and should be checked without. Only since a short time since 2018 it is possible to use a "usbcore.quirks" parameter to change those quirks at boot time (https://patchwork.ozlabs.org/patch/896562/). Otherwise, the kernel has to be patched to check if it works with the damn old quirk dropped.
Which kernel is running? Bionic, Cosmic, or Disco? All three have the kernel parameter backported.
See e.g. for Bionic: https://kernel.ubuntu.com/git/ubuntu/ubuntu-bionic.git/tree/Documentation/admin-guide/kernel-parameters.txt

When looking at the code, then kernel parameter usbcore.quirks=093a:2510:x should be able to unset the quirk.

@Watford Can you please try with that kernel parameter set? TIA

uname -a output would help. Btw.: Got a Trust mouse identifying with the same USB IDs and the PAN3511 inside. So I could try to reproduce. (https://github.com/sriemer/fix-linux-mouse/issues/14)

Hmm, got no AMD machines. Only Intel right now. So the quirk won't hit me any way. So you have to test this. Also try usbcore.quirks=093a:2510:b to set the RESET_RESUME quirk in case your AMD machine is not detected to require that quirk but actually it does.