alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* HDMI on HDA device=3
@ 2010-11-09 14:42 David Henningsson
  2010-11-09 14:58 ` Jaroslav Kysela
  2010-11-09 16:24 ` Mohammad Bahathir Hashim
  0 siblings, 2 replies; 9+ messages in thread
From: David Henningsson @ 2010-11-09 14:42 UTC (permalink / raw)
  To: ALSA Development Mailing List

I have seen a few HDMIs which share the HDA controller with the onboard 
sound card, but the codecs are different, e g the onboard one is at 
address #0 and the HDMI is at address #3 - or even #3, #7, #8 and #9 in 
some cases.

Now, if the user specifies the device string hdmi:x (where x is card 
name/number), I'd like it to kind of autodetect this and use DEV=3 
instead of DEV=0, and without breaking the cards where the hdmi is a 
separate card with a codec at address #0. However, it still seems like 
the device is at DEV=3 somehow.

Now, looking at /usr/share/alsa/cards/HDA-Intel.conf, I notice that 
there are entries HDA-Intel.pcm.hdmi.0 which sets DEV=3, so it seems 
like someone already thought of this. However, just using "hdmi:x" does 
not trigger "DEV=3". I'm still not grepping all of the alsa lisp 
architecture stuff, so could someone explain to me how the 
HDA-Intel.pcm.hdmi.0 entry relates to the "hdmi:x" alsa device string?

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

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

end of thread, other threads:[~2010-11-10  3:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09 14:42 HDMI on HDA device=3 David Henningsson
2010-11-09 14:58 ` Jaroslav Kysela
2010-11-09 15:16   ` David Henningsson
2010-11-09 16:38     ` Jaroslav Kysela
2010-11-09 16:24 ` Mohammad Bahathir Hashim
2010-11-09 16:40   ` Jaroslav Kysela
2010-11-09 17:04     ` Mohammad Bahathir Hashim
2010-11-09 17:54       ` Jaroslav Kysela
2010-11-10  3:12         ` Mohammad Bahathir Hashim

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).