[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

AW: Configure PnP Card before Kernel loads modules



>If instead you used update-modules to add a line
>alias sound-slot-0 modulename
>to /etc/modules.conf, the driver will be loaded when needed.

thanks andreas & andre,

there's something wrong..

i did the following (sam9407 is the module name...):

i changend /etc/modutils/sam9407, so it just contains:
alias sound-slot-0 sam9407

then I did "update-modules", so my modules.conf was updated with the line
upove.
after that I invoked "depmod -a" to update my modules.dep

after a reboot I get with lsmod:
homer:~# lsmod
Module                  Size  Used by    Not tainted
sam9407               116832   0  (autoclean) (unused)
soundcore               3844   0  (autoclean)

but sam9407 shouldn't be there, right?


i still can find an entry in modules.dep: 
/lib/modules/2.4.18/kernel/drivers/sound/sam9407.o:
i thought it will be removed!?

regards
andreas




Reply to: