"test" models in Intel HDA (and probably some other drivers)
Hello,
This message is about Intel HDA driver, but it may apply to other drivers too.
Currently, a few codecs for HDA (ALC880 and ALC260, in particular) have model configurations, named "test", that enable the user to use (almost) any possible control widget in their mixer. This is very useful for people with new and untested laptops, for example, that are sometimes left muted or hardly controllable when the driver is loaded with a different "model" argument.
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?
best regards,
Rimas Kudelis
-------------------------------------------------------
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
At Wed, 15 Feb 2006 09:39:11 +0200,
Quoted 25 lines · Rimas Kudelis
Hello,
This message is about Intel HDA driver, but it may apply to other drivers too.
Currently, a few codecs for HDA (ALC880 and ALC260, in particular) have model configurations, named "test", that enable the user to use (almost) any possible control widget in their mixer. This is very useful for people with new and untested laptops, for example, that are sometimes left muted or hardly controllable when the driver is loaded with a different "model" argument.
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_DEBUGis 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.
Quoted 2 lines
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.
So, basically I disagree with changing it.
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
Hi again,
Quoted 12 lines
Quoted 12 lines
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_DEBUGis 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.
Quoted 9 lines
Quoted 3 lines
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? 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.
OTOH, what is the default model now? HP? Fujitsu? Their subset? 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.
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. If we want more Linux on desktops, we should make sure Linux is friendly enough for people like them.
Quoted 2 lines
So, basically I disagree with changing it.
Please consider it once more... It *won't* get in anyones way.
regards,
Rimas
-------------------------------------------------------
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
At Wed, 15 Feb 2006 14:27:38 +0200,
Quoted 25 lines · Rimas Kudelis
Hi again,
Quoted 12 lines
Quoted 12 lines
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_DEBUGis 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.Quoted 9 lines
Quoted 3 lines
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.
Quoted 4 lines
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.
Quoted 3 lines
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.
Quoted 1 line
OTOH, what is the default model now? HP? Fujitsu? Their subset?
Parsed from BIOS setting.
Quoted 5 lines
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.
Quoted 3 lines
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.
Quoted 2 lines
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
Quoted 5 lines · Rimas Kudelis
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.
Please provide the bug ID# of a case where a user could only get sound with the "test" model.
Lee
-------------------------------------------------------
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
Quoted 9 lines · Lee Revell
Quoted 5 lines · Rimas Kudelis
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.Please provide the bug ID# of a case where a user could only get sound with the "test" model.
It's a bug 1618, which affects me too..
Rimas
-------------------------------------------------------
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