From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 06:51:46 2012 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 3FC6D106564A for ; Tue, 3 Jan 2012 06:51:46 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id C86D68FC08 for ; Tue, 3 Jan 2012 06:51:45 +0000 (UTC) Received: from [93.104.68.104] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RhyDn-0003ks-M0; Tue, 03 Jan 2012 07:51:43 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q036pfbG007402; Tue, 3 Jan 2012 07:51:42 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q036peRZ007401; Tue, 3 Jan 2012 07:51:40 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 3 Jan 2012 07:51:40 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120103065140.GA7385@tinyCurrent> References: <20120101164408.GA2389@tinyCurrent> <201201011846.07257.hselasky@c2i.net> <20120101190617.GA1076@tiny> <201201012152.09192.hselasky@c2i.net> <20120101211219.GA1350@tiny> <20120102104908.GA1474@tiny> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120102104908.GA1474@tiny> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.68.104 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 06:51:46 -0000 El día Monday, January 02, 2012 a las 11:49:09AM +0100, Matthias Apitz escribió: > 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); > 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-3.1.0.4/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 +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ 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