[alsa-devel] [ALSA] hda-codec - Fix laptop models for Cxt5045

Takashi Iwai tiwai at suse.de
Tue Jul 1 14:48:47 CEST 2008

At Tue, 01 Jul 2008 14:40:59 +0200,
I wrote:
> At Tue, 01 Jul 2008 08:26:47 -0400,
> Mark T.B. Carroll wrote:
> > 
> > > Please run alsa-info.sh (with --no-upload option) for both working
> > > (patched) and non-working (the original) cases, and attach generated 
> > > files to compare.  This will be helpful to analyze the problem.
> > 
> > Okay.
> There is no difference in the amp state, so I suppose the headphone
> isn't plugged with these.  If so, please run alsa-info.sh with the
> headphone plugged, for both working and broken cases.

... or I might have read it wrong.  The problem is that the pin 0x11
is disabled, where it's supposed to be a headphone jack.

So, for your device, model=laptop-micsense should be the right model.
Try that model, and if it works, try the patch without model option



diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 64df810..95e3367 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -906,6 +906,7 @@ static struct snd_pci_quirk cxt5045_cfg_tbl[] = {
 	SND_PCI_QUIRK(0x103c, 0x30cf, "HP DV9533EG", CXT5045_LAPTOP_HPSENSE),
 	SND_PCI_QUIRK(0x103c, 0x30d5, "HP 530", CXT5045_LAPTOP_HP530),
 	SND_PCI_QUIRK(0x103c, 0x30d9, "HP Spartan", CXT5045_LAPTOP_HPSENSE),
+	SND_PCI_QUIRK(0x1179, 0xff31, "Toshiba P105", CXT5045_LAPTOP_MICSENSE),
 	SND_PCI_QUIRK(0x152d, 0x0753, "Benq R55E", CXT5045_BENQ),
 	SND_PCI_QUIRK(0x1734, 0x10ad, "Fujitsu Si1520", CXT5045_LAPTOP_MICSENSE),
 	SND_PCI_QUIRK(0x1734, 0x10cb, "Fujitsu Si3515", CXT5045_LAPTOP_HPMICSENSE),

More information about the Alsa-devel mailing list