webcamd/cuse4bsd && Skype
Matthias Apitz
guru at unixarea.de
Tue Mar 6 11:57:55 UTC 2012
El día Friday, January 06, 2012 a las 05:04:00PM +0100, Matthias Apitz escribió:
> El día Friday, January 06, 2012 a las 04:47:46PM +0100, Hans Petter Selasky escribió:
>
> > > #define VIDIOC_RESERVED _IO('V', 1)
> > > #define VIDIOC_ENUM_FMT _IOWR('V', 2, struct v4l2_fmtdesc)
> > > #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format)
> > > #define VIDIOC_S_FMT _IOWR('V', 5, struct v4l2_format)
> > > #define VIDIOC_REQBUFS _IOWR('V', 8, struct v4l2_requestbuffers)
> > > ...
> > >
> > > they are all there with capital 'V' while we have 'v' (0x76) im the cmd;
> > > this can not work; somewhere the conversion from V4L to V4L2 is missed;
> > > where this should be done, please point me to the source file to check
> > > and set a breakpoint there; thanks
> > >
> >
> > Hi,
> >
> > Could you try with the latest 3.2 port of webcamd which I posted?
>
> Hi,
>
> All tests and gdb traces of today are based on 3.2 port; see
>
> # gdb work/webcamd-3.2.0.1/webcamd
> ...
> (gdb) br v4b_ioctl
> Breakpoint 1 at 0x82f2c96: file webcamd.c, line 265.
> (gdb) r
> Starting program:
> /usr/ports/multimedia/webcamd/work/webcamd-3.2.0.1/webcamd
>
> > BTW: I'm busy all weekend. Will reply on Monday.
>
> OK, I'm in no hurry with this; the built-in webcam in this laptop is not
> working for more than one year and can wait even a bit more :-)
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?
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