[pulseaudio-discuss] card: Only set active_profile with available profile
David Henningsson
david.henningsson at canonical.com
Mon Nov 18 07:28:46 PST 2013
On 11/17/2013 02:17 PM, Colin Guthrie wrote:
> I'm not solving any specific problem per-se. I'm just looking at several
> bugs where incorrect profiles appear to be selected by default on first
> boot where HDMI is picked over regular analog output (for those alsa
> cards which share a single card for both HDMI and Analog output rather
> than having it presented as separate cards) despite HDMI having a lower
> priority.
This seems strange. But a pulseaudio verbose log could probably reveal
what is happening.
Anyway, since ALSA does not use profile availability, your patch will
unlikely affect the problem, but I guess you already figured that out.
> A further complication to my current bugs is that sometimes Headphone
> *ports* are picked by default on first boot even when they are
> unavailable and again are not the highest priority port.
I think you should try to debug module-switch-on-port-available, that's
probably where the problem lies. But again, a pulseaudio verbose log is
the key here I'd say. I guess if you modify default.pa to not load the
restore modules that would emulate a clean boot well enough for this
scenario.
> For reference the bug that covers both the afore mentioned cases is:
> https://bugs.mageia.org/show_bug.cgi?id=11642
I skimmed it through - if somebody has a "line out" port that's
unavailable but still he has something plugged into his line out, that's
a bug. Alsa-info and PA verbose log needed to figure out if it's PA or
kernel.
--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
More information about the pulseaudio-discuss
mailing list