From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Same pci id for different ASUS machine Date: Wed, 19 Mar 2008 15:45:58 +0100 Message-ID: References: <1205376529.15217.8.camel@localhost.localdomain> <20080317201955.GB10926@serv.smile.org.ua> <20080318185740.GA30373@sirena.org.uk> 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 (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id D1D6D1038C4 for ; Wed, 19 Mar 2008 15:45:58 +0100 (CET) In-Reply-To: <20080318185740.GA30373@sirena.org.uk> 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: Mark Brown Cc: Andy Shevchenko , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 18 Mar 2008 18:57:41 +0000, Mark Brown wrote: > > On Tue, Mar 18, 2008 at 06:12:14PM +0100, Takashi Iwai wrote: > > Andy Shevchenko wrote: > > > > example? Could we make more flex configuration in the ALSA instead of > > > hardcoded model= in the modprobe.conf? > > > Windows have *.INI files so that they can ignore broken BIOS. Or in > > other way round - due to this, the hardware vendors never ship the > > correct BIOS! > > Worse, fixing the BIOS would probably break driver level workarounds :/ No, in the case HD-audio, it won't normally. The driver level workarounds are simply to override (thus ignore) the BIOS definitions and use the static configuration. > > I have patches to make some stuff dynamically re-configurable, > > e.g. overriding the default pin-config or additional verbs together > > with some hints to the parser, which can be set up via udev etc. > > I guess the kernel could do the quirking for most cases by using DMI > information to identify the broken BIOSes, though there are obvious > advantages to user space workarounds so it may not be worth it for > something like sound which is unlikely to be needed to boot. The quirks have been already there in HD-audio driver. But the problem is that there are far too many. That's why we need a better, more flexible approach now, adjustable from the user-space after loading the driver. Takashi