Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Aleh <aleh.fl@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Benq S32 headphones detection
Date: Tue, 28 Apr 2009 07:25:06 +0200	[thread overview]
Message-ID: <s5hbpqh2vv1.wl%tiwai@suse.de> (raw)
In-Reply-To: <op.us1z8hsw39g8cz@flip>

At Mon, 27 Apr 2009 19:32:31 +0300,
Aleh wrote:
> 
> On Mon, 27 Apr 2009 19:05:42 +0300, Takashi Iwai <tiwai@suse.de> wrote:
> 
> > At Mon, 27 Apr 2009 18:51:12 +0300,
> > Aleh wrote:
> >>
> >> On Mon, 27 Apr 2009 18:40:22 +0300, Takashi Iwai <tiwai@suse.de> wrote:
> >>
> >> > At Mon, 27 Apr 2009 18:38:05 +0300,
> >> > Aleh wrote:
> >> >>
> >> >> On Mon, 27 Apr 2009 18:29:30 +0300, Takashi Iwai <tiwai@suse.de>  
> >> wrote:
> >> >>
> >> >> > At Mon, 27 Apr 2009 18:25:18 +0300,
> >> >> > Aleh wrote:
> >> >> >>
> >> >> >> On Mon, 27 Apr 2009 13:13:17 +0300, Takashi Iwai <tiwai@suse.de>
> >> >> wrote:
> >> >> >>
> >> >> >> > At Thu, 23 Apr 2009 22:50:32 +0300,
> >> >> >> > Aleh wrote:
> >> >> >> >>
> >> >> >> >> On Thu, 23 Apr 2009 14:04:12 +0300, Takashi Iwai  
> >> <tiwai@suse.de>
> >> >> >> wrote:
> >> >> >> >> > At Thu, 23 Apr 2009 11:58:58 +0300
> >> >> >> >> > Aleh wrote:
> >> >> >> >> >>
> >> >> >> >> >> Hi,
> >> >> >> >> >>
> >> >> >> >> >> I had a problem with muting speakers when headphones are
> >> >> >> plugged-in
> >> >> >> >> on
> >> >> >> >> >> my
> >> >> >> >> >> Benq S32B. So I added proper board configuration to
> >> >> >> >> >> sound/pci/hda/patch_realtek.c and now it works.
> >> >> >> >> >>
> >> >> >> >> >> I wonder if anyone has similar hardware (S-series Benq  
> >> laptop)
> >> >> to
> >> >> >> >> test
> >> >> >> >> >> the
> >> >> >> >> >> patch (attached) if you find it useful.
> >> >> >> >> >
> >> >> >> >> > Thanks for the patch.
> >> >> >> >> > The lack of headphone mute is likely because of codec SSID
> >> >> value.
> >> >> >> >> > The realtek codec is supposed to have some special SSID
> >> >> indicating
> >> >> >> >> > the assembly information, but many vendors don't follow it.
> >> >> >> >> >
> >> >> >> >> > Could you try the patch below and try model=auto?  It's  
> >> found in
> >> >> >> >> > sound-unstable tree, too...
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> Downloaded and installed
> >> >> >> >>
> >> >> >>
> >> >>  
> >> http://ftp.kernel.org/pub/linux/kernel/people/tiwai/alsa/alsa-driver/alsa-driver-unstable-snapshot.tar.bz2
> >> >> >> >> in accordance with those instructions:
> >> >> >> >>
> >> >> http://alsa-project.org/main/index.php/Matrix:Module-hda-intel
> >> >> >> >>
> >> >> >> >> loaded it with option 'model=auto' as you suggested, launched
> >> >> mplayer
> >> >> >> >> and
> >> >> >> >> plugged/unplugged headphones several times.
> >> >> >> >> Unfortunately, those actions weren't recognized and  
> >> laudspeakers
> >> >> >> >> continued
> >> >> >> >> playing without any interruption.
> >> >> >> >
> >> >> >> > OK, I found a problem.  The hook wasn't activated for ALC262.
> >> >> >> > I fixed the patch now.  Could you retry the unstable snapshot
> >> >> again?
> >> >> >>
> >> >> >> Gave a try to today's snapshot - the problem still exists as
> >> >> headphones
> >> >> >> haven't been detected.
> >> >> >
> >> >> > With alsa-driver-unstable snapshot tarball?
> >> >> > What is the first line of alsa-driver*/alsa-kernel/HEAD file?
> >> >> >
> >> >> >
> >> >> > Takashi
> >> >>
> >> >>
> >> >> 31d2caf87f5dc5700897ff820c08e84ca35fcffb Merge commit 'stable/master'
> >> >
> >> > OK, this is the latest version.
> >> >
> >> > Could you run alsa-info.sh at HP plugged and unplugged states, and
> >> > attach both files?
> >>
> >> Done
> >
> > Thanks.  Found out a bug in the patch there.
> > Now I fixed it and updated the snapshot tarball again.
> > Could you give it a try later?  It must contain alsa-kernel/HEAD
> >    3db06e963fc5d6199373d988d72f9eaeb745acc7 Merge branch  
> > 'topic/hda-realtek-amp'
> >
> >
> > thanks,
> >
> > Takashi
> 
> It works fine, thank you!

Good to hear.  I'll merge the patch later to the main sound tree.


thanks,

Takashi

      reply	other threads:[~2009-04-28  5:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-23  8:58 Benq S32 headphones detection Aleh
2009-04-23 11:04 ` Takashi Iwai
2009-04-23 19:50   ` Aleh
2009-04-27 10:13     ` Takashi Iwai
2009-04-27 15:25       ` Aleh
2009-04-27 15:29         ` Takashi Iwai
2009-04-27 15:38           ` Aleh
2009-04-27 15:40             ` Takashi Iwai
2009-04-27 15:51               ` Aleh
2009-04-27 16:05                 ` Takashi Iwai
2009-04-27 16:16                   ` Takashi Iwai
2009-04-27 16:32                   ` Aleh
2009-04-28  5:25                     ` Takashi Iwai [this message]

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=s5hbpqh2vv1.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=aleh.fl@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /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