You are not logged in.

#1 2025-06-02 07:38:45

Rumengol
Member
Registered: 2025-06-02
Posts: 3

DisplayPort USB-C monitor not detected

Hello,

I am trying to connect my laptop (MSI Katana 15 B13VGK)  to two HP monitors with a USB-C cable and they are not detected.

- It works fine on a Windows laptop.
- The monitor also works as a hub, the keyboard and mouse connected to it are detected and function correctly.
- KDE Plasma Wayland

udevadm cycle through this:

> sudo udevadm monitor
KERNEL[3086.208798] add      /devices/pci0000:00/0000:00:14.0/usb2/2-3 (usb)
KERNEL[3086.209958] change   /devices/pci0000:00/0000:00:14.0/usb2/2-3 (usb)
KERNEL[3086.210863] add      /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0 (usb)
KERNEL[3086.212924] bind     /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0 (usb)
KERNEL[3086.213139] bind     /devices/pci0000:00/0000:00:14.0/usb2/2-3 (usb)
UDEV  [3086.215753] add      /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1 (usb)
UDEV  [3086.219868] change   /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1 (usb)
UDEV  [3086.223814] add      /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1:1.0 (usb)
UDEV  [3086.227751] bind     /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1:1.0 (usb)
UDEV  [3086.231216] bind     /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1 (usb)
UDEV  [3086.233736] unbind   /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1:1.0 (usb)
UDEV  [3086.235443] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1:1.0 (usb)
UDEV  [3086.237174] unbind   /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1 (usb)
UDEV  [3086.238241] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1 (usb)
UDEV  [3086.239860] unbind   /devices/pci0000:00/0000:00:14.0/usb2/2-3 (usb)
UDEV  [3086.240876] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-3 (usb)

dmesg shows the same message, with only the device number changing:

> sudo dmesg
[ 3147.810757] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 3147.811553] usb 2-3-port3: attempt power cycle
[ 3148.127822] usb 2-3.1: USB disconnect, device number 102
[ 3148.390895] usb 2-3: new SuperSpeed USB device number 107 using xhci_hcd
[ 3148.411253] usb 2-3: New USB device found, idVendor=03f0, idProduct=2347, bcdDevice=60.05
[ 3148.411277] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3148.411285] usb 2-3: Product: USB3.1 Hub
[ 3148.411291] usb 2-3: Manufacturer: GenesysLogic
[ 3148.414240] hub 2-3:1.0: USB hub found
[ 3148.414559] hub 2-3:1.0: 3 ports detected
[ 3148.697544] usb 2-3.1: new SuperSpeed USB device number 108 using xhci_hcd
[ 3148.721501] usb 2-3.1: New USB device found, idVendor=03f0, idProduct=2347, bcdDevice=60.12
[ 3148.721523] usb 2-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3148.721531] usb 2-3.1: Product: USB3.1 Hub
[ 3148.721537] usb 2-3.1: Manufacturer: GenesysLogic
[ 3148.724986] hub 2-3.1:1.0: USB hub found
[ 3148.725298] hub 2-3.1:1.0: 1 port detected
[ 3148.834301] hub 2-3.1:1.0: hub_ext_port_status failed (err = -71)
[ 3148.990822] usb 2-3.1: Failed to suspend device, error -71
[ 3149.053885] usb 2-3: USB disconnect, device number 107
[ 3149.757420] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 3149.757754] usb 2-3-port3: attempt power cycle
[ 3150.074470] usb 2-3.1: USB disconnect, device number 108
[ 3150.337554] usb 2-3: new SuperSpeed USB device number 113 using xhci_hcd
[ 3150.359004] usb 2-3: New USB device found, idVendor=03f0, idProduct=2347, bcdDevice=60.05
[ 3150.359025] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3150.359034] usb 2-3: Product: USB3.1 Hub
[ 3150.359040] usb 2-3: Manufacturer: GenesysLogic
[ 3150.362216] hub 2-3:1.0: USB hub found
[ 3150.362546] hub 2-3:1.0: 3 ports detected
[ 3150.657447] usb 2-3.1: new SuperSpeed USB device number 114 using xhci_hcd
[ 3150.681211] usb 2-3.1: New USB device found, idVendor=03f0, idProduct=2347, bcdDevice=60.12
[ 3150.681238] usb 2-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3150.681247] usb 2-3.1: Product: USB3.1 Hub
[ 3150.681253] usb 2-3.1: Manufacturer: GenesysLogic
[ 3150.686072] hub 2-3.1:1.0: USB hub found
[ 3150.686390] hub 2-3.1:1.0: 1 port detected
[ 3150.800907] hub 2-3.1:1.0: hub_ext_port_status failed (err = -71)
[ 3150.947366] usb 2-3.1: Failed to suspend device, error -71
[ 3151.010623] usb 2-3: USB disconnect, device number 113

lspci

