No charger, no usbc devices detected in session only when suspended or restart

Hi,
I am running 5.11.6-1-MANJARO KDE Plasma on a Lenovo thinkpad carbon x1 Gen 7 . Since a few months (maybe since upgrading to Kernel 5.8 or something) I have problems with connecting any usbc / thunderbolt / charger. When the system is running no device will be detected plugged into the usbc ports of the laptop. Does not matter what: keyboard, mouse, display, tb device, … even the charger will not be recognized. However, as soon as I suspend, or reboot the device is promptly detected. Also all devices connected while starting the system are detected. Just not while running. Does anyone have ideas, or similar issues?

I checked, and in the bios the problem is not present.; charger is detected. And any device will work properly once connected to the system. Also thunderbolt devices. And the other USB ports work fine.

I updated to the latest firmware via fwupd. No changes.

I attach some journal log output from when I am disconnecting a thunderbolt display and then trying to reconnect. But there is nothing at all in the log. I don’t know where to start.

Here is the output from journalctl:

Mar 19 17:12:04 thinkpad kernel: pcieport 0000:06:01.0: pciehp: Slot(1): Link Down
Mar 19 17:12:04 thinkpad kernel: pcieport 0000:06:01.0: pciehp: Slot(1): Card not present
Mar 19 17:12:04 thinkpad kernel: xhci_hcd 0000:0a:00.0: remove, state 1
Mar 19 17:12:04 thinkpad kernel: usb usb4: USB disconnect, device number 1
Mar 19 17:12:04 thinkpad kernel: usb 4-1: USB disconnect, device number 2
Mar 19 17:12:04 thinkpad kernel: usb 4-1.4: USB disconnect, device number 3
Mar 19 17:12:04 thinkpad kernel: usb 4-1.4.3: USB disconnect, device number 4
Mar 19 17:12:04 thinkpad kernel: xhci_hcd 0000:0a:00.0: xHCI host controller not responding, assume dead
Mar 19 17:12:04 thinkpad kernel: xhci_hcd 0000:0a:00.0: USB bus 4 deregistered
Mar 19 17:12:04 thinkpad kernel: xhci_hcd 0000:0a:00.0: remove, state 1
Mar 19 17:12:04 thinkpad kernel: usb usb3: USB disconnect, device number 1
Mar 19 17:12:04 thinkpad kernel: usb 3-1: USB disconnect, device number 2
Mar 19 17:12:04 thinkpad kernel: usb 3-1.4: USB disconnect, device number 3
Mar 19 17:12:04 thinkpad kernel: usb 3-1.4.1: USB disconnect, device number 4
Mar 19 17:12:04 thinkpad kernel: usb 3-1.4.2: USB disconnect, device number 5
Mar 19 17:12:04 thinkpad kernel: xhci_hcd 0000:0a:00.0: Host halt failed, -19
Mar 19 17:12:04 thinkpad kernel: xhci_hcd 0000:0a:00.0: Host not accessible, reset failed.
Mar 19 17:12:04 thinkpad kernel: xhci_hcd 0000:0a:00.0: USB bus 3 deregistered
Mar 19 17:12:04 thinkpad kernel: pci 0000:0a:00.0: Removing from iommu group 17
Mar 19 17:12:04 thinkpad kernel: pci_bus 0000:0a: busn_res: [bus 0a] is released
Mar 19 17:12:04 thinkpad kernel: pci 0000:09:01.0: Removing from iommu group 17
Mar 19 17:12:04 thinkpad kernel: pci_bus 0000:09: busn_res: [bus 09-0a] is released
Mar 19 17:12:04 thinkpad kernel: pci 0000:08:00.0: Removing from iommu group 17
Mar 19 17:12:04 thinkpad plasmashell[1317]: qrc:/plasma/plasmoids/org.kde.plasma.volume/contents/ui/ListItemBase.qml:153: TypeError: Cannot read property 'ports' of undefined
Mar 19 17:12:04 thinkpad plasmashell[1317]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-LG_Electronics_Inc._USB_Audio-00.analog-stereo"
Mar 19 17:12:04 thinkpad plasmashell[1317]: qrc:/plasma/plasmoids/org.kde.plasma.volume/contents/ui/ListItemBase.qml:153: TypeError: Cannot read property 'ports' of undefined
Mar 19 17:12:04 thinkpad kscreen_backend_launcher[1285]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Mar 19 17:12:04 thinkpad kscreen_backend_launcher[1285]: kscreen.xcb.helper:         Output:  68
Mar 19 17:12:04 thinkpad kscreen_backend_launcher[1285]: kscreen.xcb.helper:         Property:  EDID
Mar 19 17:12:04 thinkpad kscreen_backend_launcher[1285]: kscreen.xcb.helper:         State (newValue, Deleted):  1
Mar 19 17:12:04 thinkpad plasmashell[1317]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-LG_Electronics_Inc._USB_Audio-00.analog-stereo"
Mar 19 17:12:04 thinkpad plasmashell[1317]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-LG_Electronics_Inc._USB_Audio-00.mono-fallback"

