Leap 16 --usb mouse just drops "dead"-- previous thread just expired

Back over in Leap 16 with the new improved gear . . . but once again, typing in a Gmail email box the cursor stopped functioning and I couldn’t type any letters . . . I had to click around in Gmail to get the cursor function back and continue typing . . . .

Based upon the new usb equipment I didn’t have the dmesg running until after the problem happened . . . . Again, Leap 16 seems to be the “common denominator.”

[    6.003732] [    T771] usbcore: registered new interface driver snd-usb-audio
[ 3830.433116] [  T17789] xhci_hcd 0000:16:00.0: xHC error in resume, USBSTS 0x401, Reinit
[ 3830.433120] [  T17789] usb usb1: root hub lost power or was reset
[ 3830.433122] [  T17789] usb usb2: root hub lost power or was reset
[ 3830.891307] [  T17822] usb 1-9: reset low-speed USB device number 4 using xhci_hcd
[ 3831.247367] [  T17820] usb 1-7: WARN: invalid context state for evaluate context command.
[ 3831.420281] [  T17820] usb 1-7: reset full-speed USB device number 3 using xhci_hcd
[ 3831.860524] [  T17811] usb 1-2: reset high-speed USB device number 2 using xhci_hcd
[ 5791.703087] [  T20338] xhci_hcd 0000:16:00.0: xHC error in resume, USBSTS 0x401, Reinit
[ 5791.703091] [  T20338] usb usb1: root hub lost power or was reset
[ 5791.703093] [  T20338] usb usb2: root hub lost power or was reset
[ 5792.079260] [  T20355] usb 1-2: reset high-speed USB device number 2 using xhci_hcd
[ 5792.530261] [  T20366] usb 1-9: reset low-speed USB device number 4 using xhci_hcd
[ 5792.887940] [  T20364] usb 1-7: WARN: invalid context state for evaluate context command.
[ 5793.060453] [  T20364] usb 1-7: reset full-speed USB device number 3 using xhci_hcd

Over powering the USB sub system… get a powered hub (as in with a separate 5V power adaptor), plug in your devices to the hub and see how it transpires…

1 Like

On second thoughts it could also just be loosing the plot if suspending, disable USB power settings may suffice.

How are you powering the keyboard, is it an RGB one?

1 Like

Thanks for following along . . . I think one of the issues with using the dmesg command is that it does likely show “everything” from when the system was booted, and in there was a “suspend” or two . . . .

But in today’s case it is again a case where the keyboard might have participated, but then the mouse was not able to pull it out of the problem. But it did recover faster than with the previous two components.

I don’t know what “RGB” is . . . both of these units are wired usb connections to the usb ports on the mobo, back of the machine.

RGB - Red-Green-Blue device lighting…

I would suggest adding your user to systemd-journal then can use journalctl -b command for example.

I would plug in a device, check which USB hub and port it’s on and check the MxPwr output from usb-devices make notes and try and spread the devices around on the hubs to see if it’s a particular device in a particular port that is causing the issues.

No device lighting on either of them . . . posting the data from “usb-devices” and “lsusb -t” here in the thread to keep track of it.

It looks like one item is in “bus 1” and the other is in “bus 3” . . . . I ran that “sudo journalctl -b” command and that showed over a thousand lines of data, scrolling down through it for as much as I could stand, didn’t show any blaring errors . . . just all of the things that the computer is thinking about and or keeping track of . . . . .

:~> usb-devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh=10
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=06.12
S:  Manufacturer=Linux 6.12.0-160000.33-default xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:16:00.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=05e3 ProdID=0608 Rev=60.70
S:  Product=USB2.0 Hub
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=02 Port=06 Cnt=01 Dev#=  3 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1462 ProdID=7c56 Rev=00.01
S:  Manufacturer=MSI
S:  Product=MYSTIC LIGHT 
S:  SerialNumber=A02021090806
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=02(O) Atr=03(Int.) MxPS=  64 Ivl=5ms
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=5ms

