From owner-freebsd-multimedia@FreeBSD.ORG Mon May 16 20:16:03 2011 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 E4BA4106566C; Mon, 16 May 2011 20:16:02 +0000 (UTC) (envelope-from kappei84@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id AEE2E8FC17; Mon, 16 May 2011 20:16:02 +0000 (UTC) Received: by pvg11 with SMTP id 11so2956193pvg.13 for ; Mon, 16 May 2011 13:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=iPuPqbx0Za4ALxav0+A5DMII/nyX8WgqR2s7qpq7s6E=; b=ouxlYvo/vnjwCQ0MiORondLXPt8BP5vIpGBhl/8UdP8T3aSaxkD7E8caOCz0VJgT3f eEtGeOf9tr6sG6V3aKCOXao8HUyVoShLguA7SUB3q0u2J1VDg5njMVxu2Zyw4NQKoraw 1J4LCXnjhPUekGXFGiicbUI144mikZVg1l2IE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Fpfc6xRaLOVsIXGfyCOK871cFbIWkDgS8OSySrUtdiCV/M9YRN7GFPyRmTB92ghwaf 9BRkZLrqd0UyjMw3z4peFATttc7ExZNZ7JDkH3P9JalEUywDHqB6Jf2MZNPJP64Iutxp 42F9jg13ToYVr3foerL8PwtrZDF6QEASF+2OY= MIME-Version: 1.0 Received: by 10.142.62.7 with SMTP id k7mr2943403wfa.219.1305576962110; Mon, 16 May 2011 13:16:02 -0700 (PDT) Received: by 10.143.31.7 with HTTP; Mon, 16 May 2011 13:16:02 -0700 (PDT) In-Reply-To: References: <20110515125252.5a90d966@ukr.net> <1305455213.2833.3.camel@crashalot.rainbow-runner.nl> <20110515140332.3acb7412@ukr.net> <20110515140755.6e833cd4@ukr.net> <20110515144556.292a0230@ukr.net> <20110515132530.GA6707@tinyCurrent> <4DCFE689.3000904@FreeBSD.org> Date: Mon, 16 May 2011 22:16:02 +0200 Message-ID: From: Daniele Mazzotti To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-multimedia@freebsd.org Subject: Re: skype 2.1.0.81; alternate versions of the Linuxolator v4l2 patches 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, 16 May 2011 20:16:03 -0000 Hi all. I am sorry to bother you all again. I made some progresses here. I have succesfully managed to run my webcam inside skype. I have basically followed the main steps to get my webcam working outside skype (e.g. cuse4bsd, webcamd and pwcview, I am sorry I am too lazy to write all the passages...) and then I made the following: [User@Fermi:/home/User]> su [Root@Fermi:/home/User]> kldload linux_v4l2wrapper and after then, as normal user run [User@Fermi:/home/User]> skype --resources=$PWD/skype_static-2.1.0.81 & which made my webcam available and working. By the way I have these warnings comparing on my command prompt [User@Fermi:/home/User]> libv4lcontrol: error creating shm segment failed: Function not implemented libv4lcontrol: falling back to malloc-ed memory for controls libv4lcontrol: error creating shm segment failed: Function not implemented libv4lcontrol: falling back to malloc-ed memory for controls libv4lcontrol: error creating shm segment failed: Function not implemented libv4lcontrol: falling back to malloc-ed memory for controls and if I try to run pwcview from the command line I only get a window opening and closing immediately telling me this: [User@Fermi:/home/User]> pwcview Webcam set to: 320x240 (sif) at 5 fps libv4l2: error reading: Invalid argument Error reading from webcam: Invalid argument I am however able to see the output of my webcam. I do not know if this can be of use to you but I think this is a good step forward. I am actually having troubles with audio devices and skype calls but I will try get rid of those problems tomorrow. My last question is: "is it possible to add linux_v4l2wrapper_enable="YES" to /etc/rc.conf so that I can load such a module at startup?" Best of my respect and regards to you all, Daniele. 2011/5/15 Daniele Mazzotti > > Thanks you helped me. I just had the compiler complaining me about that, even though I followed all the steps. I was thinking I did something wrong. > > Regards, > Daniele. > > 2011/5/15 Andriy Gapon >> >> I must also point out that at present the port most likely would still complain >> that you need to update your system even if you have all required commits. >> In this case you would need to comment out the IGNORE= line. >> This is because the ports do not check svn revisions (it would be very hard to >> implement that correctly), but OSVERSION and I haven't bumped __FreeBSD_version >> at the proper moments (and nobody reminded me about that, unfortunately). >> >> -- >> Andriy Gapon >