Hallo Janka,
beschaft habe ich die files von:
http://developer.berlios.de/projects/linux-uvc
beinhaltend uvcvideo.h uvcvideo.c und Makefile.
diese habe ich nach home/hcx kopiert und wollte es mit make kompilieren.
Ergebnis:
make
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/linux-headers-2.6.14-kanotix-9'
CC [M] /home/hcx/uvcvideo.o
/home/hcx/uvcvideo.c:49:29: error: v4l2_enumfrmfmt.h: Datei oder Verzeichnis nicht gefunden
/home/hcx/uvcvideo.c: In function 'uvc_v4l2_do_ioctl':
/home/hcx/uvcvideo.c:2491: error: 'VIDIOC_ENUM_FRAMESIZES' undeclared (first use in this function)
/home/hcx/uvcvideo.c:2491: error: (Each undeclared identifier is reported only once
/home/hcx/uvcvideo.c:2491: error: for each function it appears in.)
/home/hcx/uvcvideo.c:2500: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2508: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2511: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2512: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2512: error: 'V4L2_FRMSIZE_TYPE_DISCRETE' undeclared (first use in this function)
/home/hcx/uvcvideo.c:2513: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2514: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2519: error: 'VIDIOC_ENUM_FRAMEINTERVALS' undeclared (first use in this function)
/home/hcx/uvcvideo.c:2528: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2531: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2532: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2544: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2547: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2547: error: 'V4L2_FRMIVAL_TYPE_DISCRETE' undeclared (first use in this function)
/home/hcx/uvcvideo.c:2548: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2548: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2549: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2550: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2551: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2553: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2553: error: 'V4L2_FRMIVAL_TYPE_STEPWISE' undeclared (first use in this function)
/home/hcx/uvcvideo.c:2554: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2555: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2556: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2557: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2558: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2559: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2560: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2561: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2562: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2563: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2564: error: dereferencing pointer to incomplete type
/home/hcx/uvcvideo.c:2565: error: dereferencing pointer to incomplete type
make[2]: *** [/home/hcx/uvcvideo.o] Fehler 1
make[1]: *** [_module_/home/hcx] Fehler 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.14-kanotix-9'
make: *** [uvcvideo] Fehler 2
also hab ich es mit den debs linux-uvc-source und linux-uvc-tools versucht
kein Erfolg.
Wenn das Drecksteil partout nicht will nehm ich hlt die labtec; den spca50
hab ich kompiliert bekommen.
Gruss aus hackhausen am Compiler
hcx