From owner-freebsd-multimedia@FreeBSD.ORG Thu May 19 01:36:18 2011 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 9CCC91065687 for ; Thu, 19 May 2011 01:36:18 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id 204888FC17 for ; Thu, 19 May 2011 01:36:17 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=1W/zHQV/91afZrGZjnmxK4mmm0xPtKVmshL3njyU5IE= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=jXCnncDB4D4A:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=xq3W2uTSAAAA:8 a=OdR5sfXFAAAA:8 a=h5OUFbXWI2rj45285PUA:9 a=qVKia9ywiIVteC44xkMA:7 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mailfe01.swip.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-TFF-CGPSA-Version: 1.7 X-T2-CGPSA-Filter: Scanned Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 129023260 for freebsd-multimedia@freebsd.org; Thu, 19 May 2011 03:36:12 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Thu, 19 May 2011 03:35:03 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201105182104.19607.hselasky@c2i.net> In-Reply-To: <201105182104.19607.hselasky@c2i.net> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201105190335.03535.hselasky@c2i.net> Subject: Re: Webcamd modularisation ongoing 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: Thu, 19 May 2011 01:36:18 -0000 On Wednesday 18 May 2011 21:04:19 Hans Petter Selasky wrote: > Hi, > > I'm currently restructuring webcamd to be more up to date with the > following git: > > http://git.linuxtv.org/media_tree.git > > I've created a new tool (~1000 LOC) called linux_make, which I've committed > to my I4B svn repositorium under the usbcam/ulinux/tools/linux_make > folder. > > This tool basically scans the Linux Makefiles and convert them into BSD > ones based on input from a "config" file. This is very much like > menuconfig, only more lightweight. For example I don't care about > automatic dependencies. > > Currently everything is built like a monotolith, but this new tool allows > for modules aswell, so that for example the UVC video driver is a .so file > which webcamd loads during startup. > > When I've got all the bits and pieces together I will do the final > switchover to using media_tree.git. This might require some help from > people that have submitted driver patches to webcamd which might no longer > apply. > > --HPS > Hi, The switchover to git://linuxtv.org/media_tree.git is now complete as per r1804. Please update your patches and report any failures. At least the following driver needs to be updated: "PCTV 452E" --HPS Instructions (git + svn is required): # # 4) Build webcamd # svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux make fetch cd patches ./do_patch.sh cd .. make -j3 all # the following command will attach to the first detected webcam: ./webcamd # # The following command will try to attach to the given USB unit, # interface and V4B unit. # ./webcamd -d ugen4.1 -i 0 -v 0 # # The following command will display webcam contents from /dev/video0 # by default. # pwcview