[PATCH 0/2] Suppress the analog-output path when it's redundant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2014-08-17 at 21:03 +0600, Alexander E. Patrakov wrote:
> 2014-08-17 17:52 GMT+06:00 Tanu Kaskinen <tanu.kaskinen at linux.intel.com>:
> > The analog-output path should be used only when more specific outputs
> > don't exist, so usually it should be suppressed, and currently that
> > doesn't happen. One practical problem caused by that is that the
> > analog-output port may get chosen during boot if headphones are
> > plugged in, because analog-output has higher priority than headphones
> > and the speaker port is unavailable[1]. That particular problem could
> > maybe be fixed by decreasing the analog-output priority, or by
> > tweaking module-switch-on-port-available, but this time I decided to
> > fix the problem of analog-output appearing when it's redundant.
> >
> > [1] https://bugs.freedesktop.org/show_bug.cgi?id=74609
> >
> > Tanu Kaskinen (2):
> >   alsa-mixer: Fix path subset detection
> >   alsa-mixer: Ignore some elements in the analog-output path
> >
> >  src/modules/alsa/alsa-mixer.c                   | 26 +++++++++----------
> >  src/modules/alsa/mixer/paths/analog-output.conf | 34 -------------------------
> >  2 files changed, 13 insertions(+), 47 deletions(-)
> 
> I have looked at and tested both patches on my laptop.
> 
> Patch 1/2 gets a full ACK. It makes mixer element handling consistent
> with the existing code for jack handling.

Thanks, I pushed 1/2 now. As I said in the previous mail, 2/2 needs some
fixing plus a test, so that will have to wait for a while.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux