>> >Is there a way to know if a kernel module (loaded or not) is an alsa or
>> >oss module? I know about modinfo but the information it provides does
>> >not allow you to find out which api the module supports. In fact, is
>> >there a way to know if a module is a _sound_ driver?? (I would like to
>> >be able to list all oss modules that are currently loaded). 
>> 
>> check if it depends on soundcore, which is alan cox's "multiplexer"
>> designed to support different audio APIs within the kernel. both OSS
>> and ALSA depend upon it, and hence all their modules do (except the
>> memory allocation stuff that is written to depend on no other modules;
>> OSS doesn't have this, AFAIK)
>
>Good idea... do you know how to do that? I suppose I could parse the
>output of lsmod but maybe there is another incantation I could use...

well, depmod computes the dependencies. as far as i can see, there
seems to be no way to direct its output, but i think you can run
depmod on a single module. might be worth checking into.


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to