Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jul 2009 23:59:33 +0400
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-multimedia@freebsd.org, freebsd-emulation@freebsd.org, Matthias Apitz <guru@unixarea.de>
Subject:   Re: USB webcam++ support for FreeBSD-8-current is soon here
Message-ID:  <1246910373.13842.3.camel@localhost>
In-Reply-To: <200906012241.12019.hselasky@c2i.net>
References:  <200804142217.17035.beech@FreeBSD.org> <20090530070025.GA2465@current.Sisis.de> <200906012241.12019.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"
-- 
Vladimir B. Grebenschikov
vova@fbsd.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1246910373.13842.3.camel>