Mar 19 17:12:05 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: XRandROutput 67 update 
                                                              m_connected: 0 
                                                              m_crtc XRandRCrtc(0x556281e851f0) 
                                                              CRTC: 63 
                                                              MODE: 73 
                                                              Connection: 0 
                                                              Primary: true
Mar 19 17:12:05 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: Output 67 : connected = true , enabled = true
Mar 19 17:12:05 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: XRandROutput 67 update 
                                                              m_connected: 0 
                                                              m_crtc XRandRCrtc(0x556281e851f0) 
                                                              CRTC: 63 
                                                              MODE: 73 
                                                              Connection: 0 
                                                              Primary: true
Mar 19 17:12:05 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: Output 67 : connected = true , enabled = true
Mar 19 17:12:05 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: XRandROutput 67 update 
                                                              m_connected: 0 
                                                              m_crtc XRandRCrtc(0x556281e851f0) 
                                                              CRTC: 63 
                                                              MODE: 73 
                                                              Connection: 0 
                                                              Primary: true
Mar 19 17:12:05 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: Output 67 : connected = true , enabled = true
Mar 19 17:12:05 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: XRandROutput 68 update 
                                                              m_connected: 1 
                                                              m_crtc QObject(0x0) 
                                                              CRTC: 0 
                                                              MODE: 0 
                                                              Connection: 1 
                                                              Primary: false
Mar 19 17:12:05 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: Output 68 : connected = false , enabled = false
Mar 19 17:12:05 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: XRandROutput 67 update 
                                                              m_connected: 0 
                                                              m_crtc XRandRCrtc(0x556281e851f0) 
                                                              CRTC: 63 
                                                              MODE: 73 
                                                              Connection: 0 
                                                              Primary: true
Mar 19 17:12:06 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: Output 67 : connected = true , enabled = true
Mar 19 17:12:06 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: XRandROutput 68 update 
                                                              m_connected: 1 
                                                              m_crtc QObject(0x0) 
                                                              CRTC: 0 
                                                              MODE: 0 
                                                              Connection: 1 
                                                              Primary: false
Mar 19 17:12:06 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: Output 68 : connected = false , enabled = false
Mar 19 17:12:06 thinkpad kernel: filter_write: 191 callbacks suppressed
Mar 19 17:12:06 thinkpad kernel: msr: Write to unrecognized MSR 0x1a2 by python3 (pid: 1125).
Mar 19 17:12:06 thinkpad kernel: msr: See https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/about for details.
Mar 19 17:12:06 thinkpad kscreen_backend_launcher[1285]: kscreen.xrandr: Emitting configChanged()
Mar 19 17:12:36 thinkpad kernel: filter_write: 42 callbacks suppressed
Mar 19 17:12:36 thinkpad kernel: msr: Write to unrecognized MSR 0x64b by python3 (pid: 1125).
Mar 19 17:12:36 thinkpad kernel: msr: See https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/about for details.
                                                              CRTC: 63 
                                                              MODE: 73 
                                                              Connection: 0 
                                                              Primary: true

When pasting terminal output, highlight it and use the Preformatted text </> button.

Alternatively, add three backticks ` above and below the text:

```
text
```

Please edit your post accordingly.

Hi, just an update: I found a fix for the problem. In the end it was hardware related. The problem first got worse today, and the laptop suddenly stopped charging completely. Then I noticed the weird behavior even if the laptop is completely turned off.

Finally, I found that this might be related to faulty charger / battery chip problem. The solution was to use a paper clip to press the battery reset button on the bottom on the machine (information from the Lenovo carbon x1 manual). This completely disconnects the laptop from the battery. Voila everything worked perfectly afterwards. Thanks for everyone looking at this. And if you happen to have a similar problem, this could solve it possibly.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.