> > >lists about this and to do it cleanly it would be nice to have available > > >in /proc/asound the list of modules currently loaded. That is not > > >available today (I think Takashi said he might add that)." > > > > cat /proc/modules | grep '^snd'
I wrote this: > This relies in an (AFAIK) unenforceable convention (all modules that > start with "snd" are alsa modules). I think the information has to come > from within the alsa driver, or from some place that actually knows that > the module _is_ an alsa module. IMHO a name is not enough. True, but I was wrong nevertheless. For the proposed use your solution works fine because we already know the name of the alsa module we want to check for (DOH!!!). -- Fernando ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel