[alsa-devel] Benq S32 headphones detection

Aleh aleh.fl at gmail.com
Mon Apr 27 18:32:31 CEST 2009


On Mon, 27 Apr 2009 19:05:42 +0300, Takashi Iwai <tiwai at 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 at 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 at 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 at 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 at 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!



More information about the Alsa-devel mailing list