All of lore.kernel.org
 help / color / mirror / Atom feed
* Dynamic HDMI PCM creation
@ 2012-09-10 13:01 Takashi Iwai
  2012-09-17 10:15 ` David Henningsson
  2012-09-19 11:54 ` David Henningsson
  0 siblings, 2 replies; 9+ messages in thread
From: Takashi Iwai @ 2012-09-10 13:01 UTC (permalink / raw)
  To: David Henningsson; +Cc: alsa-devel

Hi David,

as we discussed at Plumbers, I tried some hack to create/delete
HDMI/DP PCM stream per hotplug/unplug.  Test patches are found in
sound-unstable git tree topic/hdmi-dynamic-pcm branch
  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git

The patches are all small and easy, but it's still in a pretty rough
cut.  It won't handle some cases, e.g. unplug during suspend, or
such, I'm afraid.  After all, it's just a test.

With these patches, the PCM device appears and disappears properly
upon HDMI/DP hotplug/unplug on my system.  On mine, it appears as
/dev/snd/pcmC0D8 as it's an Intel on-board.  So far, so good.

Now the problem is that PA gets confused when this happens.  It can
switch to HDMI/DP, but then the analog output disappears from PA's
profile.  You cannot switch back to analog output after that, even
after you unplug HDMI/DP cable.

Or, it might be my PA version...  I'll check newer one.
But it'd be good if you also check in your side.


thanks,

Takashi

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

end of thread, other threads:[~2012-09-23  2:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10 13:01 Dynamic HDMI PCM creation Takashi Iwai
2012-09-17 10:15 ` David Henningsson
2012-09-17 10:40   ` Takashi Iwai
2012-09-17 11:03     ` Jaroslav Kysela
2012-09-17 11:46       ` Takashi Iwai
2012-09-17 12:20         ` Jaroslav Kysela
2012-09-17 13:28           ` David Henningsson
2012-09-23  2:47             ` Raymond Yau
2012-09-19 11:54 ` David Henningsson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.