Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Michal Hocko <mhocko@suse.cz>
Cc: alsa-devel@alsa-project.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Headphone output doesn't work with 3.0.0-rc* anymore
Date: Thu, 09 Jun 2011 08:17:26 +0200	[thread overview]
Message-ID: <s5hoc27y1e1.wl%tiwai@suse.de> (raw)
In-Reply-To: <s5hr573y1rl.wl%tiwai@suse.de>

At Thu, 09 Jun 2011 08:09:18 +0200,
Takashi Iwai wrote:
> 
> At Wed, 8 Jun 2011 19:48:55 +0200,
> Michal Hocko wrote:
> > 
> > On Wed 08-06-11 18:03:24, Takashi Iwai wrote:
> > > At Tue, 7 Jun 2011 20:05:58 +0200,
> > > Michal Hocko wrote:
> > > > 
> > > > Hi,
> > > > before 3.0.0-rc1, when I plugged anything into headphone output of my
> > > > laptop, speakers were disabled and the sound has been routed to the
> > > > headphone output. This doesn't seem to work anymore starting with
> > > > 3.0.0-rc1. Speakers stay on even if I plug something to the headphone
> > > > output.
> > > > Is this a bug or a new behavior that userspace has to cope
> > > > with?
> > > > 
> > > > I am sorry for the lack of information but I have no idea what to
> > > > provide.
> > > 
> > > Please give alsa-info.sh output at best.  Run it with --no-upload
> > > option, and attach the output file.  This will contain most of
> > > necessary information.
> > 
> > See attached. I have added also .39 output where things work as expected
> > (just in case it could be useful).
> 
> Thanks, that's helpful.
> As a quirk solution, could you try to pass model=auto option to
> snd-hda-intel module?  You may need to adjust the mixer after changing
> this, but it should provide the full (even better) functionality.
> It'll support also the auto-mic jack switching.
> 
> If auto-parser works with this hardware, we don't need to debug the
> old code but just switch to the auto-parser statically in the driver.

OK, found out the culprit.  The patch below should fix the problem.

But, still the test with model=auto would be appreciated.  Basically
I'd like to kill all model-specific quirks as much as possible.  If
the auto-parser works, we'll switch to it (but maybe for 3.1).


thanks,

Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 8187320..bef7a77 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -11925,7 +11925,7 @@ static const struct hda_verb alc262_nec_verbs[] = {
  *  0x1b = port replicator headphone out
  */
 
-#define ALC_HP_EVENT	0x37
+#define ALC_HP_EVENT	ALC880_HP_EVENT
 
 static const struct hda_verb alc262_fujitsu_unsol_verbs[] = {
 	{0x14, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | ALC_HP_EVENT},

  reply	other threads:[~2011-06-09  6:17 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-07 18:05 Headphone output doesn't work with 3.0.0-rc* anymore Michal Hocko
2011-06-08 16:03 ` Takashi Iwai
2011-06-08 17:48   ` [alsa-devel] " Michal Hocko
2011-06-09  6:09     ` Takashi Iwai
2011-06-09  6:17       ` Takashi Iwai [this message]
2011-06-09  8:56       ` [alsa-devel] " Michal Hocko
2011-06-09  9:06         ` Michal Hocko
2011-06-09  9:20           ` Takashi Iwai
2011-06-09  9:28             ` Michal Hocko
2011-06-09  9:44               ` Takashi Iwai
2011-06-09 11:14                 ` [alsa-devel] " Michal Hocko
2011-06-09 11:39                   ` Michal Hocko
2011-06-10  6:53                   ` Takashi Iwai
2011-06-10  7:56                     ` [alsa-devel] " Michal Hocko
2011-06-10  7:57                       ` Michal Hocko
2011-06-10  8:14                       ` Takashi Iwai
2011-06-10  8:51                         ` [alsa-devel] " Michal Hocko
2011-06-10  9:18                           ` Takashi Iwai
2011-06-10  9:30                             ` Michal Hocko
2011-06-10 10:08                               ` Takashi Iwai
2011-06-10 12:42                                 ` [alsa-devel] " Michal Hocko
2011-06-10 12:43                                   ` Takashi Iwai
2011-06-10 13:20                                     ` [alsa-devel] " Michal Hocko
2011-06-10 13:27                                       ` Takashi Iwai
2011-06-10  8:17                       ` Takashi Iwai
2011-06-10  8:39                         ` Powersave doesn't work for snd_hda_intel with 3.0.0-rc2 Michal Hocko
2011-06-10  8:57                           ` Takashi Iwai
2011-06-15  6:08                           ` Pavel Machek
2011-06-15  6:22                             ` Takashi Iwai
2011-06-09  9:19         ` Headphone output doesn't work with 3.0.0-rc* anymore 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=s5hoc27y1e1.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhocko@suse.cz \
    /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