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>
index | next in thread | previous in thread | raw e-mail
On Tuesday 03 January 2012 23:20:31 Matthias Apitz wrote:
> El día Tuesday, January 03, 2012 a las 10:28:18PM +0100, Hans Petter Selasky
escribió:
> > > The failing ioctls are (only 2 are sent down from Skype):
> > >
> > > Creating /dev/video0
> > > mydebug: v4b_open fflags: 00000003
> > > mydebug: linux_open: handle=28c08600
> > > mydebug: v4b_ioctl: handle=28c08600 cmd=0x40047601
> > > mydebug: linux_ioctl returns: error=ffffffea
> > > mydebug: v4b_convert_error: CUSE_ERR_INVALID
> >
> > #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format)
> >
> > #define VIDIOC_S_CROP _IOW('V', 60, struct v4l2_crop)
>
> Hi,
>
> 'V' (capital V) is 0x56, while small 'v' is 0x76, i.e. Skype is sending
> V4L IOCTL's;
>
> I did a cross-check with pwcview, it sends IOCTL as:
> cmd=0x40685600, ... 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=y
Change this to =n
Then cd tools/linux_make
make all install clean
cd ../..
make configure
Then build the port.
--HPS
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201040806.46076.hselasky>
