You are not logged in.

#1 2024-07-13 16:41:47

zerodaywolf
Member
Registered: 2024-07-13
Posts: 6

HDMI to USB-C problem - HP 13-ay0xxx

Hello everyone!

Recently I've been facing an issue connecting to my external monitor via HDMI to USB-C. I've never had a problem before with this monitor before and my laptop (Hp 13-ay0xxx) supports DP Alt mode. The funny thing is when I plug in the cable right during boot or reboot or power off, the monitor gets detected and the screen gets mirrored. But if I plug in the cable after i've booted up or if the cable is left plugged in from poweroff to bootup, it doesn't get detected and the monitor displays "No signal". So it's clearly getting detected and connecting but i'm not sure why it only works during bootup/power off. Please help me fix this!

Some details:
Kernel: 6.6.39-1-lts
Window manager: dwm
External monitor: BenQ GW2480 24"

I've tried a bunch of things:
1. Update (pacman -Syu)
2. Playing around with xrandr
3. Looking through `dmesg` and `udevadm`.

Hope you find something useful in these outputs. Please let me know if you need something more.

❯ sudo dmesg | grep -i hdmi
[   25.141511] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0/input15
[   28.967660] [drm] DP-HDMI FRL PCON supported
❯ lspci -k | grep 'VGA'
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon Vega Series / Radeon Vega Mobile Series] (rev c2)
❯ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 294mm x 165mm
   1920x1080     60.01*+
   1680x1050     60.01  
   1280x1024     60.01  
   1440x900      60.01  
   1280x800      60.01  
   1280x720      60.01  
   1024x768      60.01  
   800x600       60.01  
   640x480       60.01  
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
 ❯ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 06cb:00e7 Synaptics, Inc. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0bda:b00c Realtek Semiconductor Corp. Bluetooth Radio
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 ❯ sudo udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[4164.827253] remove   /devices/virtual/usb_power_delivery/pd1 (usb_power_delivery)
KERNEL[4164.827316] remove   /devices/platform/USBC000:00/typec/port0/port0-partner (typec)
KERNEL[4164.827375] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001 (power_supply)
UDEV  [4164.831117] remove   /devices/virtual/usb_power_delivery/pd1 (usb_power_delivery)
UDEV  [4164.831757] remove   /devices/platform/USBC000:00/typec/port0/port0-partner (typec)
UDEV  [4164.832108] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001 (power_supply)
KERNEL[4166.386367] add      /devices/platform/USBC000:00/typec/port0/port0-partner (typec)
KERNEL[4166.386440] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001 (power_supply)
UDEV  [4166.387584] add      /devices/platform/USBC000:00/typec/port0/port0-partner (typec)
UDEV  [4166.387664] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001 (power_supply)
KERNEL[4166.791800] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1 (usb)
KERNEL[4166.892056] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.0 (usb)
KERNEL[4166.892109] bind     /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1 (usb)
UDEV  [4166.921219] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1 (usb)
UDEV  [4166.922256] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.0 (usb)
UDEV  [4166.923460] bind     /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1 (usb)
KERNEL[4167.025693] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001 (power_supply)
UDEV  [4167.026543] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001 (power_supply)
KERNEL[4167.406969] add      /devices/virtual/usb_power_delivery/pd1 (usb_power_delivery)
UDEV  [4167.407667] add      /devices/virtual/usb_power_delivery/pd1 (usb_power_delivery)
KERNEL[4169.835230] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001 (power_supply)
UDEV  [4169.838213] change   /devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001 (power_supply)

Thank you in advance!

Last edited by zerodaywolf (2024-07-13 16:55:38)

Offline

#2 2024-07-13 17:37:35

cryptearth
Member
Registered: 2024-02-03
Posts: 2,167

Re: HDMI to USB-C problem - HP 13-ay0xxx

just a stupid guess: how much have you paid for the cable and what brand is it?
I have a feeling the issue is caused by the rather simple firmware in the chip in either of the plugs and that for some reason it either outright fails or have issues communicating with the chip in your laptop
could also be a fault of either the chips firmware in your laptop or a driver issue - but the driver is programmed to meet the specs interface and from a HP device although all the marketing crap they do with thier printers I expect it follows the specs, too
also: would love to know if this issue also occurs on windows - but I doubt you have windows installed?
also also: as you mentioned hdmi: usb-c is DP - so there's another conversion required between HDMI and DP - could also be the issue

