YaoQ / UVC-for-DE1-SoC

UVC video drive on DE1 SoC
1 stars 0 forks source link

Will this wipe out the OpenCL driver? #1

Open zhao-lun opened 6 years ago

zhao-lun commented 6 years ago

Hi, I want to thank you for posting this tutorial. I have stuck in this driver issue for weeks. In fact, Im using opencv to interact with my Logitech cam. Nevertheless, will this kernel recompilation remove the present opencl driver? Also, For my cam to work, only the uvc module needed? How about v4l drivers?

zhao-lun commented 6 years ago

Hi @YaoQ I followed your step i got the following error when i modprobe the module. Error inserting videodev (/lib/modules/3.18.0/kernel/drivers/media/v4l2-core/videodev.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting v4l2_common (/lib/modules/3.18.0/kernel/drivers/media/v4l2-core/v4l2-common.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting videobuf2_core (/lib/modules/3.18.0/kernel/drivers/media/v4l2-core/videobuf2-core.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting uvcvideo (/lib/modules/3.18.0/kernel/drivers/media/usb/uvc/uvcvideo.ko): Unknown symbol in module, or unknown parameter (see dmesg)

YaoQ commented 6 years ago

Hi, @johnnydept , sorry, I have not got the errors that you listed. Have you tried to use the config file that I save at this repository? Thanks.

zhao-lun commented 6 years ago

@YaoQ Yea, i follow step by step. cp config and the header file. enter menuconfig and exit straight away. then typed the same command. I also use the same board DE1-SOC and OS(VNC) you put in the link. Though, i didn't patch my kernel like what you mention . git://linuxtv.org/media_build.git maybe i miss some dependencies that you didnt list here?