Hi Enrico, On Tuesday 12 May 2009 22:44:29 Enrico Di Lello wrote: > Hi everybody, > > I am developing a vision system for a mobile robot equipped with a FOX > board, running an embedded linux system based on openWRT. > > In older version of the openWRT trunk it was possible to compile thto > wore uvcvideo.ko as an external module. I managed to find an old > makefile to compile the UVCdriver from the SVN (r263) . Unfortunately, > with this driver I did not get my UVC camera (a Creative Optia Pro) to > work properly. > > In particular, mi code fails when trying to set YUYV format for the > camera, which instea goes fine with my ubuntu PC. I know that the SVN > is deprecated, so I downloaded a proper UVC version from linuxTV.org > > Everything goes fine after compiling the driver under Ubuntu. > > The problem is that is kinda hard to compile the driver for my > embedded system, since now, the uvcvideo package contains almost a > zilliion different drivers with 10 nested makefiles and so on.. > > I just need to compile uvcvideo.ko using as less files as possible and > a proper Makefile.. > > Any Ideas?? Thank you in advance for your help.
Following the move to linuxtv.org and its mercurial repositories, the uvcvideo can't be compiled alone anymore. I understand that this can be an additional burden for some users, especially when working with embedded systems, but maintaining compatibility with older kernels was becoming a real pain. Fortunately, it shouldn't be too difficult to compile the whole V4L subsystem for the openWRT platform. The Mercurial tree comes with a top-level Makefile. If you point it to the location of your kernel sources (using the SRCDIR variable), it should compile all the V4L modules. Don't forget to disable V4L support (or at least configure it as modules) in your kernel. Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