> lspci -k
0000:00:00.0 Host bridge: Intel Corporation Device a715
        DeviceName: Onboard - Other
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
0000:00:01.0 PCI bridge: Intel Corporation Raptor Lake PCI Express 5.0 Graphics Port (PEG010)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: pcieport
0000:00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [UHD Graphics] (rev 04)
        DeviceName: Onboard - Video
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: i915
        Kernel modules: i915, xe
0000:00:04.0 Signal processing controller: Intel Corporation Raptor Lake Dynamic Platform and Thermal Framework Processor Participant
        DeviceName: Onboard - Other
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: proc_thermal_pci
        Kernel modules: processor_thermal_device_pci
0000:00:06.0 System peripheral: Intel Corporation RST VMD Managed Controller
        DeviceName: Onboard - Other
0000:00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module
        DeviceName: Onboard - Other
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
0000:00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller Intel Corporation
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 0000
        Kernel driver in use: vmd
        Kernel modules: vmd
0000:00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
        DeviceName: Onboard - Other
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
0000:00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
        DeviceName: Onboard - Other
0000:00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi WiFi (rev 01)
        DeviceName: Onboard - Ethernet
        Subsystem: Intel Corporation Device 0094
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
0000:00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
        DeviceName: Onboard - Other
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
0000:00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
        DeviceName: Onboard - Other
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: mei_me
        Kernel modules: mei_me
0000:00:1c.0 PCI bridge: Intel Corporation Device 51b8 (rev 01)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: pcieport
0000:00:1c.5 PCI bridge: Intel Corporation Alder Lake-P PCH PCIe Root Port #6 (rev 01)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: pcieport
0000:00:1f.0 ISA bridge: Intel Corporation Raptor Lake LPC/eSPI Controller (rev 01)
        DeviceName: Onboard - Other
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
0000:00:1f.3 Multimedia audio controller: Intel Corporation Raptor Lake-P/U/H cAVS (rev 01)
        DeviceName: Onboard - Sound
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13d8
        Kernel driver in use: sof-audio-pci-intel-tgl
        Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_tgl
0000:00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
        DeviceName: Onboard - Other
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
0000:00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
        DeviceName: Onboard - Other
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: intel-spi
        Kernel modules: spi_intel_pci
