From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 2 06:38:02 2009 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B44E7106568C; Tue, 2 Jun 2009 06:38:02 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id BDD428FC0A; Tue, 2 Jun 2009 06:37:56 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=UVsXOa8ue38A:10 a=FbYV3LkVdecA:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=8kQB0OdkAAAA:8 a=OdR5sfXFAAAA:8 a=NVwVp3h0kRVtfkd0vXYA:9 a=x8mpSUuayRY7ztYWDmoA:7 a=uHzZECeVSXpBJioWfkf_TLmVK-AA:4 a=9aOQ2cSd83gA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1255503714; Tue, 02 Jun 2009 08:37:54 +0200 From: Hans Petter Selasky To: Markus Rechberger Date: Tue, 2 Jun 2009 08:42:01 +0200 User-Agent: KMail/1.9.7 References: <200804142217.17035.beech@FreeBSD.org> <200906012241.12019.hselasky@c2i.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200906020842.03175.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-emulation@freebsd.org, Beech Rintoul Subject: Re: USB webcam++ support for FreeBSD-8-current is soon here X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 06:38:03 -0000 On Monday 01 June 2009, Markus Rechberger wrote: > Hi, > > On Mon, Jun 1, 2009 at 10:41 PM, Hans Petter Selasky =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