From: Takashi Iwai Subject: Re: [PATCH] Recognise and use subdevice 0x3061 found in some HP dv6 notebooks. Date: Mon, 14 Dec 2009 11:32:58 +0100 Message-ID: References: <200912140029.42677.kunal.gangakhedkar@gmail.com> <200912141553.54309.kunal.gangakhedkar@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 mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 3BF2E103805 for ; Mon, 14 Dec 2009 11:32:58 +0100 (CET) In-Reply-To: <200912141553.54309.kunal.gangakhedkar@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: Kunal Gangakhedkar Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 14 Dec 2009 15:53:54 +0530, Kunal Gangakhedkar wrote: > > On Monday 14 Dec 2009 3:37:14 pm Takashi Iwai wrote: > > At Mon, 14 Dec 2009 00:29:42 +0530, > > Kunal Gangakhedkar wrote: > > > > > > Obvious patch. > > > Recently bought an HP Pavilion dv6-1110ax notebook. The modparm 'model=hp-dv5' > > > works, but I thought it was better if it were natively supported. > > > > > > Also, the 'hp_detect=1' hint > > > (echo "hp_detect = 1" > /sys/class/sound/hwC0D0/hints) works nicely to mute the > > > speakers when using the headphone jack(s). Is there any way to automatically > > > enable this? > > > > This is weird. hp_detect is basically always set unless you clear > > explicitly. I guess it's simply a known IRQ problem on HP dv > > laptops. It requires MSI. > > > > Anyway, could you test the very latest kernel without your patch and > > confirm that the change is still needed? > > > > The patch wasn't about hp_detect. It was to get the subdev recognised natively so that > you don't need the 'model=hp-dv5' modparm. Yeah, I know. But the speaker-muting should work even without hp_detect=1 hints. The IRQ thingy was only about the auto-muting. Also, with the latest version, the device might work even without the extra model option (as the auto-parser got improved). I'd like to avoid unneeded quirk lines as much as possible, so that's why I asked to check the latest one. > I'll try with enable_msi modparm as well without trying the hp_detect hint and let you know > about it. Will also try the latest kernel. Thanks! Takashi