alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Linking ALSA playback devices and DRM connectors
@ 2019-06-04 15:05 Ser, Simon
  2019-06-04 15:15 ` Christian König
  0 siblings, 1 reply; 9+ messages in thread
From: Ser, Simon @ 2019-06-04 15:05 UTC (permalink / raw)
  To: dri-devel@lists.freedesktop.org, alsa-devel@alsa-project.org

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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-06-11 10:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-04 15:05 Linking ALSA playback devices and DRM connectors Ser, Simon
2019-06-04 15:15 ` Christian König
2019-06-04 15:24   ` Daniel Vetter
2019-06-04 16:25     ` Ville Syrjälä
2019-06-11 10:01       ` [alsa-devel] " Takashi Iwai
2019-06-06  9:17     ` Ser, Simon
2019-06-06  9:13   ` Ser, Simon
2019-06-06  9:20     ` Koenig, Christian
2019-06-07 17:02     ` Ville Syrjälä

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).