Linking ALSA playback devices and DRM connectors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to link ALSA playback devices and DRM connectors. In other
words, I'd like to be able to know which ALSA device I should open to
play audio on a given connector.

Unfortunately, I haven't found a way to extract this information. I
know /proc/asound/cardN/eld* expose the EDID-like data. However by
looking at the ALSA API (also: aplay -l and -L) I can't find a way to
figure out which PCM device maps to the ELD.

Am I missing something?

If not, what would be the best way to expose this?

- A symlink to the ALSA audio PCM device in
  /sys/class/drm/cardN-CONNECTOR?
- A symlink to the DRM connector in /sys/class/sound/pcm*?
- A DRM connector property?
- Somehow expose the connector name via the ALSA API?
- Expose the connector EDID via ALSA?
- Other ideas?

Thanks!

Simon Ser
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux