webcamd/cuse4bsd && Skype
Hans Petter Selasky
hselasky at c2i.net
Wed Jan 4 07:09:16 UTC 2012
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
More information about the freebsd-multimedia
mailing list