[alsa-devel] Intel HDA / ALC662 analog surround problem

Raymond Yau superquad.vortex2 at gmail.com
Fri Feb 27 03:11:20 CET 2015


>
> >> > You have to post the output of alsa-info.sh
> >>
> >> Please see the attached file.
>
> > [    0.655493] sound hdaudioC1D0: autoconfig: line_outs=1
(0x14/0x0/0x0/0x0/0x0) type:line
> > [    0.655494] sound hdaudioC1D0:    speaker_outs=1
(0x15/0x0/0x0/0x0/0x0)
> > [    0.655495] sound hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
> > [    0.655496] sound hdaudioC1D0:    mono: mono_out=0x0
> > [    0.655496] sound hdaudioC1D0:    dig-out=0x1e/0x0
> > [    0.655497] sound hdaudioC1D0:    inputs:
> > [    0.655498] sound hdaudioC1D0:      Front Mic=0x19
> > [    0.655499] sound hdaudioC1D0:      Rear Mic=0x18
> > [    0.655499] sound hdaudioC1D0:      Line=0x1a
>
> > This is a known bug of hda_generic.c for those desktop with internal
> > speaker and three audio jacks at rear panel (e.g. those lenovo
thinkcenter
> > with alc66x codec)
>
> > The driver prefer to assign volume control/dac to headphone, line out
and
> > internal speaker instead of line out and the other two multi io jacks
>
> > The workaround is to change the internal speaker as not connected node
> > 0x15
>
> Could you please advise how to do this? Is it possible from userland or
do I
> have to patch something?
>
> Would a new fixup mode definition for the kernel help and if yes, how
should
> it look like, i.e. which pins should be listed? (I'm capable of
submitting a
> kernel patch.)

Try early patching/hdajackretask to change node 0x15 Speaker as not
connected

>
> > or
>
> > You need to increase badness of multi io so that driver select multi io
as
> > the best config
>
> I've found your patch from 2013 while googling for the topic. The current
> kernel already sets BAD_MULTI_IO = 0x120.
>
> Do you mean to further increase it? If so, to what value, or is increasing
> possible from userland?
>

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_generic.c?id=03ad6a8c93b6df2d65c305b5b5f9474068b45bfb

This patch has side effect on your configuration with three DAC as it
create "Master playback volume" at node 0x02 and "Speaker+LO Playback
switch at node 0x14 line out jack


More information about the Alsa-devel mailing list