@guru: "Hello,
Until now I have used the kmod pwc.ko and an external Philips webcam in
my FreeBSD 9-CURRENT laptop with Skype, works fine; 
to get the built-in cam working I switched to webcamd/cuse4bsd with the
following problem now; here are the details:
# uname -a
FreeBSD tinyCurrent 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r214444: Thu Oct 28 10:56:32 CEST 2010     <email_address>:/usr/home/guru/myThings/FreeBSD/9-CURRENT/obj/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/sys/GENERIC  i386
# pkg_info | fgrep cuse
cuse4bsd-kmod-0.1.23 Cuse4BSD character device loopback driver for userspace
# pkg_info | fgrep webcam
pwcview-1.4.1_3     The Video4Linux PWC webcam viewer
webcamd-83.161.120.155     A port of Linux USB webcam and DVB drivers into userspace
the two cams are:
ugen4.2: <WebCam Sonix Technology Co., Ltd.> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen1.2: <product 0x0329 vendor 0x0471> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
and webcamd(8) creates two devices:
# ls -l /dev/video*
crw-rw-rw-  1 webcamd  webcamd    0,  96  1 ene 16:52 /dev/video0
crw-rw-rw-  1 webcamd  webcamd    0, 116  1 ene 17:08 /dev/video8
/dev/video0 ist the built-in, /dev/video8 the external USB (0x0329:0x0471
which is a Philips SPC 900);  pwcview(1) works with both cams unsing the -d
flag; as well Kopete let me choose between both cams and both are
working;
skype-83.161.120.155,1 does not work with /dev/video0 (and does not
show the existance of a 2nd device); what can I do with this Skype?
must I go back to the kmod pwc.ko?
Thanks	
	matthias
