From: Takashi Iwai Subject: Re: [PATCH] fix headphone settings and master volume (Conexant CX20551 0x103c30b2) Date: Tue, 10 Mar 2009 15:49:38 +0100 Message-ID: References: <200903082119.41670.gregorio.guidi@gmail.com> <200903091549.47758.gregorio.guidi@gmail.com> <200903092019.36312.gregorio.guidi@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id CF086103828 for ; Tue, 10 Mar 2009 15:49:38 +0100 (CET) In-Reply-To: <200903092019.36312.gregorio.guidi@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Gregorio Guidi Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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