Skype not getting video from webcam

Jashank Jeremy jashank.jeremy at optusnet.com.au
Mon Oct 4 09:42:34 UTC 2010


Hi,

I've just got a Logitech Webcam Pro 9000, and, after installing
webcamd and pwcview, works very well. However, when I try to use it in
Skype, it doesn't work.

When I ktrace(1) Skype, and bodge UVC in webcamd to produce debugging
data, I get the following output.

This is the debugging data from UVC:

uvcvideo: uvc_v4l2_open
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).
uvcvideo: uvc_v4l2_release
uvcvideo: uvc_v4l2_open
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).
uvcvideo: Control 2/10 value change len 7.
uvcvideo: uvc_v4l2_ioctl(VIDIOCGPICT)
uvcvideo: Control 0x00980903 not found.
uvcvideo: Control 0x00980910 not found.
uvcvideo: uvc_v4l2_ioctl(VIDIOCSPICT)
uvcvideo: Control 0x00980903 not found.
uvcvideo: Control 0x00980910 not found.
uvcvideo: Trying format 0x32315559 (YU12): 640x480.
uvcvideo: Unsupported format 0x32315559.
uvcvideo: Unknown ioctl 0x4030560a
uvcvideo: uvc_v4l2_ioctl(VIDIOCSPICT)
uvcvideo: Control 0x00980903 not found.
uvcvideo: Control 0x00980910 not found.
uvcvideo: Unknown ioctl 0x4030560a
uvcvideo: uvc_v4l2_ioctl(VIDIOCGWIN)
uvcvideo: uvc_v4l2_ioctl(VIDIOCSWIN)
uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
uvcvideo: uvc_v4l2_poll
uvcvideo: uvc_v4l2_poll

This is the relevant portion of the ktrace(1) output from Skype
(dumped using ports/devel/linux_kdump):
...
 86117 skype    CALL  linux_open(0x2dc9e0b8,0x802,0)
 86117 skype    NAMI  "/compat/linux/dev/video0"
 86117 skype    NAMI  "/dev/video0"
 86117 skype    RET   linux_open 11/0xb
 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
 86117 skype    CALL  close(0xb)
 86117 skype    RET   close 0
[...90 lines elided...]
 86117 skype    CALL  linux_open(0x9bb4e40,0x802,0)
 86117 skype    NAMI  "/compat/linux/dev/video0"
 86117 skype    NAMI  "/dev/video0"
 86117 skype    RET   linux_open 32/0x20
 86117 skype    CALL  linux_ioctl(0x20,0x80685600 ,0x2dc9deb8)
 86117 skype    RET   linux_ioctl -1 errno 22 Invalid argument
 86117 skype    CALL  linux_ioctl(0x20,0x803c7601 ,0x2dc9de54)
 86117 skype    RET   linux_ioctl 0
 86117 skype    CALL  linux_ioctl(0x20,0x800e7606 ,0x2dc9ddf0)
 86117 skype    RET   linux_ioctl 0
 86117 skype    CALL  linux_ioctl(0x20,0x400e7607 ,0x2dc9ddf0)
 86117 skype    RET   linux_ioctl -1 errno 22 Invalid argument
 86117 skype    CALL  linux_ioctl(0x20,0x400e7607 ,0x2dc9ddf0)
 86117 skype    RET   linux_ioctl 0
 86117 skype    CALL  linux_ioctl(0x20,0x80207609 ,0x2dc9ddd0)
 86117 skype    RET   linux_ioctl 0
 86117 skype    CALL  linux_ioctl(0x20,0x4020760a ,0x2dc9ddd0)
 86117 skype    RET   linux_ioctl 0

I'm none the wiser as to what's going on here, especially the
ioctl(2)'s not matching between Skype and webcamd. Could someone
enlighten me?

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/6f7099c4/attachment.pgp


More information about the freebsd-multimedia mailing list