Matthias Apitz
t 263-491-3350 - f 263-491-3350 - m 263-491-3350
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Sunday, January 01, 2012 a las 06:46:07PM +0100, Hans Petter Selasky escribi�:
<quote>
Hi Hans,
Sure (and I will test this when I'm home again); but my goal was to use
the built-in /dev/video0 with Skype, why this does not work while it
works with pwcview(1) and Kopete?
	matthias
Matthias Apitz
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>"
Posted automagically by a mail2news katherine06@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @hselasky: "<quote>
asky=20
escribi=F3:
Are the permissions set correctly?
=2D-HPS
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Sunday, January 01, 2012 a las 10:12:19PM +0100, Matthias Apitz escribi�:
<quote>
	...
Yes, they are 0666 and as I said pwcview(1) works fine with the built-in
cam, while in Skype it is not even presented as device name;
I will compile webcamd(8) with WITH_DEBUG to see what is going on on
access by Skype...
the cam itself 0x0c45:0x62c0 is listed in uvc(4);
	matthias
Matthias Apitz
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El día Monday, January 02, 2012 a las 11:49:09AM +0100, Matthias Apitz escribió:
<quote>
I have inserted some printf debug statements, see below:
# setenv LD_PRELOAD /usr/local/lib/libhal.so:/usr/local/lib/libdbus-1.so:/usr/local/lib/libcuse4bsd.so
# ./work/webcamd-83.161.120.155/webcamd
: v3.2:USB Acecad Flair tablet driver
: v2.3 (May 2, 2007):Aiptek HyperPen USB Tablet Driver (Linux 2.6.x)
: Bryan W. Headley/Chris Atenasio/Cedric Brun/Rene van Paassen
GTCO usb driver version: 2.00.0006: v0.0.2:USB KB Gear JamStudio Tablet driver
: v1.52:USB Wacom tablet driver
lirc_dev: IR Remote Control driver registered, major 14 
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR LIRC bridge handler initialized
Linux video capture interface: v2.00
em28xx driver loaded
Em28xx: Initialized (Em28xx dvb Extension) extension
USBVision USB Video Device Driver for Linux : 0.9.11
USBVision USB Video Device Driver for Linux : 0.9.11
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
: Zoran 364xx
au0828 driver loaded
USB Video Class driver (1.1.1)
: 0.4.7:D-Link DSB-R100 USB FM radio driver
: 0.0.2: A driver for the TEA5764 radio chip for EZX Phones.
b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
dib0700: loaded with support for 21 different device-types
Attached ugen4.2[0] to cuse unit 0
uvcvideo: Found UVC 1.00 device  (0c45:62c0)
Creating /dev/video0
(now I started Skype in some other session)
mydebug: v4b_open
mydebug: linux_open: handle=28c08600
mydebug: v4b_ioctl: handle=28c08600
mydebug: linux_ioctl returns: error=ffffffea
mydebug: v4b_convert_error: CUSE_ERR_INVALID
mydebug: v4b_ioctl: handle=28c08600
mydebug: linux_ioctl returns: error=ffffffea
mydebug: v4b_convert_error: CUSE_ERR_INVALID
mydebug: v4b_close: handle=28c08600
The mydebug: lines names the function where we are (v4b_*) and
the values which are important; why linux_ioctl() returns that broken
value 0xffffffea?
	matthias
Matthias Apitz
t 263-491-3350 - f 263-491-3350 - m 263-491-3350
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @hselasky: "<quote>
tz=20
escribi=C3=B3:
Because Linux ERROR codes are all negative!
I have another suggestion. Maybe there is a sign error:
printf("arg=3D0x%016llx\n", (long)arg);
If that value is bigger than 32-bit, try to cast it to:
(u32)(long)arg, when passing to IOCTL functions.
=2D-HPS
linux_ioctl(struct cdev_handle *handle, int fflags,
    unsigned int cmd, void *arg)
{
        if (handle =3D=3D NULL)
                return (-EINVAL);
        linux_fix_f_flags(&handle->fixed_file, fflags);
        if (handle->fixed_file.f_op->unlocked_ioctl !=3D NULL)
                return (handle->fixed_file.f_op->unlocked_ioctl(&handle-
                    cmd, (long)arg));
        else if (handle->fixed_file.f_op->ioctl !=3D NULL)
                return (handle->fixed_file.f_op->ioctl(&handle->fixed_inode,
                    &handle->fixed_file, cmd, (long)arg));
        else
                return (-EINVAL);
}
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @hselasky: "<quote>
pitz
cu
er
Hi,
I meant printing the "cmd" value. "arg" value can be negative if a pointer =
is=20
passed along.
Try to figure out which ioctl is failing. Maybe run webcamd from gdb and ad=
d=20
some code you can break-point on, then single step.
=2D-HPS
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Tuesday, January 03, 2012 a las 09:24:08AM +0100, Hans Petter Selasky escribi�:
<quote>
Hi,
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
mydebug: v4b_ioctl: handle=28c08600 cmd=0x403c7601
mydebug: linux_ioctl returns: error=ffffffea
mydebug: v4b_convert_error: CUSE_ERR_INVALID
mydebug: v4b_close: handle=28c08600
(cmd is printed as 'cmd=0x%08x')
what maybe wrong with the cmd's?
Thanks
	matthias
Matthias Apitz
t 263-491-3350 - f 263-491-3350 - m 263-491-3350
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @hselasky: "<quote>
lasky=20
escribi=F3:
Hi,
#define VIDIOC_G_FMT            _IOWR('V',  4, struct v4l2_format)
#define VIDIOC_S_CROP            _IOW('V', 60, struct v4l2_crop)
Try to print the two above IOCTL's and see if they match.
It might be a compile issues that some structures have different sizes than=
=20
expected.
The cmds are defined in the header files in /usr/local/include/linux/*/*
Also there might be a module parameter that will get you more debugging inf=
o=20
from the UVC/PWC driver. Check output from "webcamd -s".
=2D-HPS
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Tuesday, January 03, 2012 a las 10:28:18PM +0100, Hans Petter Selasky escribi�:
<quote>
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 263-491-3350 - f 263-491-3350 - m 263-491-3350
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @hselasky: "<quote>
lasky=20
escribi=F3:
Hi,
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=3Dy
Change this to =3Dn
Then cd tools/linux_make
make all install clean
cd ../..
make configure
Then build the port.
=2D-HPS
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Wednesday, January 04, 2012 a las 08:06:45AM +0100, Hans Petter Selasky escribi�:
<quote>
Hi,
Why it should not? I think it is better to do that conversion in FreeBSD
source land, than in Linux binary packages on which we have zero
influence; thanks for your work on this!
thanks, I will test this over the long weekend and report back;
	matthias
Matthias Apitz
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Wednesday, January 04, 2012 a las 08:06:45AM +0100, Hans Petter Selasky escribi�:
<quote>
Hi
I followed exact your procedure; if I compile with HAL it fails with the
erros below; I disabled HAL, it compiled fine and when I start
# cd work/webcamd*
# ./webcamd
it gives the same ioctl's failing from Skype;
I checked the source tree for 'CONFIG_VIDEO_V4L1_COMPAT' but it is only
mentioned as #undef CONFIG_VIDEO_V4L1_COMPAT in build/config.h, no
further places; so I don't know where to look if some additional lib is
compiled and linked static to webcamd (ldd does not show any additional
shared lib); I'm a bit clueless; please help
thanks
	matthias
HAL compile error:
...
webcamd.c:268: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
webcamd_hal.c: In function 'hal_add_device':
webcamd_hal.c:129: error: storage size of 'v1cap' isn't known
webcamd_hal.c:171: error: 'VIDIOCGCAP' undeclared (first use in this function)
webcamd_hal.c:171: error: (Each undeclared identifier is reported only once
webcamd_hal.c:171: error: for each function it appears in.)
webcamd_hal.c:178: error: 'VID_TYPE_CAPTURE' undeclared (first use in this function)
webcamd_hal.c:180: error: 'VID_TYPE_OVERLAY' undeclared (first use in this function)
webcamd_hal.c:184: error: 'VID_TYPE_TUNER' undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 1
Stop in /usr/ports/multimedia/webcamd.
*** Error code 1
Stop in /usr/ports/multimedia/webcamd.
Matthias Apitz
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @hselasky: "<quote>
=20
Selasky escribi=F3:
If fails because HAL depends on some V4L1 ioctls. I could #ifdef that.
=2D-HPS
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Thursday, January 05, 2012 a las 04:53:15PM +0100, Hans Petter Selasky escribi�:
<quote>
Hi,
OK concerning HAL, but the main question is why the V4L IOCTL are not
translated into V4L2? where should I look? thanks
	matthias
Matthias Apitz
t 263-491-3350 - f 263-491-3350 - m 263-491-3350
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @hselasky: "<quote>
Selasky escribi=F3:
ly
is
al
They are, but probably the structure size is wrong.
=2D-HPS
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Thursday, January 05, 2012 a las 07:00:01PM +0100, Hans Petter Selasky escribi�:
<quote>
Hello Hans,
I have below a gdb session of the 1st failing IOCTL after the open; does
not look like a problem of the structure size; the error is returned
from the call
	ret = vdev->fops->unlocked_ioctl(filp, cmd, arg);
let me know if you need more details of the gdb session; thanks
	matthias
# gdb work/webcamd-83.161.120.155/webcamd
...
(gdb) br v4b_ioctl
Breakpoint 1 at 0x82f2c96: file webcamd.c, line 265.
(gdb) r
Starting program: /usr/ports/multimedia/webcamd/work/webcamd-83.161.120.155/webcamd 
(now Skype in another session)
mydebug: v4b_open fflags: 00000003
mydebug: linux_open gives: handle=28c08600
[Switching to Thread 28805180 (LWP 100240)]
Breakpoint 1, v4b_ioctl (cdev=0x2882c0c0, fflags=7, cmd=1074034177, peer_data=0x10000)
    at webcamd.c:265
265             printf("mydebug: v4b_ioctl: cmd=0x%08x\n", cmd);
(gdb) n
mydebug: v4b_ioctl: cmd=0x40047601
266             handle = cuse_dev_get_per_file_handle(cdev);
(gdb) n
267             printf("mydebug: v4b_ioctl: handle=%08x cmd=0x%08x\n", handle, cmd);
(gdb) n
mydebug: v4b_ioctl: handle=28c08600 cmd=0x40047601
270             if (cmd == FIONBIO || cmd == FIOASYNC)
(gdb) n
274             error = linux_ioctl(handle, fflags & CUSE_FFLAG_NONBLOCK,
(gdb) s
linux_ioctl (handle=0x28c08600, fflags=4, cmd=1074034177, arg=0x10000)
    at kernel/linux_file.c:114
114             if (handle == NULL)
(gdb) n
117             linux_fix_f_flags(&handle->fixed_file, fflags);
(gdb) n
119             if (handle->fixed_file.f_op->unlocked_ioctl != NULL)
(gdb) n
120                     return (handle->fixed_file.f_op->unlocked_ioctl(&handle->fixed_file,
(gdb) s
v4l2_ioctl (filp=0x28c08608, cmd=1074034177, arg=65536)
    at media_tree/drivers/media/video/v4l2-dev.c:333
333             struct video_device *vdev = video_devdata(filp);
(gdb) n
334             int ret = -ENODEV;
(gdb) n
336             if (vdev->fops->unlocked_ioctl) {
(gdb) n
337                     if (vdev->lock && mutex_lock_interruptible(vdev->lock))
(gdb) n
339                     if (video_is_registered(vdev))
(gdb) n
340                             ret = vdev->fops->unlocked_ioctl(filp, cmd, arg);
(gdb) n
341                     if (vdev->lock)
(gdb) p ret
$1 = -22
(gdb) n
379             if (ret == 0 && cmd == VIDIOC_ENUMINPUT) {
(gdb) n
397             return ret;
(gdb) n
398     }
(gdb) n
linux_ioctl (handle=0x28c08600, fflags=4, cmd=1074034177, arg=0x10000)
    at kernel/linux_file.c:127
127     }
(gdb) n
v4b_ioctl (cdev=0x2882c0c0, fflags=7, cmd=1074034177, peer_data=0x10000)
    at webcamd.c:276
276             printf("mydebug: linux_ioctl returns: error=%08x\n", error);
(gdb) n
mydebug: linux_ioctl returns: error=ffffffea
Matthias Apitz
t 263-491-3350 - f 263-491-3350 - m 263-491-3350
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Thursday, January 05, 2012 a las 07:00:01PM +0100, Hans Petter Selasky escribi�:
<quote>
Hi,
Sorry for disagreeing; webcamd goes with a V4L cmd (0x40047601) into the
routines of media_tree/drivers/media/video/v4l2-ioctl.c and tries to
find a match there; the source reads:
static int check_array_args(unsigned int cmd, void *parg, size_t *array_size,
                            void * __user *user_ptr, void ***kernel_ptr)
{
        int ret = 0;
        switch (cmd) {
        case VIDIOC_QUERYBUF:
        case VIDIOC_QBUF:
        case VIDIOC_DQBUF: {
                struct v4l2_buffer *buf = parg;
...
and I have it in GDB as:
(gdb) s
check_array_args (cmd=1074034177, parg=0xbf4f9d94,
array_size=0xbf4f9d80, 
    user_ptr=0xbf4f9d7c, kernel_ptr=0xbf4f9d78)
    at media_tree/drivers/media/video/v4l2-ioctl.c:2202
2202            int ret = 0;
(gdb) n
2204            switch (cmd) {
(gdb) 
2239            return ret;
(gdb) p ret
$8 = 0
(gdb) p /x cmd
$9 = 0x40047601
i.e. it can not find any match with cmd=0x40047601 in the defines of
/usr/local/include/linux/videodev2.h
/*
 *      I O C T L   C O D E S   F O R   V I D E O   D E V I C E S
 *
 */
#define VIDIOC_QUERYCAP          _IOR('V',  0, struct v4l2_capability)
#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
	matthias
Matthias Apitz
t 263-491-3350 - f 263-491-3350 - m 263-491-3350
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @hselasky: "<quote>
Selasky escribi=F3:
Hi,
Could you try with the latest 3.2 port of webcamd which I posted?
BTW: I'm busy all weekend. Will reply on Monday.
=2D-HPS
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>"
Posted automagically by a mail2news katherine06@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @guru: "El d�a Friday, January 06, 2012 a las 04:47:46PM +0100, Hans Petter Selasky escribi�:
<quote>
Hi,
All tests and gdb traces of today are based on 3.2 port; see
# gdb work/webcamd-83.161.120.155/webcamd                                              
...                                                                             
(gdb) br v4b_ioctl                                                              
Breakpoint 1 at 0x82f2c96: file webcamd.c, line 265.                            
(gdb) r                                                                         
Starting program:
/usr/ports/multimedia/webcamd/work/webcamd-83.161.120.155/webcamd    
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 :-)
Thanks
	matthias
Matthias Apitz
t 263-491-3350 - f 263-491-3350 - m 263-491-3350
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Friday, January 06, 2012 a las 05:04:00PM +0100, Matthias Apitz escribi�:
<quote>
Hello Hans,
Can we please return to this thread?
The problem was/is that the Linux binary skype-83.161.120.155,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 <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @hselasky: "<quote>
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.
HPS
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Thursday, March 08, 2012 a las 07:44:55AM +0100, Hans Petter Selasky escribi�:
<quote>
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 <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @hselasky: "<quote>
Hi,
There used to be a CONFIG_VIDEO_V4L1_COMPAT for webcamd. Maybe I was too quick 
there. I think this stuff now resides in libv4l. Is skype using this library?
/usr/ports/multimedia/libv4l/work/v4l-utils-0.8.4/lib/libv4l1/libv4l1.c
HPS
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
    @guru: "El d�a Thursday, March 08, 2012 a las 01:13:54PM +0100, Hans Petter Selasky escribi�:
<quote>
Hi,
To end this long old thread: after fetching and installing
ports/multimedia/linux_v4l2wrapper-kmod from CVS HEAD, the V4L2 cam works
fine with the old (V4L1) Skype 83.161.120.155; see also
<url>
Thanks to Juergen for the hints.
	matthias
Matthias Apitz
t 263-491-3350 - f 263-491-3350 - m 263-491-3350
e <email_address> - w <url>
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
_______________________________________________
<email_address> mailing list
<url>
To unsubscribe, send any mail to "<email_address>""
{'source': 'USENET', 'other_information': '{"reply_count": 24, "forum_name": "muc.lists.freebsd.multimedia.20140610.mbox"}', 'file': 'data/output/usenet-muc.lists.parquet'}