Re: how to load a module

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

 



In fact, I have remarqued that the modprob command tries to look in a different directory ( _  instead of -)
is this a bug in F13?
regards


2010/9/8 Adel ESSAFI <adelessafi@xxxxxxxxx>
Hi
I get this message on F13.
however, the driver has loaded correctly on F12.

[root@localhost ~]# modprobe -a /usr/src/kernels/2.6.34.6-47.fc13.i686/kernel/drivers/media/video/easycap.ko
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
WARNING: Module /usr/src/kernels/2.6.34.6_47.fc13.i686/kernel/drivers/media/video/easycap.ko not found.
[root@localhost ~]# lsmod  | grep easy
[root@localhost ~]#

Can you help please




2010/9/7 Gregory Hosler <ghosler@xxxxxxxxxx>

-----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-----



--
PhD candidate in Computer Science
Address      
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
fax: +216 71 391 166



--
PhD candidate in Computer Science
Address      
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
fax: +216 71 391 166
-- 
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