Re: how to load a module

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

 



-----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@xxxxxxxx -
> - 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@xxxxxxxxxx    |
+---------------------------------------------------------------------+
-----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-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux