Razer DeathAdder (2013) mouse stopped working

Hey, i have a Razer mouse at my main desktop, and it aways worked out of the box at Leap, even the LEDs (using razercfg to configure it).
However, two days ago, it spontaneously stopped moving and clicking right after boot, and i still have found no clue about whats happening here.

Any other mouse works flawlessly (using a Logitech right now, so i can use the desktop). The same Razer mouse still works perfectly at any other device (including an Android tablet). At this same desktop, in any other OS (Tumbleweed, Ubuntu and Windows 10) it keeps working without any problems at all. I dont know what else look for. ‘lsusb’ shows the mouse as usual. ‘razercfg’ connects to it, and still configures it perfectly (configured at Leap, tested outside it).

I need help to solve this. Any ideas?

Let’s see how the mouse is reported…

/usr/sbin/hwinfo --mouse

Check that Xorg is handling the device as expected…

grep "Using input driver" /var/log/Xorg.0.log
xinput

Note the numeric device ID from above and run

xinput list-props <device-id>

Report back with the output. Please enclose the output within CODE tags (refer to the ‘#’ button in the forum editor).

Here i’ve removed the secondary mouse before using the command. Only Razer is plugged:

felipe@openSUSE:~> clear && /usr/sbin/hwinfo --mouse

34: USB 00.0: 10503 USB Mouse                                   
  [Created at usb.122]
  Unique ID: Bgjr.O4WsNEvwaX7
  Parent ID: FKGF.4Nx_qoDfSd7
  SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0
  SysFS BusID: 2-1.5:1.0
  Hardware Class: mouse
  Model: "Razer DeathAdder 2013"
  Hotplug: USB
  Vendor: usb 0x1532 "Razer USA, Ltd"
  Device: usb 0x0037 "Razer DeathAdder 2013"
  Revision: "2.00"
  Compatible to: int 0x0200 0x0001 "Generic USB Mouse"
  Driver: "usbhid"
  Driver Modules: "usbhid"
  Speed: 12 Mbps
  Module Alias: "usb:v1532p0037d0200dc00dsc00dp00ic03isc01ip02in00"
  Driver Info #0:
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #40 (Hub)

Here, the Logitech may refers to my secondary mouse:

felipe@openSUSE:~> grep "Using input driver" /var/log/Xorg.0.log
    25.972] (II) Using input driver 'libinput' for 'Power Button'
    26.009] (II) Using input driver 'libinput' for 'Power Button'
    26.043] (II) Using input driver 'libinput' for 'Microsoft Wired Keyboard 400'
    26.079] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
    26.245] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
    26.277] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
  2837.484] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
  2837.537] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
  2837.561] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
  6312.396] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
  6312.453] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
  6312.477] (II) Using input driver 'libinput' for 'Logitech USB Receiver'

Here, i coudnt see the Razer mouse:


felipe@openSUSE:~> xinput
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                       id=9    [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                       id=11    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Power Button                                id=6    [slave  keyboard (3)]
    ↳ Power Button                                id=7    [slave  keyboard (3)]
    ↳ Microsoft Wired Keyboard 400                id=8    [slave  keyboard (3)]
    ↳ Logitech USB Receiver                       id=10    [slave  keyboard (3)]

So, the last command had no device ID to insert in.

Ok, the problem appears to be that Xorg is not handling the device at all, but since you mention using the ‘razercfg’ utility to configure the mouse, I’m not sure if this is impacting somehow. Do you have a configuration in /etc/X11/… for the Razer mouse that might be impacting here?

I note this archlinux thread discussing similar…
https://bbs.archlinux.org/viewtopic.php?id=195354

It might be useful to review your entire Xorg.0.log for any errors. It’s a lengthy file, so best to upload it to https://paste.opensuse.org/ and post the link to it here.

No, i haven’t made any special setting for that mouse. I’ve never need, actually.
That ArchLinux thread looks being about the same problem, libinput. But their solution didn’t work for me. :frowning:

The log is pasted at SUSE Paste

Ok, some regression perhaps then. I’m not sure if this hardware is supposed to be handled by libinput, but in any case it is apparently dead to Xorg.

In an effort to assist further I installed the ‘razercfg’ utility and note that it provides a systemd service: razerd.service, so maybe check status

sudo systemctl status razerd.service

The razerd daemon should be active…

ps -A|grep razerd

With the Razer mouse NOT plugged in open a terminal window and run

dmesg --follow

then plug it in and capture the output generated.

Sorry about my delay. I was out for a few days, but yesterday, when i came back and made an update, the problem was fixed!lol!

I did no thing, only an update (with the mouse still frozen) and at the next reboot, it was alive again.
However, it’s weird. The mouse speed wont change at settings and there is no acceleration at all. (i like this. GNOME Settings shoud provide that option)

So, i guess i dont need to change anything else. Unless the problem returns, of course. But i’m still curious about what happend here.:sarcastic:

Thanks for the update. I guess it will remain a mystery, but at least it is now working as expected. If it ever fails again, investigate with advice from my previous post.