[alsa-devel] No sound on Quanta KN1 with kernel 3.4

Takashi Iwai tiwai at suse.de
Mon Apr 16 16:07:26 CEST 2012


At Sat, 14 Apr 2012 22:52:09 +0200,
Uros Vampl wrote:
> 
> On 14.04.12 21:25, Takashi Iwai wrote:
> > At Sat, 14 Apr 2012 19:10:30 +0200,
> > Uros Vampl wrote:
> > > 
> > > Hi,
> > > 
> > > as I wrote on the -users list, I don't have sound anymore in kernel 3.4. 
> > > I was told to post the output of alsa-info.sh here, so here I am. The 
> > > requested output is attached.
> > 
> > Could you give the alsa-info.sh output on the working kernel?
> > In that way, it becomes easier to spot out what caused the problem.
> 
> Attached.

Could you try the patch below?

Also, which output is missing?  Is it a speaker output or a line-out
jack?  Basically it's a bug of BIOS that doesn't give the proper
association number for the corresponding pin 0x0f.  The patch is just
to make less restrictive.

But, if it's a laptop, the corresponding pin is likely a speaker
output, so it'd be better to fix the pin-default value itself via
pinfix table.


thanks,

Takashi

---
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 7a8fcc4..83f0b13 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -4957,8 +4957,6 @@ int snd_hda_parse_pin_defcfg(struct hda_codec *codec,
 			if (!(wid_caps & AC_WCAP_STEREO))
 				if (!cfg->mono_out_pin)
 					cfg->mono_out_pin = nid;
-			if (!assoc)
-				continue;
 			if (!assoc_line_out)
 				assoc_line_out = assoc;
 			else if (assoc_line_out != assoc)


More information about the Alsa-devel mailing list