LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ERROR: Module uvcvideo does not exist in /proc/modules (https://www.linuxquestions.org/questions/linux-newbie-8/error-module-uvcvideo-does-not-exist-in-proc-modules-895717/)

mswamy78 08-05-2011 07:13 AM

ERROR: Module uvcvideo does not exist in /proc/modules
 
Hello,
I get the following error when I run

#sudo rmmod uvcvideo.ko
ERROR: Module uvcvideo does not exist in /proc/modules

$ sudo insmod ./uvcvideo.ko
insmod: error inserting './uvcvideo.ko': -1 Invalid module format

Please help to resolve.

ongte 08-05-2011 10:51 AM

To load/unload a module, it's better to use modprobe.You also don't need the '.ko'
To load:
$ sudo modprobe uvcvideo
To unload:
$ sudo modprobe -r uvcvideo

Did you just compile a kernel module? If so, you need to copy it the right place, you can't just call it like that. Kernel modules usually goes into /lib/modules/2.6.xx
There's usually a script that will do that for you. If you have run the script, but can't load the module, try running ldconfig or rebooting the system.


All times are GMT -5. The time now is 04:31 PM.