Skip to contentSkip to conversation

alsaconf checking for OSS modules

DISCUSSION Florian Schmidt 3 participants 3 messages Jul 23, 2004 – Jul 27, 2004

lore
Share & tools
lore
#0 lore raw

Hi

i think quite a bit of trouble could be saved if the alsaconf script would check if any OSS modules are loaded. I think it's enough to spit out an error to the user. rmmod'ing them would fail in most cases anyways since users that use alsaconf usually run some desktop environment like kde or gnome, too. And these like to keep the modules busy with their mixer applets, sound servers, etc...

What do you guys think?

Flo

Signature · 10 lines
Palimm Palimm!
http://affenbande.org/~tapas/



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
#1 lore raw
Quoted 3 lines · Florian Schmidt

i think quite a bit of trouble could be saved if the alsaconf script would check if any OSS modules are loaded. I think it's enough to spit out an error to the user.

Yes, definitely. The alsaconf behaviour is somewhat confusing as it correctly identifies the card and then fails to load the modules showing the error message from a couple of seconds only.

Signature · 8 lines
Feri.


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
#2 lore raw
In reply to Florian Schmidt

At Fri, 23 Jul 2004 16:52:13 +0200,

Quoted 4 lines · Florian Schmidt

Hi

Quoted 8 lines

i think quite a bit of trouble could be saved if the alsaconf script would check if any OSS modules are loaded. I think it's enough to spit out an error to the user. rmmod'ing them would fail in most cases anyways since users that use alsaconf usually run some desktop environment like kde or gnome, too. And these like to keep the modules busy with their mixer applets, sound servers, etc...

What do you guys think?

Well, it's not so easy to find out the running OSS module name.

A possible solution would be to parse the output of lsmod and check the dependency of soundcore module. But, we need to take it into account that lsmod output format is different between 2.4 and 2.6. Sigh...

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click