[alsa-devel] [PATCH] fix headphone settings and master volume (Conexant CX20551 0x103c30b2)

Takashi Iwai tiwai at suse.de
Tue Mar 10 15:49:38 CET 2009


At Mon, 9 Mar 2009 20:19:35 +0100,
Gregorio Guidi wrote:
> 
> On Monday 09 March 2009 16:04:56 Takashi Iwai wrote:
> > At Mon, 9 Mar 2009 15:49:47 +0100,
> >
> > Gregorio Guidi wrote:
> > > On Monday 09 March 2009 12:50:10 Takashi Iwai wrote:
> > > > At Sun, 8 Mar 2009 21:19:41 +0100,
> > > >
> > > > Gregorio Guidi wrote:
> > > > > Hi, I have an Intel HDA card, Conexant CX20551 (Waikiki) model,
> > > > > Subsystem Id: 0x103c30b2 (HP DV2000 series).
> > > > >
> > > > > With these settings, there are 4 volume controls: "PCM-2" and
> > > > > "Speaker" to control speakers, "PCM" and "Headphone" to control
> > > > > headphones. At the moment "PCM-2", "Speaker", "PCM" work fine, but
> > > > > "Headphone" has no effect (also reported inside bug #3091).
> > > >
> > > > Does the current driver work with model=laptop-hp option?
> > >
> > > I did try the laptop-hp option. I got only two controls: PCM and Master,
> > > PCM controlled both speakers and headphones, while Master controlled only
> > > the headphones (in fact the "Master" control for model=laptop-hp is the
> > > same as the "Headphone" control for model=laptop with the patch). There
> > > is no automute when plugging headphones.
> > >
> > > By the way, I was incorrect: also with model=laptop (the default) "PCM"
> > > controls both speakers and headphones (PCM-2 only the speakers).
> >
> > OK.
> >
> > > Let me know if you need info or you have something to test.
> >
> > Could you run alsa-info with --no-upload and give the generated file?
> > The script is found at:
> > 	http://www.alsa-project.org/alsa-info.sh
> >
> > We can use vmaster to control these stuff nowadays without strange
> > eapd hack for a master control.
> 
> All right, alsa-info.txt is attached.
> Version running is the one in kernel 2.6.28.7 plus the two patches.

Thanks, that helps for debugging.

Looking through the current patch_conexant.c, there are other messy
codes there, too.  So I cleaned up and fixed it on sound git tree
now.  Any chance to try it out?  The GIT tree is found at:

   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

and the snapshot tarball for external alsa-driver module build is

   ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz


Takashi


More information about the Alsa-devel mailing list