From owner-freebsd-multimedia@FreeBSD.ORG Sun May 22 15:35:42 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 B554F1065670; Sun, 22 May 2011 15:35:42 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 50A638FC08; Sun, 22 May 2011 15:35:42 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 07A251E000CC; Sun, 22 May 2011 17:35:40 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p4MFWfGF092693; Sun, 22 May 2011 17:32:41 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p4MFWfSL092692; Sun, 22 May 2011 17:32:41 +0200 (CEST) (envelope-from nox) Date: Sun, 22 May 2011 17:32:41 +0200 (CEST) From: Juergen Lock Message-Id: <201105221532.p4MFWfSL092692@triton8.kn-bremen.de> To: kappei84@gmail.com X-Newsgroups: local.list.freebsd.multimedia 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> Organization: Cc: freebsd-multimedia@freebsd.org, Andriy Gapon 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: Sun, 22 May 2011 15:35:42 -0000 In article you write: >Hi all. Hi! (sorry for the late reply...) > >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. [this was already answered, you probably need to kldload sysvshm] > I >am actually having troubles with audio devices and skype calls but I >will try get rid of those problems tomorrow. > And in case this is still a problem, instead of upgrading from -release to -stable you can also try manually applying only the sound.ko fix, http://svnweb.freebsd.org/base?view=revision&revision=221583 i.e. apply the patch from here: http://svnweb.freebsd.org/base/stable/8/sys/dev/sound/pcm/dsp.c?view=patch&r1=221583&r2=221582&pathrev=221583 and rebuild and reload your sound.ko, you can do something like this: # cd /usr/src # fetch -o - 'http://svnweb.freebsd.org/base/stable/8/sys/dev/sound/pcm/dsp.c?view=patch&r1=221583&r2=221582&pathrev=221583' |patch -p2 [obviously needs kernel source installed] # cd sys/modules/sound/sound # make DEBUG_FLAGS=-g install # kldunload snd_hda [or whichever driver you are using; stop apps using sound first] # kldload sound # kldload snd_hda HTH, Juergen