From: Takashi Iwai <tiwai@suse.de>
To: Uros Vampl <mobile.leecher@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: No sound on Quanta KN1 with kernel 3.4
Date: Mon, 16 Apr 2012 16:07:26 +0200 [thread overview]
Message-ID: <s5hbomrsrc1.wl%tiwai@suse.de> (raw)
In-Reply-To: <20120414205209.GA1041@zanic_kista>
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)
next prev parent reply other threads:[~2012-04-16 14:07 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-14 17:10 No sound on Quanta KN1 with kernel 3.4 Uros Vampl
2012-04-14 19:25 ` Takashi Iwai
[not found] ` <20120414205209.GA1041@zanic_kista>
2012-04-16 14:07 ` Takashi Iwai [this message]
2012-04-16 17:56 ` Uros Vampl
2012-04-16 19:25 ` Takashi Iwai
2012-04-18 8:05 ` Takashi Iwai
2012-04-18 9:55 ` Uros Vampl
2012-04-18 10:20 ` Uros Vampl
2012-04-18 10:27 ` Takashi Iwai
2012-04-18 10:32 ` Takashi Iwai
2012-04-18 11:36 ` Uros Vampl
2012-04-18 12:16 ` Takashi Iwai
2012-04-18 16:25 ` Uros Vampl
2012-04-18 16:41 ` Takashi Iwai
2012-04-18 17:33 ` Uros Vampl
2012-04-18 18:43 ` Takashi Iwai
2012-04-18 19:25 ` Takashi Iwai
2012-04-18 20:27 ` Uros Vampl
2012-04-19 5:39 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hbomrsrc1.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=mobile.leecher@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.