From: "Pavana Sharma" Subject: Question on ALSA driver init Date: Thu, 1 Apr 2004 14:38:04 +0530 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <01bf01c417c8$d7cc8760$f8b6a8c0@ent.ti.com> Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: 'Pavana Sharma' , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi, I am new to ALSA driver impementation. I am registering the driver interface functions like (probe,remove) using driver_register call. I expect that the probe function will be called in which I am allocating sound card and registering the card using snd_card_register. When I compile the sound driver as a static module and boot my kernel I see that the init function in which I am registering the device is getting called but the probe function is not getting called. We see a message from sound/last.c file asla_sound_last_init fucntion where it searches snd_Cards array to find whether any sound cards are registered. As our sound card card is not registered(because probe is not getting called), we see a messaged "No Soundcards found". Can someone give us some clues like why probe function is not getting called?? Regards, Pavana ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click