From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 4 22:31:48 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C0581065694 for ; Mon, 4 Oct 2010 22:31:48 +0000 (UTC) (envelope-from jashank@vk2pj.dyndns.org) Received: from mail11.syd.optusnet.com.au (mail11.syd.optusnet.com.au [211.29.132.192]) by mx1.freebsd.org (Postfix) with ESMTP id 8CDDA8FC13 for ; Mon, 4 Oct 2010 22:31:46 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail11.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o94MVaUf012160 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Oct 2010 09:31:38 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from jashank.vk2pj.dyndns.org (jashank.vk2pj.dyndns.org [192.168.123.36]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id o94MVZJI067433; Tue, 5 Oct 2010 09:31:35 +1100 (EST) (envelope-from jashank@jashank.vk2pj.dyndns.org) Received: from jashank.vk2pj.dyndns.org (localhost [127.0.0.1]) by jashank.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id o94MVZSX015743; Tue, 5 Oct 2010 09:31:35 +1100 (EST) (envelope-from jashank@jashank.vk2pj.dyndns.org) Received: (from jashank@localhost) by jashank.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id o94MVZYt015729; Tue, 5 Oct 2010 09:31:35 +1100 (EST) (envelope-from jashank) Date: Tue, 5 Oct 2010 09:31:34 +1100 From: Jashank Jeremy To: Hans Petter Selasky Message-ID: <20101004223134.GH11972@vk2pj.dyndns.org> References: <20101004080136.GF11972@vk2pj.dyndns.org> <201010041224.27506.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PMULwz+zIGJzpDN9" Content-Disposition: inline In-Reply-To: <201010041224.27506.hselasky@c2i.net> X-Operating-System: FreeBSD jashank.vk2pj.dyndns.org 8.1-STABLE FreeBSD 8.1-STABLE X-PGP-Key: http://members.optusnet.com.au/jashank.jeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Multimedia discussions Subject: Re: Skype not getting video from webcam X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 22:31:48 -0000 --PMULwz+zIGJzpDN9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --=20 Jashank Jeremy PGP: 0x25A5C309 --PMULwz+zIGJzpDN9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkyqVcYACgkQrMXkZyWlwwlRfgCdEC2wlMxF0Pj4bg3Egw4q0vtA YfoAoJxcTH26WTh08oy8PYdVXmJ0Esdn =7GqF -----END PGP SIGNATURE----- --PMULwz+zIGJzpDN9--