webcamd/cuse4bsd && Skype

Matthias Apitz guru at unixarea.de
Thu Mar 8 11:21:59 UTC 2012


El día Thursday, March 08, 2012 a las 07:44:55AM +0100, Hans Petter Selasky escribió:

> > Hello Hans,
> > 
> > Can we please return to this thread?
> > 
> > The problem was/is that the Linux binary skype-2.0.0.72,1 is sending
> > V4L1 ioctl's, the cam only understands V4l2 ioctl's and webcamd(8) does
> > not translate them to V4l2; you wanted to check why?
> 
> Hi,
> 
> Webcamd compiles the Linux code which translates V4L1 IOCTL into V4L2 IOCTL's 
> maybe the IOCTL's are not numerically right?
> 
> media_tree/drivers/media/video/v4l2-compat-ioctl32.c
> 
> Add some breakpoints in that file and run webcamd from GDB.

Hi,

I haven't used GDB, but only a look into tha above source; it says
"conversion between 32bit and 64bit native ioctls" and in the defines I
only see for example _IOWR('V', 4,...) i.e. with capital 'V' while v4l1
is 'v' small v (0x76..);

I don't see how this could translate v4l1 into v4l2 ioctls; am I
missing some point here?

Thanks

	matthias
-- 
Matthias Apitz
e <guru at 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


More information about the freebsd-multimedia mailing list