From: Fernando Pablo Lopez-Lezcano Subject: Re: modules: alsa or oss? Date: 26 Mar 2003 19:01:11 -0800 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <1048734072.7233.113.camel@cmn37.Stanford.EDU> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Paul Davis Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org > >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... -- Fernando ------------------------------------------------------- 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