> I compiled alsa for my AC-97 card (snd-via82xx) under Fedora Core 1. As
> I always had problems with modprobing the compiled drivers I found out
> the workaround by touching /include/workqueue.h before make.
> 
> The drivers did compile successfully (as documented on the alsa-page for
> my soundcard) and I could modprobe them without any error.
> But insmod never worked.

Do not use insmod. 

"modprobe" is the right command to use. "insmod" only loads the module
you specified and nothing else. That module may depend on other modules
to work, and if they are not loaded before you will get undefined symbol
errors. That is why this sequence works:

> So after:
> ./alsasound stop
> /sbin/modprobe snd-via82xx
> /sbin/rmmod snd-via82xx
> /sbin/insmod snd-via82xx
> 
> it works. :S

"modprobe" knows about dependencies and loads what is needed before
loading the module you want. 

-- Fernando




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to