Question on ALSA driver init
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