From: Takashi Iwai Subject: Re: [PATCH v2] ALSA: Fix mute led GPIO on HP dv-series notebooks. Date: Fri, 15 Jan 2010 14:49:33 +0100 Message-ID: References: <1263560719-4702-1-git-send-email-kunal.gangakhedkar@gmail.com> <201001151902.17260.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 8C74B2447F for ; Fri, 15 Jan 2010 14:49:33 +0100 (CET) In-Reply-To: <201001151902.17260.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 List , Goldwyn Rodrigues List-Id: alsa-devel@alsa-project.org At Fri, 15 Jan 2010 19:02:17 +0530, Kunal Gangakhedkar wrote: > > > Thinking the logic again, however, it might be safer to check DMI > > entries no matter which model is. Then set statically if it's DV > > series (i.e. !hp_blike_system()) as fallback. I suppose HP will > > implement the DMI entry for their new BIOS on other models in future, > > too, so the chance is high that the right setup is detected through > > DMI check instead of blindly fixed setup. > > > > They're notorious to discontinue models really fast. For example, my laptop model > is already discontinued in less than 6 months. So, I don't think I'll be getting updates > for my BIOS at all. What do you propose for such cases? Sure, we'd need to do some static fixes. But checking DMI first is more or less "safer". > I agree with your approach that we should be checking for DMI string unconditionally and > use the fixed setup as fallback - I can send the patch with those fixes too. That'll be great. thanks, Takashi