uvcvideo Webcam with Debian rev4

Started by martinayotte, October 14, 2013, 03:20:59 AM

Previous topic - Next topic

martinayotte

Hi,

It seems that uvcvideo is badly compiled in Debian rev4.

In my other A10s board, it is compiled as kernel-builtin, no modules needed.
In A20, it seems to be compile as modules, but probably not re-compiled since I got the following error loading the module :

root@A20:~# modprobe uvcvideo
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.4.43+/modules.dep.bin'

this current Rev4 kernel is 3.4.61+, so I tried to do an symblink from 3.4.43+ to 3.4.61+, but it didn't work, even with --force. I thinks I will have to compile my own kernel in the mean time a Rev5 is provided.

root@A20:~# modprobe uvcvideo
ERROR: could not insert 'uvcvideo': Exec format error

and trying with insmod :

root@A20:~# insmod /lib/modules/3.4.61+/kernel/drivers/media/video/uvc/uvcvideo.ko
Error: could not insert module /lib/modules/3.4.61+/kernel/drivers/media/video/uvc/uvcvideo.ko: Invalid module format

UPDATE :

Preparing myself to build new kernel, I've figured out that I've probably overwritten the uImage in first partition with the one from Rev3 by mistake :
The uImage in boot partition was Linux-3.4.43+, but the rootfs has /lib/modules/3.4.61+/, so I've replace it with the good uImage.