Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2012 23:20:31 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: webcamd/cuse4bsd && Skype
Message-ID:  <20120103222031.GA3748@tinyCurrent>
In-Reply-To: <201201032228.19293.hselasky@c2i.net>
References:  <20120101164408.GA2389@tinyCurrent> <201201030924.08045.hselasky@c2i.net> <20120103181538.GA3129@tinyCurrent> <201201032228.19293.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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;

and now?

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120103222031.GA3748>