From: Takashi Iwai <tiwai@suse.de>
To: Tino Keitel <tino.keitel@gmx.de>
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: 2.6.29 regression: left audio channel broken after resume from suspend with Intel HDA
Date: Thu, 07 May 2009 12:45:08 +0200 [thread overview]
Message-ID: <s5hy6t92nuz.wl%tiwai@suse.de> (raw)
In-Reply-To: <20090507072352.GA6513@mac.home>
At Thu, 7 May 2009 09:23:53 +0200,
Tino Keitel wrote:
>
> On Thu, May 07, 2009 at 00:27:53 +0200, Tino Keitel wrote:
> > On Tue, Apr 28, 2009 at 02:23:09 +0200, Tino Keitel wrote:
> >
> > [...]
> >
> > > I just saw another, major problem: line in doesn't work anymore with
> > > 2.6.29 and also 2.6.30-rc3 (no usable input level). It works with
> > > 2.6.27.20.
> >
> > FYI: I just tried 2.6.28 and line-in was still broken. So the last
> > working kernel is 2.6.27.
>
> I tried this:
>
> git bisect start v2.6.28 v2.6.27 sound/pci/hda/patch_sigmatel.c
>
> The result is commit 4f1e6bc3646ab50b8181555ab7e6eeab68b8632a.
Could you try the patch below instead?
The problem is that BIOS on your machine sets this pin both for
input and output. Since it's set as input, the driver respects
the BIOS setup and skips to override.
So, it's a BIOS problem, as usual :)
thanks,
Takashi
---
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 76487de..e58e008 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4084,7 +4084,9 @@ static int stac92xx_init(struct hda_codec *codec)
pinctl = snd_hda_codec_read(codec, nid, 0,
AC_VERB_GET_PIN_WIDGET_CONTROL, 0);
/* if PINCTL already set then skip */
- if (!(pinctl & AC_PINCTL_IN_EN)) {
+ if (!(pinctl & AC_PINCTL_IN_EN) ||
+ (pinctl & AC_PINCTL_OUT_EN)) {
+ pinctl &= ~AC_PINCTL_OUT_EN;
pinctl |= AC_PINCTL_IN_EN;
stac92xx_auto_set_pinctl(codec, nid,
pinctl);
next prev parent reply other threads:[~2009-05-07 10:45 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 18:40 2.6.29 regression: left audio channel broken after resume from suspend with Intel HDA Tino Keitel
2009-04-20 19:28 ` Rafael J. Wysocki
2009-04-20 19:41 ` Takashi Iwai
2009-04-20 19:46 ` Tino Keitel
2009-04-21 5:24 ` Takashi Iwai
2009-04-21 7:32 ` Tino Keitel
2009-04-21 7:39 ` Takashi Iwai
2009-04-21 18:39 ` Tino Keitel
2009-04-24 14:01 ` Takashi Iwai
2009-04-24 14:21 ` Tino Keitel
2009-04-24 14:41 ` Takashi Iwai
2009-04-28 0:23 ` Tino Keitel
2009-04-28 5:24 ` Takashi Iwai
2009-04-28 6:30 ` Tino Keitel
2009-05-06 22:27 ` Tino Keitel
2009-05-07 7:23 ` Tino Keitel
2009-05-07 7:40 ` Justin P. Mattock
2009-05-07 10:07 ` Takashi Iwai
2009-05-07 10:45 ` Takashi Iwai [this message]
2009-05-07 11:54 ` Nigel Cunningham
2009-05-07 12:16 ` Takashi Iwai
2009-05-07 20:42 ` Nigel Cunningham
2009-05-07 20:56 ` Justin P. Mattock
2009-05-07 20:42 ` Tino Keitel
2009-05-07 20:53 ` Tino Keitel
2009-05-08 6:06 ` 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=s5hy6t92nuz.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tino.keitel@gmx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox