webcamd - how does one get new drivers into it?

Hans Petter Selasky hselasky at c2i.net
Sat Jun 25 07:56:19 UTC 2011


On Saturday 25 June 2011 02:44:44 Torfinn Ingolfsen wrote:
> I got a new device, a PCTV nanoStick T2[1]. More info here[2].
> I tried using webcamd with it:
> root at kg-v2# uname -a
> FreeBSD kg-v2.kg4.no 8.1-STABLE FreeBSD 8.1-STABLE #3: Thu Sep 16 22:18:48
> CEST 2010     root at kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
> root at kg-v2# portversion -v | grep webcamd
> webcamd-0.1.26              =  up-to-date with port
> root at kg-v2# portversion -v | grep cuse
> cuse4bsd-kmod-0.1.14        =  up-to-date with port
> root at kg-v2# kldstat | grep cuse
> 11    1 0xffffffff81052000 30a6     cuse4bsd.ko
> root at kg-v2# usbconfig -u 3 -a 2
> ugen3.2: <PCTV 290e PCTV Systems> at usbus3, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=ON root at kg-v2# webcamd -d ugen3.2 -i 0 -v 0
> Cannot find USB device
> 
> So how does one get new drivers into webcamd?
> Is therer a porting guide or some documentation?
> 
> References:
> 1) http://linuxtv.org/wiki/index.php/Pinnacle_PCTV_nanoStick_T2_%28290e%29
> 2) http://sites.google.com/site/tingox/pctv_nanostick_t2_freebsd

Hi,

svn --username anonsvn --password anonsvn \
      checkout svn://svn.turbocat.net/i4b/trunk/ports

svn --username anonsvn --password anonsvn \
      checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux/tools/linux_make

0)
Build and install linux_make tool.
cd linux_make
make all install clean

1)
cd ports/multimedia/webcamd  # from my SVN
make extract patch

2) Patch in new driver in work/*webcamd*/media_tree
Make sure all Linux Makefiles/KBuild are updated properly.

3) Add new CONFIG_XXXX entries to work/*webcamd*/config

4) Run make configure

5) Run make -j2 all

Resolve any breakage.

--HPS


More information about the freebsd-multimedia mailing list