Date: Sat, 25 Jun 2011 09:54:36 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-multimedia@freebsd.org Subject: Re: webcamd - how does one get new drivers into it? Message-ID: <201106250954.36809.hselasky@c2i.net> In-Reply-To: <20110625024444.8278a724.torfinn.ingolfsen@broadpark.no> References: <20110625024444.8278a724.torfinn.ingolfsen@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > root@kg-v2# portversion -v | grep webcamd > webcamd-0.1.26 = up-to-date with port > root@kg-v2# portversion -v | grep cuse > cuse4bsd-kmod-0.1.14 = up-to-date with port > root@kg-v2# kldstat | grep cuse > 11 1 0xffffffff81052000 30a6 cuse4bsd.ko > root@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106250954.36809.hselasky>