Date: Mon, 4 Oct 2010 19:01:53 +1100 From: Jashank Jeremy <jashank.jeremy@optusnet.com.au> To: Multimedia discussions <freebsd-multimedia@freebsd.org> Subject: Skype not getting video from webcam Message-ID: <20101004080136.GF11972@vk2pj.dyndns.org>
next in thread | raw e-mail | index | archive | help
--j2AXaZ4YhVcLc+PQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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): =2E.. 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 --=20 Jashank Jeremy PGP: 0x25A5C309 --j2AXaZ4YhVcLc+PQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkypifAACgkQrMXkZyWlwwnDuQCePGhHH+aLOBbU9v2XaOzRiZIk V60AoNupxyLRZxdPPAzuHUqYJVojFu6U =5AE9 -----END PGP SIGNATURE----- --j2AXaZ4YhVcLc+PQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101004080136.GF11972>