how to load a module
Rick Stevens
ricks at nerd.com
Tue Sep 7 16:53:03 UTC 2010
On 09/07/2010 08:33 AM, Adel ESSAFI wrote:
> Hi list
> I have a script that have successully compiled and installed a module for a
> tv card
>
> [root at localhost ~]# ls
> /usr/src/kernels/2.6.34.6-47.fc13.i686/kernel/drivers/media/video/
> easycap.ko
>
> but fails to load it
>
> how can I do to load that module
>
> [root at localhost easycap_dc60.0.8.2]# modprobe easycap
> FATAL: Module easycap not found.
By default, modprobe checks the "/lib/modules/`uname -r`" tree. You
need to copy the driver's .ko file somewhere in there and "depmod -a"
afterwards. The module's "make modules install" or "make install"
command should do these steps for you.
If all you want to do is test it, you can "modprobe
/full/path/to/your/module.ko" to force a load.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting ricks at nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- To err is human. To forgive, a large sum of money is needed. -
----------------------------------------------------------------------
More information about the users
mailing list