From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 07:09:16 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 01B37106566C for ; Wed, 4 Jan 2012 07:09:16 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 804A68FC08 for ; Wed, 4 Jan 2012 07:09:14 +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 mailfe06.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 223053332; Wed, 04 Jan 2012 08:09:12 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Wed, 4 Jan 2012 08:06:45 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20120101164408.GA2389@tinyCurrent> <201201032228.19293.hselasky@c2i.net> <20120103222031.GA3748@tinyCurrent> In-Reply-To: <20120103222031.GA3748@tinyCurrent> 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: <201201040806.46076.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: Wed, 04 Jan 2012 07:09:16 -0000 On Tuesday 03 January 2012 23:20:31 Matthias Apitz wrote: > El d=EDa Tuesday, January 03, 2012 a las 10:28:18PM +0100, Hans Petter Se= lasky=20 escribi=F3: > > > The failing ioctls are (only 2 are sent down from Skype): > > >=20 > > > Creating /dev/video0 > > > mydebug: v4b_open fflags: 00000003 > > > mydebug: linux_open: handle=3D28c08600 > > > mydebug: v4b_ioctl: handle=3D28c08600 cmd=3D0x40047601 > > > mydebug: linux_ioctl returns: error=3Dffffffea > > > mydebug: v4b_convert_error: CUSE_ERR_INVALID > >=20 > > #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format) > >=20 > > #define VIDIOC_S_CROP _IOW('V', 60, struct v4l2_crop) >=20 > Hi, >=20 > 'V' (capital V) is 0x56, while small 'v' is 0x76, i.e. Skype is sending > V4L IOCTL's; >=20 > I did a cross-check with pwcview, it sends IOCTL as: > cmd=3D0x40685600, ... i.e. pwcview uses V4L2; Hi, > and now? Webcamd supports both, maybe it shouldn't? In the webcamd port do: make extract patch Then in work/webcamd*/config you find: CONFIG_VIDEO_V4L1_COMPAT=3Dy Change this to =3Dn Then cd tools/linux_make make all install clean cd ../.. make configure Then build the port. =2D-HPS