From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [lack of] dynamic detection/loading of modules Date: Fri, 28 Feb 2003 15:51:08 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <1046378100.22559.23.camel@cmn37.Stanford.EDU> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1046378100.22559.23.camel@cmn37.Stanford.EDU> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Fernando Pablo Lopez-Lezcano Cc: Paul Davis , Ivica Bukvic , alsa-devel@lists.sourceforge.net, alsa-user@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At 27 Feb 2003 12:35:00 -0800, Fernando Pablo Lopez-Lezcano wrote: > > > >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' > > 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. ok, i added the code. the cvs version shows the list of modules on /proc/asound/modules. Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf