You are not logged in.
I have a ThinkPad T14s Gen 1. It has two USB-C ports, 4 and 5.
I have two monitors, one USB-C, the other HDMI. I can output to either monitor individually. The USB-C one receives output correctly from either port (4 or 5).
The problem is, when the USB-C is in port 4, it disconnects the HDMI ports according to `xrandr`. I can only connect and output to both monitors if the USB-C is in port 5. Why is this? Is there a way around this? I'd like to have the USB-C on port 4; it works out better cable-management-wise.
I am using xrandr to output. HDMI connects as HDMI-2, USB-C port 4 as DP-2, USB-C port 5 as DP-1.
The USB-C monitor outputs 65W of power through that cable.
Last edited by ThinkPad (2023-03-15 15:08:43)
Offline
port 4 supports USB-C 3.2 Gen 1
port 5 supports USB-C 3.2 Gen 2 / Thunderbolt 3
Can the usb-c monitor use a separate powersource and if so does it help ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Not sure if we're on the same page. The USB-C [capable] monitor has its own power source connected to the wall outlet. That is the only supplied power source.
What I meant is that the USB-C monitor powers my laptop as it receives video output.
Last edited by ThinkPad (2023-03-16 23:36:36)
Offline
1x USB-C 3.2 Gen 1 (support data transfer, Power Delivery and DisplayPortTM 1.2)
1x USB-C 3.2 Gen 2 / Thunderbolt 3 (support data transfer, Power Delivery and DisplayPort 1.2)
That should be port 4 and port 5.
If I understand you correctly the usb-c connection is used to deliver power to the laptop, not have the laptop power the monitor as I assumed ?
The obvious difference is thunderbolt 3 support, but there may be something else going on .
It does seem possible the hdmi port is actually a dp-over-usb-c to hdmi adapter that shares the source with usb port 4 .
Please post
$ lspci -k
$ lsusb -tv
$ xrandr
(the latter 2 with and without the hdmi monitor connected)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
1x USB-C 3.2 Gen 1 (support data transfer, Power Delivery and DisplayPortTM 1.2)
1x USB-C 3.2 Gen 2 / Thunderbolt 3 (support data transfer, Power Delivery and DisplayPort 1.2)That should be port 4 and port 5.
Correct!
If I understand you correctly the usb-c connection is used to deliver power to the laptop, not have the laptop power the monitor as I assumed ?
Correct, wall outlet powers monitor, monitor powers laptop.
The obvious difference is thunderbolt 3 support, but there may be something else going on .
Yes, I couldn't figure why this would make a difference though. To my understanding this only matters if trying to output to multiple monitors from the same port and things like that.
It does seem possible the hdmi port is actually a dp-over-usb-c to hdmi adapter that shares the source with usb port 4 .
Please post
$ lspci -k $ lsusb -tv $ xrandr
(the latter 2 with and without the hdmi monitor connected)
Very interesting theory. Here is the requested output. I ran each command with the USB-C monitor in port 4 and the HDMI plugged in, unless otherwise specified:
$ lspci -k
00:00.0 Host bridge: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller (rev 0c)
Subsystem: Lenovo Device 22af
Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02)
Subsystem: Lenovo Device 22af
Kernel driver in use: i915
Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
Subsystem: Lenovo Device 22af
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device_pci_legacy
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
Subsystem: Lenovo Device 22af
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
Subsystem: Lenovo Device 22af
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller
Subsystem: Lenovo Device 22af
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Comet Lake PCH-LP Shared SRAM
Subsystem: Lenovo Device 22af
00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi
Subsystem: Intel Corporation Wi-Fi 6 AX201 160MHz
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
Subsystem: Lenovo Device 22af
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1c.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #1 (rev f0)
Subsystem: Lenovo Device 22af
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #5 (rev f0)
Subsystem: Lenovo Device 22af
Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)
Subsystem: Lenovo Device 22af
Kernel driver in use: pcieport
00:1d.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #13 (rev f0)
Subsystem: Lenovo Device 22af
Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller
Subsystem: Lenovo Device 22af
00:1f.3 Audio device: Intel Corporation Comet Lake PCH-LP cAVS
Subsystem: Lenovo Device 22af
Kernel driver in use: sof-audio-pci-intel-cnl
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl
00:1f.4 SMBus: Intel Corporation Comet Lake PCH-LP SMBus Host Controller
Subsystem: Lenovo Device 22af
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Comet Lake SPI (flash) Controller
Subsystem: Lenovo Device 22af
Kernel driver in use: intel-spi
Kernel modules: spi_intel_pci
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-V
Subsystem: Lenovo Device 22af
Kernel driver in use: e1000e
Kernel modules: e1000e
02:00.0 SD Host controller: Genesys Logic, Inc GL9750 SD Host Controller (rev 01)
Subsystem: Lenovo Device 22af
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
03:00.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
Subsystem: Lenovo Device 22ae
Kernel driver in use: pcieport
04:00.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
Subsystem: Lenovo Device 22ae
Kernel driver in use: pcieport
04:01.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
Subsystem: Lenovo Device 22ae
Kernel driver in use: pcieport
04:02.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
Subsystem: Lenovo Device 22ae
Kernel driver in use: pcieport
05:00.0 System peripheral: Intel Corporation JHL6240 Thunderbolt 3 NHI (Low Power) [Alpine Ridge LP 2016] (rev 01)
Subsystem: Lenovo Device 22ae
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt
2b:00.0 USB controller: Intel Corporation JHL6240 Thunderbolt 3 USB 3.1 Controller (Low Power) [Alpine Ridge LP 2016] (rev 01)
Subsystem: Lenovo Device 22ae
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
2e:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
Subsystem: Samsung Electronics Co Ltd SSD 970 EVO
Kernel driver in use: nvme
Kernel modules: nvme
$ lsusb -tv # with hdmi
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 2: Dev 18, If 0, Class=Hub, Driver=hub/6p, 480M
ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
|__ Port 1: Dev 19, If 0, Class=Hub, Driver=hub/2p, 480M
ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
|__ Port 3: Dev 22, If 0, Class=Video, Driver=uvcvideo, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 3: Dev 22, If 1, Class=Video, Driver=uvcvideo, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 3: Dev 22, If 2, Class=Audio, Driver=snd-usb-audio, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 3: Dev 22, If 3, Class=Audio, Driver=snd-usb-audio, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 3: Dev 22, If 4, Class=Vendor Specific Class, Driver=, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 3: Dev 22, If 5, Class=Human Interface Device, Driver=usbhid, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 4: Dev 20, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
|__ Port 6: Dev 21, If 0, Class=Human Interface Device, Driver=usbhid, 480M
ID 0bda:1100 Realtek Semiconductor Corp.
|__ Port 4: Dev 17, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 019c:0042
|__ Port 4: Dev 17, If 1, Class=Human Interface Device, Driver=usbhid, 12M
ID 019c:0042
|__ Port 8: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
ID 13d3:5405 IMC Networks
|__ Port 8: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
ID 13d3:5405 IMC Networks
|__ Port 8: Dev 2, If 2, Class=Video, Driver=uvcvideo, 480M
ID 13d3:5405 IMC Networks
|__ Port 8: Dev 2, If 3, Class=Video, Driver=uvcvideo, 480M
ID 13d3:5405 IMC Networks
|__ Port 8: Dev 2, If 4, Class=Application Specific Interface, Driver=, 480M
ID 13d3:5405 IMC Networks
|__ Port 10: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
ID 8087:0026 Intel Corp. AX201 Bluetooth
|__ Port 10: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
ID 8087:0026 Intel Corp. AX201 Bluetooth
$ lsusb -tv # without hdmi
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 2: Dev 18, If 0, Class=Hub, Driver=hub/6p, 480M
ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
|__ Port 1: Dev 19, If 0, Class=Hub, Driver=hub/2p, 480M
ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
|__ Port 3: Dev 22, If 0, Class=Video, Driver=uvcvideo, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 3: Dev 22, If 1, Class=Video, Driver=uvcvideo, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 3: Dev 22, If 2, Class=Audio, Driver=snd-usb-audio, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 3: Dev 22, If 3, Class=Audio, Driver=snd-usb-audio, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 3: Dev 22, If 4, Class=Vendor Specific Class, Driver=, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 3: Dev 22, If 5, Class=Human Interface Device, Driver=usbhid, 480M
ID 046d:0893 Logitech, Inc. StreamCam
|__ Port 4: Dev 20, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
|__ Port 6: Dev 21, If 0, Class=Human Interface Device, Driver=usbhid, 480M
ID 0bda:1100 Realtek Semiconductor Corp.
|__ Port 4: Dev 17, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 019c:0042
|__ Port 4: Dev 17, If 1, Class=Human Interface Device, Driver=usbhid, 12M
ID 019c:0042
|__ Port 8: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
ID 13d3:5405 IMC Networks
|__ Port 8: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
ID 13d3:5405 IMC Networks
|__ Port 8: Dev 2, If 2, Class=Video, Driver=uvcvideo, 480M
ID 13d3:5405 IMC Networks
|__ Port 8: Dev 2, If 3, Class=Video, Driver=uvcvideo, 480M
ID 13d3:5405 IMC Networks
|__ Port 8: Dev 2, If 4, Class=Application Specific Interface, Driver=, 480M
ID 13d3:5405 IMC Networks
|__ Port 10: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
ID 8087:0026 Intel Corp. AX201 Bluetooth
|__ Port 10: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
ID 8087:0026 Intel Corp. AX201 Bluetooth
$ xrandr # with hdmi
Screen 0: minimum 320 x 200, current 1080 x 1920, maximum 16384 x 16384
eDP-1 connected primary 1080x1920+0+0 left (normal left inverted right x axis y axis) 309mm x 174mm
1920x1080 60.03*+ 60.01 59.97 59.96 59.93
1680x1050 59.95 59.88
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 59.99 59.97 59.81 59.91
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 1080x1920+0+0 left (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00*+
1600x900 60.00
1280x1024 75.02 60.02
1152x864 75.00
1280x720 74.91 60.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
720x400 70.08
HDMI-2 disconnected (normal left inverted right x axis y axis)
$ xrandr # without hdmi
Screen 0: minimum 320 x 200, current 1080 x 1920, maximum 16384 x 16384
eDP-1 connected primary 1080x1920+0+0 left (normal left inverted right x axis y axis) 309mm x 174mm
1920x1080 60.03*+ 60.01 59.97 59.96 59.93
1680x1050 59.95 59.88
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 59.99 59.97 59.81 59.91
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 1080x1920+0+0 left (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00*+
1600x900 60.00
1280x1024 75.02 60.02
1152x864 75.00
1280x720 74.91 60.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
720x400 70.08
HDMI-2 disconnected (normal left inverted right x axis y axis)
Offline
The lspci output only sees one videocard, the integrated Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02) .
lsusb outputs make clear that the videosignals are not visible in lsusb output . (wasn't expecting that, but hoped it would show info).
It looks like you posted same xrandr output twice, but that's not a big issue.
xrandr output shows there are 5 monitor outputs: eDP-1, DP-1, HDMI-1, DP-2, HDMI-2 . Lenovo doc however mentions the laptop can drive 3 monitors (internal + 2 external ones ) .
We need more info.
Please boot with the hdmi monitor disconnected/powered off and the DP monitor in usb port 5 .
Make a note what time it is when you have logged in as regular user.
Then connect the hdmi monitor, wait a while (say a minute) to allow the system to settle and move the DP monitor connection from usb port 5 to port 4 .
Again wait a while to allow the system to settle.
Post dmesg -T and journalctl -b .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Apologies I've been very busy, I will get back to you on this.
Offline