2.5.14 OSS emulation
From ChangeLog-2.5.14 :
<[email protected]> (02/05/05 1.545)
[PATCH] fix config.in syntax errors.
- sound uses a bool where it should use a dep_bool
This prevents using OSS emulation with ALSA drivers. What is the reason behind ?
Pierre
------------------------------------------------
Pierre Rousselet <[email protected]>
------------------------------------------------
Quoted 8 lines · Pierre Rousselet
From ChangeLog-2.5.14 :
<[email protected]> (02/05/05 1.545)
[PATCH] fix config.in syntax errors.
- sound uses a bool where it should use adep_boolThis prevents using OSS emulation with ALSA drivers. What is the reason behind ?
2.4.13 used to do (in sound/core/Config.in):
bool ' OSS API emulation' CONFIG_SND_OSSEMUL $CONFIG_SND
The bool verb take exaxctly two arguments, the option description and the config option itself, if you want additional depencies you have to use dep_bool instead.
If this fix breaks ALSA it only shows that it has even deeper config problems - I don't use ALSA and care only about the syntactical correctness of that file.
Quoted 14 lines · Christoph Hellwig
Quoted 8 lines · Pierre Rousselet
From ChangeLog-2.5.14 :
<[email protected]> (02/05/05 1.545)
[PATCH] fix config.in syntax errors.
- sound uses a bool where it should use adep_boolThis prevents using OSS emulation with ALSA drivers. What is the reason behind ?
2.4.13 used to do (in
sound/core/Config.in):bool ' OSS API emulation'
CONFIG_SND_OSSEMUL$CONFIG_SND
Quoted 7 lines
The bool verb take exaxctly two arguments, the option description and the config option itself, if you want additional depencies you have to use
dep_boolinstead.If this fix breaks ALSA it only shows that it has even deeper config problems - I don't use ALSA and care only about the syntactical correctness of that file.
The correct fix should be:
bool ' OSS API emulation' CONFIG_SND_OSSEMUL
I'm sorry about that.
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com
Quoted 15 lines · Christoph Hellwig
Quoted 7 lines · Pierre Rousselet
From ChangeLog-2.5.14 :
<[email protected]> (02/05/05 1.545)
[PATCH] fix config.in syntax errors.
- sound uses a bool where it should use adep_boolThis prevents using OSS emulation with ALSA drivers. What is the reason behind ?
2.4.13 used to do (in
sound/core/Config.in):bool ' OSS API emulation'
CONFIG_SND_OSSEMUL$CONFIG_SND
Quoted 7 lines
The bool verb take exaxctly two arguments, the option description and the config option itself, if you want additional depencies you have to use
dep_boolinstead.If this fix breaks ALSA it only shows that it has even deeper config problems - I don't use ALSA and care only about the syntactical correctness of that file.
This is very true. I've had trouble getting my YMFPCI sound to work with ALSA probably for this reason: bad configs. (After all, I was told the YMFPCI code is the same for OSS and ALSA).