0000:01:00.0 VGA compatible controller: NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
0000:01:00.1 Audio device: NVIDIA Corporation AD106M High Definition Audio Controller (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
0000:03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 13c7
        Kernel driver in use: r8169
        Kernel modules: r8169
10000:e0:06.0 PCI bridge: Intel Corporation Raptor Lake PCIe 4.0 Graphics Port
        Kernel driver in use: pcieport
10000:e1:00.0 Non-Volatile memory controller: Sandisk Corp WD Black SN770 / PC SN740 256GB / PC SN560 (DRAM-less) NVMe SSD (rev 01)
        Subsystem: Sandisk Corp WD Black SN770 / PC SN740 256GB / PC SN560 (DRAM-less) NVMe SSD
        Kernel driver in use: nvme
        Kernel modules: nvme

I guess something fails with the USB connection, even though it is working fine for other peripherals? I don't know where else to look.

Last edited by Rumengol (2025-06-02 07:40:30)

Offline

#2 2025-06-03 18:32:43

airbus777neo
Member
Registered: 2025-06-03
Posts: 35

Re: DisplayPort USB-C monitor not detected

(sorry I'm kinda new to linux so I may not be of too much help)
My first thing that I saw was the errors noted in dmesg:

xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.

(abbreviated for Transfer Ring dequeue Pointer command failed due to incorrect slot or endpoint state)

This could be linked to some firmware issues, though your lspci results do show the correct drivers/kernel modules under the USB Controller

USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

Just to check though, you could run

lsmod | grep xhci

and check the results (and then if not obviously enable it with sudo modprobe xhci_pci)

I feel like all I've done so far is just state the obvious... anyway

One potential issue (although since your laptop is from 2023 or later, it might be on by default) could be the XHCI hand-off setting in BIOS, which when disabled essentially hands USB 3.0 control to BIOS rather than the OS (used for legacy compatibility, and therefore decreases data transfer rate)

I do notice your laptop uses an RTX 4070, so maybe this answer could be a fix (ik it's ubuntu, but...) - https://askubuntu.com/questions/1105332 … 79#1134579

Perhaps I could do with more info (like xrandr and lsusb output) but I'll keep it simple (for my benefit hmm)
Lmk if anything helps


Just a computer fanatic finally beginning to etch out of his shell in experience
"The man who chases two rabbits catches none." — Confucius

Offline

#3 2025-06-04 11:13:07

Rumengol
Member
Registered: 2025-06-02
Posts: 3

Re: DisplayPort USB-C monitor not detected

Thank you for your answer!

I have some additional information : when I connected the laptop to a single monitor using the same kind of cable everything worked fine, but today I tried on a duo again (different than the first one) and it failed like last time. The two monitors are connected to each other by a DisplayPort cable, and somehow even when the DP cable is unplugged I have no output. Additionally, the main monitor  (to which the USB-c cable is plugged to) is the one connected to the keyboard and mouse (both work) as well as ethernet (which doesn't work either). Could it have something to do with the monitor configuration when there are two of them, somehow?

Either way, here are the outputs you asked for:

> lsmod | grep xhci
xhci_pci               24576  0
xhci_pci_renesas       24576  1 xhci_pci

I believe it means it is on, I also check the BIOS and it is enabled there too. The nvidia approach didn't seem to work unfortunately,

lsusb

>lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 145f:0263 Trust Trust Wireless Mouse
Bus 001 Device 004: ID 5986:211b Bison Electronics Inc. HD Webcam
Bus 001 Device 005: ID 1462:1601 Micro Star International MysticLight MS-1565
Bus 001 Device 006: ID 03f0:0968 HP, Inc USB2.1 Hub
Bus 001 Device 007: ID 8087:0033 Intel Corp. AX211 Bluetooth
Bus 001 Device 008: ID 03f0:0968 HP, Inc USB2.1 Hub
Bus 001 Device 009: ID 03f0:0968 HP, Inc USB2.1 Hub
Bus 001 Device 010: ID 0461:594a Primax Electronics, Ltd HP 128 Laser Wired Mouse
Bus 001 Device 011: ID 046a:c098 CHERRY CHERRY Corded Device
Bus 001 Device 012: ID 18d1:4ee1 Google Inc. Nexus/Pixel Device (MTP)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 069: ID 03f0:2347 HP, Inc USB3.1 Hub
Bus 002 Device 070: ID 03f0:2347 HP, Inc 

kscreen-doctor (I don't have xrandr, but I believe it provides similar information?)

>kscreen-doctor -o
Output: 1 eDP-2
        enabled
        connected
        priority 1
        Panel
        Modes:  0:1920x1080@144*!  1:1920x1080@60  2:1280x1024@60  3:1024x768@60  4:1280x800@60  5:1920x1080@60  6:1600x900@60  7:1368x768@60  8:1280x720@60 
        Geometry: 0,0 1536x864
        Scale: 1.25
        Rotation: 1
        Overscan: 0
        Vrr: Never
        RgbRange: Automatic
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB

Offline

#4 2025-06-04 18:28:32

airbus777neo
Member
Registered: 2025-06-03
Posts: 35

Re: DisplayPort USB-C monitor not detected

Thanks for the response!

This is kinda puzzling for my little knowledge, and it does seem so for most people regarding some USB stuff (despite similar issues being somewhat populated):

I just decided to try and have a look into what the error code -71 meant that was listed in the dmesg log

usb 2-3.1: Failed to suspend device, error -71

After having a search for around 15 minutes I found few and varying results (as these codes do not seem to be documented).

One to try might be this, which does seem logical to me, as it has to do with endpoints, which were warned about in

xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or *ep* state.

as previously discussed:  https://www.spinics.net/lists/usb/msg02644.html, which I then found similar results for in https://forum.manjaro.org/t/how-to-get- … work/46927.

The thing here being to add the line

options usbcore use_both_schemes=y

to the file /etc/modprobe.d/modprobe.conf

The initial descriptor under the USB controller interface of lspci did throw me off any firmware issues, as I couldn't find anything about that, but the new lsmod output did contain the module

xhci_pci_renesas

which is interesting as I was reading a forums post about such issues with a Renesas USB controller here, where the possible fix would be to install the upd72020x-fw package (which is, however, AUR rather than a core package).

So if you suspect that might be the actual USB controller then give it a go, but for now I can't really think of or find anything else...

I would have zero idea as to why a single monitor setup worked over the dual though, but perhaps you could check the monitor setup, maybe in its settings or the physical connection.

Again, sorry if I'm unable to help

Last edited by airbus777neo (2025-06-06 06:33:38)


Just a computer fanatic finally beginning to etch out of his shell in experience
"The man who chases two rabbits catches none." — Confucius

Offline

#5 2025-06-06 07:40:28

Rumengol
Member
Registered: 2025-06-02
Posts: 3

Re: DisplayPort USB-C monitor not detected

Well now I am very confused...

Today I wanted to try another dual monitor before trying your suggestions, and to my surprise it worked on the first try! So at first I thought it may be because it is the same model of monitors (we have 2 different models, so I thought maybe the issue occurs if it's a dual monitor of 2 different model), but it's not that. It seems I was just unlucky with my first few attempts.

I will keep experimenting with the not functioning monitors and keep you updated if I find out the problem.

Thank you for your help!

Offline

#6 2025-06-06 16:37:27

airbus777neo
Member
Registered: 2025-06-03
Posts: 35

Re: DisplayPort USB-C monitor not detected

Very interesting...

Well I suppose I can leave it for now then, until you potentially face any more issues/find the cause?

Anyways, glad to help

Last edited by airbus777neo (2025-06-06 16:37:59)


Just a computer fanatic finally beginning to etch out of his shell in experience
"The man who chases two rabbits catches none." — Confucius

Offline

Board footer

Powered by FluxBB