From: David Henningsson <david.henningsson@canonical.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org,
General PulseAudio Discussion
<pulseaudio-discuss@lists.freedesktop.org>
Subject: Re: Dynamic HDMI PCM creation
Date: Wed, 19 Sep 2012 13:54:28 +0200 [thread overview]
Message-ID: <5059B274.40805@canonical.com> (raw)
In-Reply-To: <s5htxv6rq0e.wl%tiwai@suse.de>
On 09/10/2012 03:01 PM, Takashi Iwai wrote:
> 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.
Which PA version are you testing with?
> But it'd be good if you also check in your side.
Trying to figure out what's happening here - could you give the output
of "pacmd list" both before and after things go wrong, as well as a more
detailed instruction of what you do in what order?
It seems very strange that a profile would disappear during a card's
lifetime, so probably it's something different happening.
Also; just to clarify - by default PulseAudio only tries one output +
one input during its probing, which means that if you have a card which
has both analog and HDMI outputs, by default it does not support
simultaneous output to both.
As such it seems that "cannot switch back to analog output" is the
troublesome point here, so exactly how are you trying to switch back,
and do you get an error message?
--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
prev parent reply other threads:[~2012-09-19 11:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5059B274.40805@canonical.com \
--to=david.henningsson@canonical.com \
--cc=alsa-devel@alsa-project.org \
--cc=pulseaudio-discuss@lists.freedesktop.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.