Date: Tue, 2 Jun 2009 08:42:01 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Markus Rechberger <mrechberger@gmail.com> 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: <200906020842.03175.hselasky@c2i.net> In-Reply-To: <d9def9db0906011406y74589482r3038c058ea4c6adb@mail.gmail.com> References: <200804142217.17035.beech@FreeBSD.org> <200906012241.12019.hselasky@c2i.net> <d9def9db0906011406y74589482r3038c058ea4c6adb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 01 June 2009, Markus Rechberger wrote: > Hi, > > On Mon, Jun 1, 2009 at 10:41 PM, Hans Petter Selasky <hselasky@c2i.net>=20 wrote: > > Hi, > > > > 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 \ > > =A0 =A0 =A0checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux > > > > NOTE: Not all files are checked in, so running "make clean all" won't g= et > > 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. > Hi Markus, > does this new libusb support transfers up to 170 mbit? 30MByte/second should be quite possible to transfer to userland. Then we ar= e=20 transferring 240 mbit/second. I've seen it is not transfer capacity, but=20 rather delay which is the problem. > I wonder=20 > because the synchronous attempt to > transmit URBs is way to slow for this. The new libusb in FreeBSD-8-current is asynchronous! I am not using the Lib= USB=20 v0.1 API, but rather a new one specific to BSD. > I more or less also have a userspace wrapper for video4linux2 and > linuxdvb which also works with eg. libusb, libpci > and works on Apple. On Linux it works with legacy applications by > using LD_PRELOAD although I still need > a fast data transfer link to the kernel for USB (which is not provided > by libusb yet). > I also have a driver for this already (DVB-C, DVB-T, analog TV, FM > Radio USB Hybrid dongle). Would you be interested in merging your code with mine? =2D-HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906020842.03175.hselasky>