[alsa-devel] Sound issues with ALC269VB-based hardware

Takashi Iwai tiwai at suse.de
Tue Jul 17 17:53:00 CEST 2012


At Tue, 17 Jul 2012 17:40:14 +0200,
David Henningsson wrote:
> 
> On 07/17/2012 05:25 PM, Takashi Iwai wrote:
> > At Tue, 17 Jul 2012 17:05:36 +0200,
> > Takashi Iwai wrote:
> >>
> >> At Tue, 17 Jul 2012 15:11:09 +0200,
> >> Anisse Astier wrote:
> >>>
> >>> Hi,
> >>>
> >>> So I have this hardware that has a few issues (all tested with tiwai/sound for-next)
> >>>
> >>> Audio out/speakers:
> >>>   - Audio does not work by default. It needs plugging a jack in either headphone or mic.
> >>>   - disabling "Enable Automute" does make it work. But then it doesn't mute when jack is plugged (obviously).
> >>>
> >>> Mic:
> >>>   - needs model=laptop-dmic so that working "Internal Mic 1" appears
> >>>   - "Internal Mic" is useless.
> >>>   - no jack sense, need to select manually "Internal Mic 1" or "Mic" (external) as Input Source
> >>>
> >>> Please find alsa-info.sh with and without model=laptop-dmic in attachement.
> >>
> >> All sounds like that your BIOS setup is broken.
> >>
> >> You have two internal mics on 0x12 and 0x19.  Judging from your
> >> comment, the pin 0x12 seems bogus.
> >
> > BTW, this revealed a bug in the latest code.  Since phantom jack
> > renaming, the account of ctl name index seems broken.  With this
> > setup, the driver ended up with the duplicated internal mic phantom
> > jack controls.
> >
> > So I applied the patch below now.
> 
> While the new checking is more robust, I fail to see how it happens, and 
> what the phantom jacks have anything to do with it?

So far, the code assumed that the pins to be checked are already
sorted with the same type, i.e. the lastname string is retained more
or less.  After the implementation of phantom jacks, the name string
may be morphing to a different name in the middle, thus the check with
lastname string failed.


Takashi


More information about the Alsa-devel mailing list