Skype not getting video from webcam

Jashank Jeremy jashank.jeremy at optusnet.com.au
Mon Oct 4 22:31:48 UTC 2010


On Mon, Oct 04, 2010 at 12:24:27PM +0200, Hans Petter Selasky wrote:
>The IOCTL's are being changed by the Linux-oxulator. See linux.ko.

So the Linuxolator is changing ioctl(2); that I would expect. What I
don't expect is it to change one ioctl(2) into a completely unrelated
one.

uvcvideo: uvc_v4l2_ioctl(VIDIOCGCAP)
uvcvideo: Unknown ioctl 0x40047601
uvcvideo: uvc_v4l2_ioctl(VIDIOCGCAP)
uvcvideo: Trying format 0x56595559 (YUYV): 10000x10000.
uvcvideo: Using default frame interval 200000.0 us (5.0 fps).

corresponds to

 86117 skype    CALL  linux_ioctl(0xb,0x80685600 ,0x2dc9e014)
 86117 skype    RET   linux_ioctl -1 errno 22 Invalid argument
 86117 skype    CALL  linux_ioctl(0xb,0x803c7601 ,0x2dc9e07c)
 86117 skype    RET   linux_ioctl 0

The ioctl(2)'s are completely different, and when I go and check the
lookup table in stable/8/sys/compat/linux/linux_ioctl.h, I find:

#define LINUX_VT_OPENQRY	0x5600
#define LINUX_VIDIOCGCAP		0x7601

Why is Skype sending a VT_OPENQRY, and webcamd receiving it as a
VIDIOCGCAP?

Jashank

-- 
Jashank Jeremy
PGP: 0x25A5C309
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20101004/5747e409/attachment.pgp


More information about the freebsd-multimedia mailing list