Last edited by cryptearth (2024-07-13 17:42:47)

Offline

#3 2024-07-16 16:45:42

zerodaywolf
Member
Registered: 2024-07-13
Posts: 6

Re: HDMI to USB-C problem - HP 13-ay0xxx

To answer your question, the cable cost me around 17 USD. But I'm pretty sure it's not the cable as I've used this cable for my macbook with the same monitor. Also, to rule out hardware related issues, I connected my laptop to a different monitor which has USB-C to USB-C support and it worked fine.

The current status is that I can't even connect my laptop to the monitor like before (during bootup). But the adapter DOES show up in the output of lsusb.

❯ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 06cb:00e7 Synaptics, Inc. 
Bus 001 Device 003: ID 343c:0000 xxxxxxxx USB Type-C Digital AV Adapter
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0bda:b00c Realtek Semiconductor Corp. Bluetooth Radio
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

dmesg output:

❯ sudo dmesg -k | grep -i 'hdmi'
[   15.042545] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0/input22
[   18.858928] [drm] DP-HDMI FRL PCON supported

Offline

#4 2024-07-16 17:04:20

cryptearth
Member
Registered: 2024-02-03
Posts: 2,167

Re: HDMI to USB-C problem - HP 13-ay0xxx

it was just a stupid guess - as I had my share of issues with less expensive cables in the past (and was able to confirm in my case it was indeed the cable at fault)
do you by chance have a way to feed in another hdmi source to the monitor to check if the hdmi input works? as the conversion from the DP out to hdmi in is still in question
from personal experience anything related to DP can be tricky as for some stupid reason the handshake often fails when a screen is hot-plug added (although hotplug is part of the spec) and often require a cold reboot of both devices - so it could be possible that when the DP link tries to establish a handshake something at the hdmi part fails and hence the hdcp fails - which results in no output
unfortunately my experience with type-c is limited to it being the charge port on my phones thanks to the EU made it mandatory - but I have no hands-on experience with thunderbolt or dp-altmode

Offline

#5 2024-07-17 17:20:43

zerodaywolf
Member
Registered: 2024-07-13
Posts: 6

Re: HDMI to USB-C problem - HP 13-ay0xxx

Yes I've used the cable with a Macbook and it works just fine. I believe there's some problem with the way arch is sending signals to the monitor when the cable is connected (cuz I get a "No signal" error from the monitor). Not sure how to manually trigger such signals. Any ideas?

Offline

#6 2024-07-21 06:07:28

zerodaywolf
Member
Registered: 2024-07-13
Posts: 6

Re: HDMI to USB-C problem - HP 13-ay0xxx

Xorg.0.log -

[   149.661] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   149.661] (EE) open /dev/dri/card0: No such file or directory
[   149.661] (WW) Falling back to old probe method for modesetting
[   149.661] (EE) open /dev/dri/card0: No such file or directory
[   149.661] (EE) Screen 0 deleted because of no matching config section.
[   149.661] (II) UnloadModule: "modesetting"
[   149.661] (EE) Device(s) detected, but none match those in the config file.
[   149.661] (EE) 
Fatal server error:
[   149.661] (EE) no screens found(EE) 

Does this help?

Offline

#7 2024-07-21 06:40:48

cryptearth
Member
Registered: 2024-02-03
Posts: 2,167

Re: HDMI to USB-C problem - HP 13-ay0xxx

can you please provide a clean full output of

sudo lspci -vk
sudo lsusb -vt

Last edited by cryptearth (2024-07-21 06:42:24)

Offline

#8 2024-07-21 10:44:57

zerodaywolf
Member
Registered: 2024-07-13
Posts: 6

Re: HDMI to USB-C problem - HP 13-ay0xxx

> sudo lspci -vk
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: fast devsel

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: bus master, fast devsel, latency 0, IRQ 255
	Capabilities: [40] Secure device <?>
	Capabilities: [64] MSI: Enable- Count=1/4 Maskable- 64bit+
	Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
	Flags: fast devsel, IOMMU group 0

00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Flags: bus master, fast devsel, latency 0, IRQ 35, IOMMU group 1
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 2000-2fff [size=4K] [16-bit]
	Memory behind bridge: d0700000-d07fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot+), IntMsgNum 0
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [370] L1 PM Substates
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [440] Lane Margining at the Receiver
	Kernel driver in use: pcieport

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
	Flags: fast devsel, IOMMU group 2