T:  Bus=01 Lev=01 Prnt=03 Port=08 Cnt=01 Dev#=  4 Spd=1.5  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046a ProdID=c098 Rev=01.15
S:  Manufacturer=Cherry GmbH
S:  Product=CHERRY Corded Device
C:  #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=82(I) Atr=03(Int.) MxPS=   5 Ivl=10ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=10000 MxCh= 4
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=06.12
S:  Manufacturer=Linux 6.12.0-160000.33-default xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:16:00.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=06.12
S:  Manufacturer=Linux 6.12.0-160000.33-default xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:30:00.3
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=046d ProdID=c0a2 Rev=71.00
S:  Manufacturer=Logitech
S:  Product=Signature Wired M520 L for Business
S:  SerialNumber=2521LVQ6TK78
C:  #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=300mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=8ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=82(I) Atr=03(Int.) MxPS=  20 Ivl=8ms

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=10000 MxCh= 2
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=06.12
S:  Manufacturer=Linux 6.12.0-160000.33-default xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:30:00.3
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=06.12
S:  Manufacturer=Linux 6.12.0-160000.33-default xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:30:00.4
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=046d ProdID=0a8f Rev=00.01
S:  Manufacturer=Logitech USB Headset
S:  Product=Logitech USB Headset
C:  #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
E:  Ad=87(I) Atr=03(Int.) MxPS=  16 Ivl=8ms
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=88(I) Atr=03(Int.) MxPS=  16 Ivl=8ms

T:  Bus=06 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=10000 MxCh= 2
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=06.12
S:  Manufacturer=Linux 6.12.0-160000.33-default xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:30:00.4
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

@localhost:~> lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 1: Dev 2, If 0, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 1: Dev 2, If 1, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 1: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 1: Dev 2, If 3, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 2: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
    |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 7: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 9: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 9: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M

This should show better power info lsusb -v|egrep "^Bus|MaxPower"

1 Like

Just for the record:

:~> lsusb -v|egrep "^Bus|MaxPower"
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    MaxPower                0mA
Bus 005 Device 002: ID 046d:0a8f Logitech, Inc. H390 headset with microphone
    MaxPower              100mA
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    MaxPower                0mA
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
    MaxPower                0mA
Bus 003 Device 002: ID 046d:c0a2 Logitech, Inc. Signature Wired M520 L for Business
    MaxPower              300mA
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
    MaxPower                0mA
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    MaxPower                0mA
Bus 001 Device 004: ID 046a:c098 CHERRY CHERRY Corded Device
    MaxPower              100mA
Couldn't open device, some information will be missing
Bus 001 Device 003: ID 1462:7c56 Micro Star International MYSTIC LIGHT 
    MaxPower              500mA
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
    MaxPower              100mA
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    MaxPower                0mA

Back on this topic . . . today is Leap 16 day, new mouse, new keyboard and for the second time today, typing in Google Voice message box, cursor fails to move around to delete misspellings . . . .

So this is back to the commonality being Leap 16 . . . and XFCE and X11 and typing function in one particular app . . . . The intermittency also continues to be involved.

So back in my extra install of Leap 16 that I set up for testing purposes in the SSD, also running XFCE . . . and typing an email just a minute ago the “m” key was not typing properly, it would show a blank and several presses were needed to get the “m” key to type.

On the previous keyboard it was the “p” key . . . so there is an issue that is recurring in both of my Leap 16 installs with typing . . . . perhaps relating to XFCE’s interface with the keyboard???

The typingproblem has now expanded tomy TW install running MATE DE, now affecting the space bar, as can be seenabove andnow in this line . . . . I moved the keyboard usb port to another usb port, but the problem still seemsto be happening . . . in a more "universal"sense ofthe machine.

For those following along with the story in the privacy of your homes . . . problem traced to the new keyboard being faulty . . . across a number of OSs . . . . New one sent under warranty. Haven’t had this kind of problem with peripherals . . . historically. This will be the third keyboard in roughly two years of machine lifespan . . . perhaps the third keyboard will be the charm??

Faulty hardware, also seen that with a China mouse.

Is your problem only with a faulty keyboard and is that impacting the mouse?

Is this the Matias keyboard we briefly mentioned in this thread?

If yes, I’m a bit surprised. I searched in my email for “matias” and found two threads. I bought my first Ergo Pro back in early 2016, and then bought two Ergo Pros back in 2018. Have had no issue(s) with any of them (better not, considering their price) :crossed_fingers:

Thanks for stopping by, well, is there anything that is reasonably priced that isn’t made in China? Since I replaced the other mouse, the new mouse has been working OK, it has been the keyboards that have been strangely dysfunctional.

No, not the Matias, that was the keyboard that was having problems that took awhile to diagnose, due to its relative newness. This is another well-known brand that is like a month and a half old that has had problems with various key functions . . . so we will see how the replacement for it does?