Date: Wed, 4 Jan 2012 08:06:45 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype Message-ID: <201201040806.46076.hselasky@c2i.net> In-Reply-To: <20120103222031.GA3748@tinyCurrent> References: <20120101164408.GA2389@tinyCurrent> <201201032228.19293.hselasky@c2i.net> <20120103222031.GA3748@tinyCurrent>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201040806.46076.hselasky>