00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 3
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 3000-3fff [size=4K] [16-bit]
	Memory behind bridge: d0600000-d06fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: 450200000-4503fffff [size=2M] [32-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot+), IntMsgNum 0
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [370] L1 PM Substates
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [440] Lane Margining at the Receiver
	Kernel driver in use: pcieport

00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Flags: bus master, fast devsel, latency 0, IRQ 37, IOMMU group 4
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 4000-4fff [size=4K] [16-bit]
	Memory behind bridge: d0500000-d05fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: 450400000-4505fffff [size=2M] [32-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot+), IntMsgNum 0
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [370] L1 PM Substates
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [440] Lane Margining at the Receiver
	Kernel driver in use: pcieport

00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
	Flags: fast devsel, IOMMU group 5

00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus (prog-if 00 [Normal decode])
	Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
	Flags: bus master, fast devsel, latency 0, IRQ 38, IOMMU group 5
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 1000-1fff [size=4K] [16-bit]
	Memory behind bridge: d0000000-d04fffff [size=5M] [32-bit]
	Prefetchable memory behind bridge: fce0000000-fcf01fffff [size=258M] [32-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot-), IntMsgNum 0
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [440] Lane Margining at the Receiver
	Kernel driver in use: pcieport

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: 66MHz, medium devsel, IOMMU group 6
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: bus master, 66MHz, medium devsel, latency 0, IOMMU group 6

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
	Flags: fast devsel, IOMMU group 7

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
	Flags: fast devsel, IOMMU group 7

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
	Flags: fast devsel, IOMMU group 7

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
	Flags: fast devsel, IOMMU group 7
	Kernel driver in use: k10temp
	Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
	Flags: fast devsel, IOMMU group 7

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
	Flags: fast devsel, IOMMU group 7

00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
	Flags: fast devsel, IOMMU group 7

00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
	Flags: fast devsel, IOMMU group 7

01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
	DeviceName: WLAN
	Subsystem: Hewlett-Packard Company Device 85f7
	Flags: bus master, fast devsel, latency 0, IRQ 85, IOMMU group 8
	I/O ports at 2000 [size=256]
	Memory at d0700000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, IntMsgNum 0
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-c8-22-01
	Capabilities: [158] Latency Tolerance Reporting
	Capabilities: [160] L1 PM Substates
	Kernel driver in use: rtw_8822ce
	Kernel modules: rtw88_8822ce

02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
	DeviceName: Realtek PCIe CardReader
	Subsystem: Hewlett-Packard Company Device 876e
	Physical Slot: 0
	Flags: bus master, fast devsel, latency 0, IRQ 40, IOMMU group 9
	Memory at d0600000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, IntMsgNum 0
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number 00-00-00-01-00-4c-e0-00
	Capabilities: [150] Latency Tolerance Reporting
	Capabilities: [158] L1 PM Substates
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

03:00.0 Non-Volatile memory controller: SK hynix Gold P31/BC711/PC711 NVMe Solid State Drive (prog-if 02 [NVM Express])
	DeviceName: Realtek RTL8111E Ethernet LOM
	Subsystem: SK hynix Gold P31/BC711/PC711 NVMe Solid State Drive
	Physical Slot: 0-1
	Flags: bus master, fast devsel, latency 0, IRQ 61, IOMMU group 10
	Memory at d0500000 (64-bit, non-prefetchable) [size=16K]
	Memory at d0505000 (32-bit, non-prefetchable) [size=4K]
	Memory at d0504000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable- Count=1/16 Maskable+ 64bit+
	Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
	Capabilities: [c0] Express Endpoint, IntMsgNum 0
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [150] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [160] Power Budgeting <?>
	Capabilities: [1b8] Latency Tolerance Reporting
	Capabilities: [300] Secondary PCI Express
	Capabilities: [400] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [900] L1 PM Substates
	Kernel driver in use: nvme
	Kernel modules: nvme

04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon Vega Series / Radeon Vega Mobile Series] (rev c2) (prog-if 00 [VGA controller])
	DeviceName: AMD Radeon(TM) Graphics
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: bus master, fast devsel, latency 0, IRQ 52, IOMMU group 5
	Memory at fce0000000 (64-bit, prefetchable) [size=256M]
	Memory at fcf0000000 (64-bit, prefetchable) [size=2M]
	I/O ports at 1000 [size=256]
	Memory at d0400000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Legacy Endpoint, IntMsgNum 0
	Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable+ Count=4 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2b0] Address Translation Service (ATS)
	Capabilities: [2c0] Page Request Interface (PRI)
	Capabilities: [2d0] Process Address Space ID (PASID)
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [440] Lane Margining at the Receiver
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: bus master, fast devsel, latency 0, IRQ 83, IOMMU group 5
	Memory at d04c8000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Legacy Endpoint, IntMsgNum 0
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 5
	Memory at d0300000 (32-bit, non-prefetchable) [size=1M]
	Memory at d04ce000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, IntMsgNum 0
	Capabilities: [a0] MSI: Enable- Count=1/2 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable+ Count=2 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: ccp
	Kernel modules: ccp

04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: bus master, fast devsel, latency 0, IRQ 43, IOMMU group 5
	Memory at d0200000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, IntMsgNum 0
	Capabilities: [a0] MSI: Enable- Count=1/8 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable+ Count=8 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: bus master, fast devsel, latency 0, IRQ 52, IOMMU group 5
	Memory at d0100000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, IntMsgNum 0
	Capabilities: [a0] MSI: Enable- Count=1/8 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable+ Count=8 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: bus master, fast devsel, latency 0, IRQ 82, IOMMU group 5
	Memory at d0480000 (32-bit, non-prefetchable) [size=256K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, IntMsgNum 0
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: snd_rn_pci_acp3x
	Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh

04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: bus master, fast devsel, latency 0, IRQ 84, IOMMU group 5
	Memory at d04c0000 (32-bit, non-prefetchable) [size=32K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, IntMsgNum 0
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

04:00.7 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Sensor Fusion Hub
	Subsystem: Hewlett-Packard Company Device 876e
	Flags: fast devsel, IRQ 43, IOMMU group 5
	Memory at d0000000 (32-bit, non-prefetchable) [size=1M]
	Memory at d04cc000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, IntMsgNum 0
	Capabilities: [a0] MSI: Enable- Count=1/2 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable- Count=2 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel modules: amd_sfh
❯ sudo lsusb -vt
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 001: Dev 003, If 0, Class=Billboard, Driver=[none], 1.5M
        ID 343c:0000  
    |__ Port 003: Dev 002, If 0, Class=Vendor Specific Class, Driver=[none], 12M
        ID 06cb:00e7 Synaptics, Inc. 
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 001: Dev 002, If 0, Class=Wireless, Driver=btusb, 12M
        ID 0bda:b00c Realtek Semiconductor Corp. 
    |__ Port 001: Dev 002, If 1, Class=Wireless, Driver=btusb, 12M
        ID 0bda:b00c Realtek Semiconductor Corp. 
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub

Offline

#9 2024-07-21 18:03:24

zerodaywolf
Member
Registered: 2024-07-13
Posts: 6

Re: HDMI to USB-C problem - HP 13-ay0xxx

I think this is specific to AMD only as my machine running on intel and bspwm with the same kernel works fine with the monitor.

Offline

#10 2024-09-11 16:05:30

urbaez22
Member
Registered: 2024-09-11
Posts: 1

Re: HDMI to USB-C problem - HP 13-ay0xxx

I'm facing the same issue (or at least a very similar one), with a chinese/no-brand device..

The device works perfectly with my Android phone, for example, I connect it to the USB-C in my phone and less than three seconds after, I can see my phone screen mirrored on my monitor; but it doesn´t work with my Ubuntu 24.04 Lenovo K14 (AMD Ryzen 7 5800U).

The device shows in lsusb this way:
Bus 001 Device 003: ID 214b:7250 Huasheng Electronics USB2.0 HUB
Bus 001 Device 004: ID 343c:0000 xxxxxxxx USB Type-C Digital AV Adapter
Bus 001 Device 005: ID 14cd:1212 Super Top microSD card reader (SY-T18)

But I haven't been able to make it work, and can't find any information about it in the internet.

Does somebody know how can I debug this?

Thank you..

Offline

#11 2024-09-12 11:36:29

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,060

Re: HDMI to USB-C problem - HP 13-ay0xxx

Ubuntu 24.04 Lenovo K14

Arch Linux distribution support ONLY

You'll have to ask on ubuntu support channels .

Note that not all ports with a usb-c connector support video connections, try other ports.

If that fails add the full output of

$ lspci -k
$ lsusb -vt

to your post on ubuntu forums.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB