-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09/08/2010 12:53 AM, Rick Stevens wrote:
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@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@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.
insmod "/full/path/to/your/module.ko"
or
modprobe module
after the module is in the kernel tree, and a depmod has been done. note that
the steps about "the module is in the kernel tree, and a depmod has been done"
is required for modprobe, but not required for insmod.
- -Greg
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting ricks(a)nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- To err is human. To forgive, a large sum of money is needed. -
----------------------------------------------------------------------
- --
+---------------------------------------------------------------------+
Please also check the log file at "/dev/null" for additional information.
(from /var/log/Xorg.setup.log)
| Greg Hosler ghosler(a)redhat.com |
+---------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAkyGgyoACgkQ404fl/0CV/RXcwCff3CfGIfEAeceBOMl09JXerf3
eTIAniY+D8MiDqoVHWqXFr/oYN1y8IlK
=zwvg
-----END PGP SIGNATURE-----