Date: Tue, 6 Mar 2012 12:57:47 +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: <20120306115747.GA1796@tiny> In-Reply-To: <20120106160400.GA87768@tinyCurrent> References: <20120101164408.GA2389@tinyCurrent> <201201051900.01903.hselasky@c2i.net> <20120106134811.GA6168@tinyCurrent> <201201061647.46539.hselasky@c2i.net> <20120106160400.GA87768@tinyCurrent>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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?20120306115747.GA1796>