You are not logged in.

#1 2022-07-13 15:23:58

pyrole
Member
Registered: 2022-07-11
Posts: 90

External Keyboard keeps turning off at random intervals.

I have an external keyboard which keeps turning off at random intervals without any observable pattern.
I read multiple threads about autosuspend and did what those guides said and still there has been no change.

Feel free to ask me information about my configs and if you want me to run some commands and provide you with there outputs.

Output for lsusb:

Bus 003 Device 009: ID 1a2c:92f6 China Resource Semico Co., Ltd Redgear Shadow Blade Mechanical Keyboard

Offline

#2 2022-07-13 20:36:17

pyrole
Member
Registered: 2022-07-11
Posts: 90

Re: External Keyboard keeps turning off at random intervals.

Does nobody have any clue to what the problem might be : (

Offline

#3 2022-07-14 01:04:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: External Keyboard keeps turning off at random intervals.

I would look through the journal when next it happens and see what gets posted around the time of the failure.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2022-07-14 09:30:28

pyrole
Member
Registered: 2022-07-11
Posts: 90

Re: External Keyboard keeps turning off at random intervals.

ewaller wrote:

I would look through the journal when next it happens and see what gets posted around the time of the failure.

How to look into the journal ?

Offline

#5 2022-07-14 14:17:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: External Keyboard keeps turning off at random intervals.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2022-07-15 10:43:16

pyrole
Member
Registered: 2022-07-11
Posts: 90

Re: External Keyboard keeps turning off at random intervals.

Here is my journal, the keyboard failed within last 5 min:
http://ix.io/44pC

Offline

#7 2022-07-15 14:10:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,569

Re: External Keyboard keeps turning off at random intervals.

Did you look at it?

Online

#8 2022-07-15 14:27:43

pyrole
Member
Registered: 2022-07-11
Posts: 90

Re: External Keyboard keeps turning off at random intervals.

seth wrote:

Did you look at it?

Is this message for me or the admin?

Offline

#9 2022-07-15 14:31:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,569

Re: External Keyboard keeps turning off at random intervals.

I think ewaller's implication was that you look at it. Did you?

Online

#10 2022-07-15 14:39:30

pyrole
Member
Registered: 2022-07-11
Posts: 90

Re: External Keyboard keeps turning off at random intervals.

seth wrote:

I think ewaller's implication was that you look at it. Did you?

I dont know how to even comprehend the journal its just lines and lines and lines.
What am I looking for ? and in which section im totally lost.....

Offline

#11 2022-07-15 14:43:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,569

Re: External Keyboard keeps turning off at random intervals.

ewaller wrote:

I would look through the journal when next it happens and see what gets posted around the time of the failure.

Online

#12 2022-07-15 17:31:17

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: External Keyboard keeps turning off at random intervals.

We are looking for a needle in a haystack.  I had hoped you would tell us that (a) the keyboard did disconnect, and (b) when.   I assume (a) is true. It looks like (b) happened here:

ul 15 16:11:24 Dell-G15-Aryan udisksd[1253]: Mounted /dev/sdb1 at /run/media/pyrole/Lacie on behalf of uid 1000
Jul 15 16:11:24 Dell-G15-Aryan kernel: EXT4-fs (sdb1): mounted filesystem with ordered data mode. Quota mode: none.
Jul 15 16:11:29 Dell-G15-Aryan kernel: usb 3-6.3: reset low-speed USB device number 7 using xhci_hcd
Jul 15 16:11:48 Dell-G15-Aryan kernel: usb 3-6.3: USB disconnect, device number 7
Jul 15 16:11:51 Dell-G15-Aryan kernel: usb 3-6.3: new low-speed USB device number 8 using xhci_hcd
Jul 15 16:11:51 Dell-G15-Aryan kernel: usb 3-6.3: New USB device found, idVendor=1a2c, idProduct=92f6, bcdDevice= 1.16
Jul 15 16:11:51 Dell-G15-Aryan kernel: usb 3-6.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 15 16:11:51 Dell-G15-Aryan kernel: usb 3-6.3: Product: Redgear Shadow Blade Mechanical Keyboard
Jul 15 16:11:51 Dell-G15-Aryan kernel: usb 3-6.3: Manufacturer: SEMICO  
Jul 15 16:11:51 Dell-G15-Aryan kernel: input: SEMICO   Redgear Shadow Blade Mechanical Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6.3/3-6.3:1.0/0003:1A2C:92F6.0006/input/input39
Jul 15 16:11:51 Dell-G15-Aryan kernel: hid-generic 0003:1A2C:92F6.0006: input,hidraw3: USB HID v1.10 Keyboard [SEMICO   Redgear Shadow Blade Mechanical Keyboard] on usb-0000:00:14.0-6.3/input0
Jul 15 16:11:51 Dell-G15-Aryan kernel: input: SEMICO   Redgear Shadow Blade Mechanical Keyboard Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6.3/3-6.3:1.1/0003:1A2C:92F6.0007/input/input40
Jul 15 16:11:51 Dell-G15-Aryan kernel: input: SEMICO   Redgear Shadow Blade Mechanical Keyboard System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6.3/3-6.3:1.1/0003:1A2C:92F6.0007/input/input41
Jul 15 16:11:51 Dell-G15-Aryan kernel: input: SEMICO   Redgear Shadow Blade Mechanical Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6.3/3-6.3:1.1/0003:1A2C:92F6.0007/input/input43
Jul 15 16:11:51 Dell-G15-Aryan kernel: hid-generic 0003:1A2C:92F6.0007: input,hiddev97,hidraw4: USB HID v1.10 Keyboard [SEMICO   Redgear Shadow Blade Mechanical Keyboard] on usb-0000:00:14.0-6.3/input1
Jul 15 16:11:51 Dell-G15-Aryan systemd-logind[626]: Watching system buttons on /dev/input/event25 (SEMICO   Redgear Shadow Blade Mechanical Keyboard)
Jul 15 16:11:51 Dell-G15-Aryan systemd-logind[626]: Watching system buttons on /dev/input/event22 (SEMICO   Redgear Shadow Blade Mechanical Keyboard)
Jul 15 16:11:51 Dell-G15-Aryan systemd-logind[626]: Watching system buttons on /dev/input/event23 (SEMICO   Redgear Shadow Blade Mechanical Keyboard Consumer Control)
Jul 15 16:11:51 Dell-G15-Aryan systemd-logind[626]: Watching system buttons on /dev/input/event24 (SEMICO   Redgear Shadow Blade Mechanical Keyboard System Control)

A device on the bus (7) reset then disconnected.  A keyboard device reconnected immediately afterwards.  About 20 seconds earlier, it looks like an external disk drive was mounted. 
Did cables get moved?  Did a drive powered by the USB get spun up?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#13 2022-07-15 17:50:52

pyrole
Member
Registered: 2022-07-11
Posts: 90

Re: External Keyboard keeps turning off at random intervals.

Ok so I don't think the usb cable moved.
I don't know what you meant by drive powered by usb getting spun up.

Offline

#14 2022-07-15 20:51:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,569

Re: External Keyboard keeps turning off at random intervals.

Jul 15 16:01:56 Dell-G15-Aryan kernel: usb **** usb4 ****: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.18
Jul 15 16:01:56 Dell-G15-Aryan kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jul 15 16:01:56 Dell-G15-Aryan kernel: usb usb4: Product: xHCI Host Controller
Jul 15 16:01:56 Dell-G15-Aryan kernel: usb usb4: Manufacturer: Linux 5.18.11-arch1-1 xhci-hcd
Jul 15 16:01:56 Dell-G15-Aryan kernel: usb usb4: SerialNumber: 0000:00:14.0
Jul 15 16:01:56 Dell-G15-Aryan kernel: hub 4-0:1.0: USB hub found
Jul 15 16:01:56 Dell-G15-Aryan kernel: hub 4-0:1.0: 8 ports detected
****** Jul 15 16:01:56 Dell-G15-Aryan kernel: usb: port power management may be unreliable ******
Jul 15 16:05:14 Dell-G15-Aryan kernel: **** usb 4-3 ****: new SuperSpeed USB device number 2 using xhci_hcd
Jul 15 16:05:14 Dell-G15-Aryan kernel: usb 4-3: New USB device found, idVendor=059f, idProduct=1061, bcdDevice= 0.01
Jul 15 16:05:14 Dell-G15-Aryan kernel: usb 4-3: New USB device strings: Mfr=2, Product=3, SerialNumber=1
Jul 15 16:05:14 Dell-G15-Aryan kernel: usb 4-3: Product: Rugged USB3-FW
Jul 15 16:05:14 Dell-G15-Aryan kernel: usb 4-3: Manufacturer: LaCie
Jul 15 16:05:14 Dell-G15-Aryan kernel: usb 4-3: SerialNumber: 0000000035705811309b
Jul 15 16:05:14 Dell-G15-Aryan kernel: scsi 5:0:0:0: Direct-Access     LaCie    Rugged FW USB3   051E PQ: 0 ANSI: 6
==> Jul 15 16:11:29 Dell-G15-Aryan kernel: usb 3-6.3: reset low-speed USB device number 7 using xhci_hcd
===> Jul 15 16:11:48 Dell-G15-Aryan kernel: usb 3-6.3: USB disconnect, device number 7
Jul 15 16:11:51 Dell-G15-Aryan kernel: usb 3-6.3: new low-speed USB device number 8 using xhci_hcd
Jul 15 16:11:51 Dell-G15-Aryan kernel: usb 3-6.3: New USB device found, idVendor=1a2c, idProduct=92f6, bcdDevice= 1.16
Jul 15 16:11:51 Dell-G15-Aryan kernel: usb 3-6.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 15 16:11:51 Dell-G15-Aryan kernel: usb 3-6.3: Product: Redgear Shadow Blade Mechanical Keyboard
Jul 15 16:11:51 Dell-G15-Aryan kernel: usb 3-6.3: Manufacturer: SEMICO  
Jul 15 16:11:51 Dell-G15-Aryan kernel: input: SEMICO   Redgear Shadow Blade Mechanical Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6.3/3-6.3:1.0/0003:1A2C:92F6.0006/input/input39

You attach this thing here, https://www.lacie.com/products/rugged/ which is most likely a spinning HDD, but in any event not a usb key and will draw some serious power.
You also got a warning that the power management on that hub might be unreliable.
15 seconds later the keyboard resets, pretty much out of the blue.

So, first test: can you trigger the keyboard reset by attaching or accessing that drive?
Next, https://wiki.archlinux.org/title/Power_ … utosuspend - "usbcore.autosuspend=-1" disables it.

Online

Board footer

Powered by FluxBB