[alsa-devel] [PATCH] ALSA: hda: partially revert ALC268 quirk collapse

Alexey Dobriyan adobriyan at gmail.com
Wed Aug 19 19:51:59 CEST 2009


On Sun, Aug 16, 2009 at 11:40:02AM +0200, Takashi Iwai wrote:
> At Sat, 15 Aug 2009 20:53:38 +0400,
> Alexey Dobriyan wrote:
> > 
> > On Sat, Aug 15, 2009 at 05:41:04PM +0200, Takashi Iwai wrote:
> > > At Sat, 15 Aug 2009 16:38:46 +0400,
> > > Alexey Dobriyan wrote:
> > > > 
> > > > Fix alsamixer inability to start:
> > > > 
> > > > 	ALSA lib simple_none.c:1491:(simple_add1) helem (MIXER,'Master Playback Switch',0,3,0) appears twice or more
> > > > 
> > > > ALC268 codec shipped with Toshiba Satellite X200 has ids 1179:ff00 and
> > > > began to match quirk table.
> > > > 
> > > > If it doesn't match and auto-probe from BIOS is used, alsamixer works:
> > > > 
> > > > 	hda_codec: Unknown model for ALC268, trying auto-probe from BIOS...
> > > > 
> > > > 8871e5b91518a47284b6bc2603b44dbc79c85446 is first bad commit
> > > > commit 8871e5b91518a47284b6bc2603b44dbc79c85446
> > > > Author: Takashi Iwai <tiwai at suse.de>
> > > > Date:   Tue Jun 2 01:02:50 2009 +0200
> > > > 
> > > >     ALSA: hda - Reorder and clean-up ALC268 quirk table
> > > >     
> > > >     Rearrange alc268_cfg_tbl[] in the order of vendor id, and group some
> > > >     entries using SND_PCI_QUIRK_MASK().
> > > >     
> > > >     Signed-off-by: Takashi Iwai <tiwai at suse.de>
> > > > 
> > > > :040000 040000 2497bb6fc5305acf3191b8e9b82956ec0ea1aee9 6f1d9ff9fed20550a1b2b398c7d2d5fec705fcd9 M      sound
> > > > 
> > > > Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
> > > 
> > > Well, it's no right fix.  The symptom implies that something wrong
> > > with the current model=toshiba, so fixing the quirk is the way to go
> > > at this moment.
> > > 
> > > Could you give alsa-info.sh output (run with --no-upload option)
> > > as vanilla kernel?  Run with both model=auto and without model option
> > > and attach both results to compare.  The former means actually the
> > > condition as your patch does.
> > 
> > Here is diff for quick look:
> 
> Thanks.  The problem is that this laptop has two ALC268 codecs, and
> these conflict.
> 
> Could you try the patch below?

It helps, thank you.

Tested-by: Alexey Dobriyan <adobriyan at gmail.com>


More information about the Alsa-devel mailing list