From: Takashi Iwai Subject: Re: "test" models in Intel HDA (and probably some other drivers) Date: Wed, 15 Feb 2006 14:39:41 +0100 Message-ID: References: <43F2DA9F.8000709@akl.lt> <43F31E3A.5050302@akl.lt> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <43F31E3A.5050302@akl.lt> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Rimas Kudelis Cc: ALSA devel List-Id: alsa-devel@alsa-project.org At Wed, 15 Feb 2006 14:27:38 +0200, Rimas Kudelis wrote: > > Hi again, > > >> The problem I see here is that those "test" models are only available as > >> a debug feature, which is compiled into the driver only when > >> CONFIG_SND_DEBUG is defined. I think it would be much more useful to > >> always enable them. On one hand, this wouldn't get in anybody's way, if > >> you don't want it (i.e. you would simply never autodetect this model), > >> while on the other hand, you could just as easily make this model the > >> default for laptops (everything is up to your policy). And in case you > >> wouldn't want to clutter the mixer interface by default, this "test" > >> model would still silently be available for people like me, having > >> absolute silence with all the other configs. This is what is currently > >> happening with many Acer laptop users around the world. > >> > >> Jonathan Woithe said he supports my idea. Takashi, what's your opinion > >> about it? Would you commit a patch fixing this problem to the CVS? > >> > > > > The test model exists clearly for the debugging purpose. If only this > > model can bring your device sounds, it means that you need debug > > anyway. In other words, the test model is not a solution but a method > > to find a solution. > > > > That's right, but there's a problem - you cannot find all solutions > yourself in this case. You need more people for that. IMHO, the more > people will have access to the method to find a solution, the more > solutions you'll get. Isn't that a right thing? Only if more people use the _right_ method for finding a solution. The first thing you need to debug is to use the latest ALSA version. That is, if you cannot compile drivers, there is no way to debug further in the current situation -- even if you can use test model. > Especially when, as I > said, the presence and availability of the "test" model wouldn't really > get in anyones way. It would not even clutter kernel logs. Again, the test model is NOT provided for anyone's daily use. It's specially for someone who wants to debug the driver for his/her device. > OTOH, what is the default model now? HP? Fujitsu? Their subset? Parsed from BIOS setting. > IMHO, a > reasonable superset should be the default for unknown models, not the > other way round. And "reasonable" means "based on many different brands > and models" in this case. Just "HP, IBM and Fujitsu" is not enough, as > you can see. It's not. > Don't forget that there are many people around who aren't Linux geeks, > and they don't know how to (or simply are afraid/don't want to) compile > kernel drivers. CONFIG_SND_DEBUG is not for geeks but can be safely used generally. In fact, SUSE kernels have always CONFIG_SND_DEBUG=y. > If we want more Linux on desktops, we should make sure > Linux is friendly enough for people like them. It's a different topic, IMO. Compiling the drivers is mandatory for debugging the device support right (for the time being). So, it's not the matter of friendlyness. Sorry, I see no reason to change test model for anyone's use. As I mentioned, it alone won't help us better debugging. Takashi ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642