[alsa-devel] [Fwd: Re: Code relsease to alsa.]

Herton Ronaldo Krzesinski herton at mandriva.com.br
Thu Jan 24 19:09:15 CET 2008


Em Thursday 24 January 2008 14:27:19 Takashi Iwai escreveu:
> At Thu, 24 Jan 2008 16:50:54 +0100,
>
> I wrote:
> > Good to hear.  I'll try to clean up more a bit before merging.
>
> I did more rewrite than expected in the end...  The revised patch is
> below.  Now it has model=hp for your machine.  Give it a try.

Works ok as previously, and the mixer matches it fine, just had to add
this on top of your patch:

--- linux-2.6.24-rc8.2mdv/sound/pci/hda/patch_conexant.c.orig	2008-01-24 16:08:26.000000000 -0200
+++ linux-2.6.24-0.rc8.2mdv/sound/pci/hda/patch_conexant.c	2008-01-24 16:50:54.000000000 -0200
@@ -1623,11 +1623,14 @@
 
 static const char *cxt5051_models[CXT5051_MODELS] = {
 	[CXT5051_LAPTOP]	= "laptop",
+	[CXT5051_HP]		= "hp",
 };
 
 static struct snd_pci_quirk cxt5051_cfg_tbl[] = {
 	SND_PCI_QUIRK(0x14f1, 0x0101, "Conexant Reference board",
 		      CXT5051_LAPTOP),
+	SND_PCI_QUIRK(0x14f1, 0x5051, "HP Spartan 1.1",
+		      CXT5051_HP),
 	{}
 };
 
If you look at the quirk, it's strange here that this HP laptop has the
same vendor/device ids of Conexant instead of using an HP specific one,
this can cause problems I think, or may be its something like just a
unmodified Conexant reference implementation.

I also tested the laptop model and it's ok as before. I just
noticed that with model=hp I don't get anymore the PCM slider in
alsamixer, I'm just reporting as I don't know about it and if it's ok
this way then fine :)

>
> Takashi
>

-- 
[]'s
Herton


More information about the Alsa-devel mailing list