Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]xHCI host dead NO Mouse Keyboard after a few minutes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
artbody
Guru
Guru


Joined: 15 Sep 2006
Posts: 494
Location: LB

PostPosted: Fri Jul 19, 2024 8:34 am    Post subject: [solved]xHCI host dead NO Mouse Keyboard after a few minutes Reply with quote

Strange error
after booting the MiniPC AMD Rayson 7 it works all well.
after a few minutes NO more mouse Keyboard and so on. Reconnect doesn't help
all USB activity is dead - no power on the USB devices

dmesg

Code:
[   15.909933] usb 1-4: new low-speed USB device number 2 using xhci_hcd
[   16.067383] usb 1-4: New USB device found, idVendor=056e, idProduct=00fb, bcdDevice= 1.10
[   16.067403] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   16.067410] usb 1-4: Product: ELECOM TrackBall Mouse
[   16.067416] usb 1-4: Manufacturer: ELECOM
[   16.131293] elecom 0003:056E:00FB.0002: Fixing up Elecom mouse button count
[   16.131447] input: ELECOM ELECOM TrackBall Mouse as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-4/1-4:1.0/0003:056E:00FB.0002/input/input10
[   16.187295] elecom 0003:056E:00FB.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [ELECOM ELECOM TrackBall Mouse] on usb-0000:05:00.3-4/input0
[   19.106528] usb 1-3: new low-speed USB device number 3 using xhci_hcd
[   19.264460] usb 1-3: New USB device found, idVendor=258a, idProduct=00a0, bcdDevice= 1.06
[   19.264479] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   19.264487] usb 1-3: Product: USB KEYBOARD
[   19.264493] usb 1-3: Manufacturer: SINO WEALTH
[   19.292981] input: SINO WEALTH USB KEYBOARD as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-3/1-3:1.0/0003:258A:00A0.0003/input/input11
[   19.350142] hid-generic 0003:258A:00A0.0003: input,hidraw2: USB HID v1.11 Keyboard [SINO WEALTH USB KEYBOARD] on usb-0000:05:00.3-3/input0
[   19.357916] input: SINO WEALTH USB KEYBOARD System Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-3/1-3:1.1/0003:258A:00A0.0004/input/input12
[   19.413405] input: SINO WEALTH USB KEYBOARD Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-3/1-3:1.1/0003:258A:00A0.0004/input/input13
[   19.413656] hid-generic 0003:258A:00A0.0004: input,hiddev97,hidraw3: USB HID v1.11 Device [SINO WEALTH USB KEYBOARD] on usb-0000:05:00.3-3/input1
[   43.222909] systemd-journald[962]: Time jumped backwards, rotating.
[ 1567.150941] usb 1-4: USB disconnect, device number 2
[ 1572.279858] xhci_hcd 0000:05:00.3: xHCI host not responding to stop endpoint command
[ 1572.293336] xhci_hcd 0000:05:00.3: xHCI host controller not responding, assume dead
[ 1572.293356] xhci_hcd 0000:05:00.3: HC died; cleaning up
[ 1572.370603] usb 1-3: USB disconnect, device number 3


Code:
 lspci -v | grep USB 
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
        Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
        Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1


Code:
 lsmod |grep usb
btusb                  73728  0
btrtl                  32768  1 btusb
btintel                57344  1 btusb
btbcm                  24576  1 btusb
bluetooth            1073152  5 btrtl,btintel,btbcm,btusb
snd_usb_audio         413696  3
snd_usbmidi_lib        49152  1 snd_usb_audio
snd_rawmidi            53248  1 snd_usbmidi_lib
mc                     86016  1 snd_usb_audio
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_pcm               184320  11 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_compress,snd_soc_core,snd_hda_core,snd_acp3x_pdm_dma,snd_pcm_dmaengine
snd                   147456  35 snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi


Code:
 lshw |grep driver=
             configuration: driver=pcieport
                configuration: driver=nvme latency=0 nqn=nqn.2014-08.com.maxio:nvme:1202:M.2:NKS108Q002752P111D state=live
             configuration: driver=pcieport
                configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.6.37-gentoo-x86_64 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.63.119 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
             configuration: driver=pcieport
             configuration: driver=pcieport
                configuration: autonegotiation=on broadcast=yes driver=igc driverversion=6.6.37-gentoo-x86_64 firmware=2017:888d latency=0 link=no multicast=yes port=twisted pair
             configuration: driver=pcieport
                configuration: depth=32 driver=amdgpu latency=0 resolution=2560,1440
                configuration: driver=snd_hda_intel latency=0
                configuration: driver=ccp latency=0
                configuration: driver=xhci_hcd latency=0
                   configuration: driver=hub slots=4 speed=480Mbit/s
                   configuration: driver=hub slots=2 speed=10000Mbit/s
                configuration: driver=xhci_hcd latency=0
                   configuration: driver=hub slots=4 speed=480Mbit/s
                      configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
                      configuration: driver=btusb maxpower=500mA speed=12Mbit/s
                   configuration: driver=hub slots=2 speed=10000Mbit/s
                configuration: driver=snd_rn_pci_acp3x latency=0
                configuration: driver=snd_hda_intel latency=0
             configuration: driver=pcieport
                configuration: driver=ahci latency=0
                configuration: driver=ahci latency=0
             configuration: driver=piix4_smbus latency=0
                configuration: driver=system
                configuration: driver=rtc_cmos
                configuration: driver=system
                configuration: driver=serial
          configuration: driver=k10temp


output of journalctl
after loosing mouse, keyboard connection
Code:
Jul 19 11:33:16 artbodybox2 kernel: usb 1-2: USB disconnect, device number 2
Jul 19 11:33:22 artbodybox2 kernel: xhci_hcd 0000:05:00.3: xHCI host not responding to stop endpoint command
Jul 19 11:33:22 artbodybox2 kernel: xhci_hcd 0000:05:00.3: xHCI host controller not responding, assume dead
Jul 19 11:33:22 artbodybox2 kernel: xhci_hcd 0000:05:00.3: HC died; cleaning up
Jul 19 11:33:22 artbodybox2 kernel: usb 1-3: USB disconnect, device number 3
Jul 19 11:33:22 artbodybox2 acpid[1250]: input device has been disconnected, fd 9
Jul 19 11:33:22 artbodybox2 acpid[1250]: input device has been disconnected, fd 10
Jul 19 11:33:22 artbodybox2 acpid[1250]: input device has been disconnected, fd 11
Jul 19 11:33:22 artbodybox2 acpid[1250]: input device has been disconnected, fd 13


Strange POINT
i dis and reconnect the Mouse NOTHING
I connect a second mouse
Code:
[ 4058.879658] usb 3-2: new full-speed USB device number 4 using xhci_hcd
[ 4059.035206] usb 3-2: New USB device found, idVendor=062a, idProduct=7269, bcdDevice= 2.07
[ 4059.035213] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4059.035217] usb 3-2: Product: Full-Speed Mouse
[ 4059.035221] usb 3-2: Manufacturer: Full-Speed Mouse
[ 4059.043392] input: Full-Speed Mouse Full-Speed Mouse as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.0/0003:062A:7269.0005/input/input14
[ 4059.043597] hid-generic 0003:062A:7269.0005: input,hidraw0: USB HID v1.10 Mouse [Full-Speed Mouse Full-Speed Mouse] on usb-0000:05:00.4-2/input0


but the keyboard is still dead


has anybody a idea to solve this problem
_________________
Never give up
WM : E16 the true enlightenment
achim


Last edited by artbody on Wed Jul 24, 2024 1:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
artbody
Guru
Guru


Joined: 15 Sep 2006
Posts: 494
Location: LB

PostPosted: Fri Jul 19, 2024 9:00 pm    Post subject: Reply with quote

So my next step was now to set all ports in the BIOS to default ENABLED
every few minutes my keybord is now switching OFF and ON

so here is the dmesg:
Code:
[ 1413.040312] usb usb1-port4: disabled by hub (EMI?), re-enabling...
[ 1413.040322] usb 1-4: USB disconnect, device number 3
[ 1420.991518] usb 1-4: new low-speed USB device number 4 using xhci_hcd
[ 1422.071501] usb 1-4: New USB device found, idVendor=258a, idProduct=00a0, bcdDevice= 1.06
[ 1422.071509] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1422.071512] usb 1-4: Product: USB KEYBOARD
[ 1422.071515] usb 1-4: Manufacturer: SINO WEALTH
[ 1423.045777] input: SINO WEALTH USB KEYBOARD as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-4/1-4:1.0/0003:258A:00A0.0005/input/input14
[ 1424.040528] hid-generic 0003:258A:00A0.0005: input,hidraw2: USB HID v1.11 Keyboard [SINO WEALTH USB KEYBOARD] on usb-0000:05:00.3-4/input0
[ 1424.047819] input: SINO WEALTH USB KEYBOARD System Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-4/1-4:1.1/0003:258A:00A0.0006/input/input15
[ 1425.037145] input: SINO WEALTH USB KEYBOARD Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-4/1-4:1.1/0003:258A:00A0.0006/input/input16
[ 1425.037428] hid-generic 0003:258A:00A0.0006: input,hiddev0,hidraw3: USB HID v1.11 Device [SINO WEALTH USB KEYBOARD] on usb-0000:05:00.3-4/input1
[ 1548.040306] usb usb1-port4: disabled by hub (EMI?), re-enabling...
[ 1548.040324] usb 1-4: USB disconnect, device number 4
[ 1555.137647] usb 1-4: new low-speed USB device number 5 using xhci_hcd
[ 1557.075580] usb 1-4: New USB device found, idVendor=258a, idProduct=00a0, bcdDevice= 1.06
[ 1557.075588] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1557.075591] usb 1-4: Product: USB KEYBOARD
[ 1557.075594] usb 1-4: Manufacturer: SINO WEALTH
[ 1558.044981] input: SINO WEALTH USB KEYBOARD as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-4/1-4:1.0/0003:258A:00A0.0007/input/input17
[ 1559.040582] hid-generic 0003:258A:00A0.0007: input,hidraw2: USB HID v1.11 Keyboard [SINO WEALTH USB KEYBOARD] on usb-0000:05:00.3-4/input0
[ 1559.048000] input: SINO WEALTH USB KEYBOARD System Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-4/1-4:1.1/0003:258A:00A0.0008/input/input18
[ 1560.037143] input: SINO WEALTH USB KEYBOARD Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-4/1-4:1.1/0003:258A:00A0.0008/input/input19
[ 1560.037438] hid-generic 0003:258A:00A0.0008: input,hiddev0,hidraw3: USB HID v1.11 Device [SINO WEALTH USB KEYBOARD] on usb-0000:05:00.3-4/input1
[ 1616.036969] usb usb1-port4: disabled by hub (EMI?), re-enabling...
[ 1616.036979] usb 1-4: USB disconnect, device number 5
[ 1623.926624] usb 1-4: new low-speed USB device number 6 using xhci_hcd
[ 1626.075331] usb 1-4: New USB device found, idVendor=258a, idProduct=00a0, bcdDevice= 1.06
[ 1626.075339] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1626.075342] usb 1-4: Product: USB KEYBOARD
[ 1626.075345] usb 1-4: Manufacturer: SINO WEALTH
[ 1627.041631] input: SINO WEALTH USB KEYBOARD as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-4/1-4:1.0/0003:258A:00A0.0009/input/input20
[ 1628.040582] hid-generic 0003:258A:00A0.0009: input,hidraw2: USB HID v1.11 Keyboard [SINO WEALTH USB KEYBOARD] on usb-0000:05:00.3-4/input0
[ 1628.047659] input: SINO WEALTH USB KEYBOARD System Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-4/1-4:1.1/0003:258A:00A0.000A/input/input21
[ 1629.037118] input: SINO WEALTH USB KEYBOARD Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-4/1-4:1.1/0003:258A:00A0.000A/input/input22
[ 1629.037381] hid-generic 0003:258A:00A0.000A: input,hiddev0,hidraw3: USB HID v1.11 Device [SINO WEALTH USB KEYBOARD] on usb-0000:05:00.3-4/input1



8O
_________________
Never give up
WM : E16 the true enlightenment
achim
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1618
Location: Germany

PostPosted: Sat Jul 20, 2024 7:50 am    Post subject: Reply with quote

Could be:
- Power issue
- Hardware issue. Tried with different devices?
- Setup issue. Can you try a USB-Image of a different linux distro?
- TLP power standby issue: https://wiki.archlinux.org/title/TLP#USB_autosuspend https://linrunner.de/tlp/settings/runtimepm.html


https://wiki.gentoo.org/wiki/Power_management/Guide
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
artbody
Guru
Guru


Joined: 15 Sep 2006
Posts: 494
Location: LB

PostPosted: Mon Jul 22, 2024 2:16 pm    Post subject: Reply with quote

i have 2 of this MiniPC
ACEMAGICIAN AM06 Pro Mini PC, AMD Ryzen 7 5700U (8C/16T, bis zu 4.3Ghz),16GB DDR4 512GB NVME SSD Mini Computer mit Type-C |Dual LAN| WiFi6 |BT5.2

most Times i running them over TigerVNC as Synthesizer (VCV Rack 2 PRO)

Since i have a monitor, a few days ago, i connected one of these MiniPCs to a monitor, keyboard and mouse.

Today i connected the other MiniPC with the Monitor, keyboard and mouse, and there are no problems with disconnected keyboard and mouse.

i dived a little bit in these subject and realized that one runs under
sys-kernel/gentoo-sources-6.6.30 ( the older MiniPC)
and the new one runs under
sys-kernel/gentoo-sources-6.6.37

Now i switched MiniPC 2 to the older Kernel and it looks like it works well
SO i assume it's a kernel problem
_________________
Never give up
WM : E16 the true enlightenment
achim
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1618
Location: Germany

PostPosted: Mon Jul 22, 2024 5:35 pm    Post subject: Reply with quote

or a missing/changed kernel option. Try to compare the kernel config and maybe you find the difference
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
artbody
Guru
Guru


Joined: 15 Sep 2006
Posts: 494
Location: LB

PostPosted: Wed Jul 24, 2024 1:53 pm    Post subject: Reply with quote

Okay , spacial Thx for your advice

I think the config file was totally messed up ... :oops:

so i copied the old config over the new one and recompiled the new Kernel -all works fine :D

thx
_________________
Never give up
WM : E16 the true enlightenment
achim
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1618
Location: Germany

PostPosted: Thu Jul 25, 2024 7:28 am    Post subject: Reply with quote

I do hope you know this section from the kernel wiki page about how to upgrade the config file: https://wiki.gentoo.org/wiki/Kernel/Upgrade#Update_the_.config_file
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum