USB webcam++ support for FreeBSD-8-current is soon here

Vladimir Grebenschikov vova at fbsd.ru
Mon Jul 6 19:59:43 UTC 2009


On Mon, 2009-06-01 at 22:41 +0200, Hans Petter Selasky wrote:
Hi 

Is there any progress with that ? 

I've usb cam:
ugen4.4: <USB 2.0 Camera Vimicro Corp> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

multimedia/linux-gspca-kmod even did not builds:
...
mkdep -f .depend -a   -nostdinc -DUSB_DEBUG -DGSPCA_ENABLE_DEBUG
-DGSPCA_ENABLE_COMPRESSION -DCONFIG_USB_GSPCA_MODULE=1
-DVID_HARDWARE_GSPCA=0xFF -DGSPCA_VERSION=\"01.00.20\" -D__KERNEL__
-DDRIVER_NAME=gspca -DDEV_NAME=\"video\" -D_KERNEL -DKLD_MODULE
-ISunplus -ISunplus-jpeg -ISonix -IConexant -IVimicro -Idecoder
-I/usr/local/share/linux-kmod-compat/linux_compat -I. -I@
-I@/contrib/altq
gspca_core.c /usr/ports/multimedia/linux-gspca-kmod/work/gspcav1-20071220/decoder/gspcadecoder.c /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c
In file included
from /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:44:
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:69:30:
error: dev/usb/usb_port.h: No such file or directory
In file included
from /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c:44:
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:69:30:
error: dev/usb/usb_port.h: No such file or directory
mkdep: compile failed
*** Error code 1

as well as multimedia/pwcbsd

...
In file included from pwc.c:27:
pwc.h:47:31: error: dev/usb/usb_mfunc.h: No such file or directory
pwc.h:48:31: error: dev/usb/usb_error.h: No such file or directory
In file included from pwc.h:50,
                 from pwc.c:27:
...

Hints will be very appreciated.

> During the weekend I have almost finished my Userland Linux kernel wrapper 
> with full USB support through the new libusb and Linux' V4L API.
> 
> Currently compiling: GSPCA based Webcams, USB video class webcams.
> 
> Technically all V4L Radio/DVB and Webcam devices using USB on Linux can be 
> supported under FreeBSD in userland with little hassle. The only problem is 
> that the Linux kernel code is GPL and not LGPL licensed, so there might be a 
> problem linking with propritary applications ...
> 
> Almost finished code is available from:
> 
> svn --username anonsvn --password anonsvn \
>       checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux
> 
> NOTE: Not all files are checked in, so running "make clean all" won't get you 
> anything yet.
> 
> If you want to help out on getting the rest of the Linux Webcam drivers up and 
> running on BSD, then please let me know.
> 
> --HPS
> _______________________________________________
> freebsd-emulation at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "freebsd-emulation-unsubscribe at freebsd.org"
-- 
Vladimir B. Grebenschikov
vova at fbsd.ru


More information about the freebsd-emulation mailing list