Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[solved]xHCI host dead NO Mouse Keyboard after a few minutes

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
artbody
Guru
Guru
User avatar
Posts: 494
Joined: Fri Sep 15, 2006 7:55 pm
Location: LB
Contact:
Contact artbody
Website

[solved]xHCI host dead NO Mouse Keyboard after a few minutes

  • Quote

Post by artbody » Fri Jul 19, 2024 8:34 am

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: Select all

[   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: Select all

 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: Select all

 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: Select all

 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: Select all

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: Select all

[ 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
Last edited by artbody on Wed Jul 24, 2024 1:54 pm, edited 1 time in total.
Never give up
WM : E16 the true enlightenment
achim
Top
artbody
Guru
Guru
User avatar
Posts: 494
Joined: Fri Sep 15, 2006 7:55 pm
Location: LB
Contact:
Contact artbody
Website

  • Quote

Post by artbody » Fri Jul 19, 2024 9:00 pm

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: Select all

[ 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
Top
Banana
Moderator
Moderator
User avatar
Posts: 2372
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Sat Jul 20, 2024 7:50 am

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
Top
artbody
Guru
Guru
User avatar
Posts: 494
Joined: Fri Sep 15, 2006 7:55 pm
Location: LB
Contact:
Contact artbody
Website

  • Quote

Post by artbody » Mon Jul 22, 2024 2:16 pm

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
Top
Banana
Moderator
Moderator
User avatar
Posts: 2372
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Mon Jul 22, 2024 5:35 pm

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
Top
artbody
Guru
Guru
User avatar
Posts: 494
Joined: Fri Sep 15, 2006 7:55 pm
Location: LB
Contact:
Contact artbody
Website

  • Quote

Post by artbody » Wed Jul 24, 2024 1:53 pm

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
Top
Banana
Moderator
Moderator
User avatar
Posts: 2372
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Thu Jul 25, 2024 7:28 am

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/Upg ... onfig_file
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
Post Reply

7 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy