Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4455

Compute Module • CM4S -- Sometimes card0-HDMI-A-1, sometimes card1-HDMI-A-1

$
0
0
I have a CM4S device with a display connected through via HDMI. It's running the latest Bookworm OS.

The display is configured with:

Code:

dtoverlay=vc4-kms-v3d,noaudiodisable_fw_kms_setup=1
Sometimes the display is enumerated as `card0-HDMI-A-1` and sometimes its enumerated as `card1-HDMI-A-1` in `/sys/class/drm/`. Everything works fine, but my software needs to read information from the display's files `sys/class/drm/` and it would be nice to now have to add a check to see which one it is.

Is there a way to make this enumeration deterministic?

Statistics: Posted by JinShil — Fri Jan 26, 2024 3:57 am — Replies 0 — Views 58



Viewing all articles
Browse latest Browse all 4455

Trending Articles