From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 15:55:43 2012 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 1D6C4106564A for ; Thu, 5 Jan 2012 15:55:43 +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 A0E0B8FC13 for ; Thu, 5 Jan 2012 15:55:42 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 226833514; Thu, 05 Jan 2012 16:55:39 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Thu, 5 Jan 2012 16:53:15 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120101164408.GA2389@tinyCurrent> <201201040806.46076.hselasky@c2i.net> <20120105132633.GA1264@tiny> In-Reply-To: <20120105132633.GA1264@tiny> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201201051653.15808.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype 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, 05 Jan 2012 15:55:43 -0000 On Thursday 05 January 2012 14:26:34 Matthias Apitz wrote: > El d=EDa Wednesday, January 04, 2012 a las 08:06:45AM +0100, Hans Petter= =20 Selasky escribi=F3: > > Hi, > >=20 > > > and now? > >=20 > > Webcamd supports both, maybe it shouldn't? > >=20 > > In the webcamd port do: > >=20 > > make extract patch > > Then in work/webcamd*/config you find: > >=20 > > CONFIG_VIDEO_V4L1_COMPAT=3Dy > >=20 > > Change this to =3Dn > >=20 > > Then cd tools/linux_make > > make all install clean > >=20 > > cd ../.. > >=20 > > make configure > >=20 > > Then build the port. >=20 > Hi >=20 > I followed exact your procedure; if I compile with HAL it fails with the > erros below; I disabled HAL, it compiled fine and when I start >=20 > # cd work/webcamd* > # ./webcamd >=20 > it gives the same ioctl's failing from Skype; >=20 > I checked the source tree for 'CONFIG_VIDEO_V4L1_COMPAT' but it is only > mentioned as #undef CONFIG_VIDEO_V4L1_COMPAT in build/config.h, no > further places; so I don't know where to look if some additional lib is > compiled and linked static to webcamd (ldd does not show any additional > shared lib); I'm a bit clueless; please help >=20 > thanks >=20 > matthias >=20 > HAL compile error: >=20 > ... > webcamd.c:268: warning: format '%08x' expects type 'unsigned int', but > argument 3 has type 'long unsigned int' webcamd_hal.c: In function > 'hal_add_device': > webcamd_hal.c:129: error: storage size of 'v1cap' isn't known > webcamd_hal.c:171: error: 'VIDIOCGCAP' undeclared (first use in this > function) webcamd_hal.c:171: error: (Each undeclared identifier is > reported only once webcamd_hal.c:171: error: for each function it appears > in.) > webcamd_hal.c:178: error: 'VID_TYPE_CAPTURE' undeclared (first use in this > function) webcamd_hal.c:180: error: 'VID_TYPE_OVERLAY' undeclared (first > use in this function) webcamd_hal.c:184: error: 'VID_TYPE_TUNER' > undeclared (first use in this function) *** Error code 1 > 1 error If fails because HAL depends on some V4L1 ioctls. I could #ifdef that. =2D-HPS