On Thu, 1 Apr 2004, Pavana Sharma wrote:

> 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??

The probe function is not called from ALSA, but from the kernel subsystem 
like PCI or ISA PnP etc. Check this code.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
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
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to