Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2011 03:35:03 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: Webcamd modularisation ongoing
Message-ID:  <201105190335.03535.hselasky@c2i.net>
In-Reply-To: <201105182104.19607.hselasky@c2i.net>
References:  <201105182104.19607.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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