From owner-freebsd-multimedia@FreeBSD.ORG Sun May 22 18:06:23 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 41F1C1065690; Sun, 22 May 2011 18:06:23 +0000 (UTC) (envelope-from kappei84@gmail.com) Received: from mail-px0-f176.google.com (mail-px0-f176.google.com [209.85.212.176]) by mx1.freebsd.org (Postfix) with ESMTP id 08FC88FC1C; Sun, 22 May 2011 18:06:22 +0000 (UTC) Received: by pxi11 with SMTP id 11so4216157pxi.7 for ; Sun, 22 May 2011 11:06:22 -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 :content-transfer-encoding; bh=kVThHrSTJ71KbuA8tY1pPc2GslBlvLd3e+6uHfuuHz0=; b=C9O35qqzpeaDN80rw5do3Hv+gKroRKAh9z6eoBiic8YGoHnoiTve2K3uYtbF6h+0ja 2Y59X7fmALpsBuSJsOjBs5dvPU30BTWD3s8hfcf+PCXHkxFmr4OcuBvSPN1wEKG6mfX6 zQ6O9TBoRPZsP0KqJFCDQmT4oBmT3Qbb4/bD0= 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:content-transfer-encoding; b=YSLMjCo4SAuse2tKqR0xkLIUmipW4i1ryVcFdJZBfQPtHhsOAogfcwRdnr762CXHjE 1b+s31cwU6TyXJUX27AoZvXjjBpd9vjC2gVVbtRVCSBtL8qtdRZVw+I0dLBLG+lgAfdP epG3bEK6SkkRfjj2X5o9Ch7EZexURh2GI+RQs= MIME-Version: 1.0 Received: by 10.142.247.34 with SMTP id u34mr674437wfh.48.1306087582437; Sun, 22 May 2011 11:06:22 -0700 (PDT) Received: by 10.143.31.7 with HTTP; Sun, 22 May 2011 11:06:22 -0700 (PDT) In-Reply-To: <4DD93C57.7000603@FreeBSD.org> 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> <201105221532.p4MFWfSL092692@triton8.kn-bremen.de> <4DD93C57.7000603@FreeBSD.org> Date: Sun, 22 May 2011 20:06:22 +0200 Message-ID: From: Daniele Mazzotti To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org, Juergen Lock 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 18:06:23 -0000 Yes, I did read the whole mail. As he was talking about sound.ko I did not get it was related with mic settings but with my audio issue. Juergen I have followed the instructions you gave me but I get the followin= g ### code ### [User@Fermi:/usr/home/User]# cd /usr/src [User@Fermi:/usr/src]# fetch -o - 'http://svnweb.freebsd.org/base/stable/8/sys/dev/sound/pcm/dsp.c?view=3Dpat= ch&r1=3D221583&r2=3D221582&pathrev=3D221583' |patch -p2 - 100% of 479 B 2802 kBps Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- stable/8/sys/dev/sound/pcm/dsp.c 2011/05/07 06:52:04 221582 |+++ stable/8/sys/dev/sound/pcm/dsp.c 2011/05/07 09:26:11 221583 -------------------------- Patching file sys/dev/sound/pcm/dsp.c using Plan A... Reversed (or previously applied) patch detected! Assume -R? [y] y Hunk #1 succeeded at 1655. done [User@Fermi:/usr/src]# cd sys/modules/sound/sound [User@Fermi:/usr/src/sys/modules/sound/sound]# make DEBUG_FLAGS=3D-g instal= l install -o root -g wheel -m 555 sound.ko /boot/kernel install: sound.ko: No such file or directory *** Error code 71 Stop in /usr/src/sys/modules/sound/sound. ### code ### I know I am annoying you and I am sorry but I have never done this before and I do not know what I am missing. Regards, Daniele. 2011/5/22 Andriy Gapon : > on 22/05/2011 19:36 Daniele Mazzotti said the following: >> Hi, >> I just read the UPDATING and found out this: > > Have you actually read what Juergen has just suggested to you? > You can simply scroll down this email and read now :) > >> [User@Fermi:/usr/src/sys/modules/sound/sound]# uname -a; sysctl >> compat.linux | head -2; \ >> ? =A0 =A0 grep OVERRIDE_LINUX_ /etc/make.conf; \ >> ? =A0 =A0 cat /compat/linux/etc/alsa/pcm/pcm-oss.conf >> FreeBSD Fermi.residential.fw 8.2-RELEASE FreeBSD 8.2-RELEASE #1: Sun >> May 15 16:16:37 CEST 2011 >> User@Fermi.residential.fw:/usr/obj/usr/src/sys/GENERIC =A0amd64 >> compat.linux.oss_version: 198144 >> compat.linux.osrelease: 2.6.16 >> # pcm-oss plugin configuration >> >> pcm.oss0 { >> =A0 =A0 =A0 type oss >> =A0 =A0 =A0 device /dev/dsp0 >> =A0 =A0 =A0 hint { >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 description "Open Sound System" >> =A0 =A0 =A0 } >> } >> >> ctl.oss0 { >> =A0 =A0 =A0 type oss >> =A0 =A0 =A0 device /dev/mixer0 >> =A0 =A0 =A0 hint { >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 description "Open Sound System" >> =A0 =A0 =A0 } >> } >> >> >> 2011/5/22 Daniele Mazzotti : >>> Hi, >>> >>> well audio is now working. What is not working is the microphone. I >>> have made a call test but my mic is mute. I have searched the Internet >>> to find a solution but I am still stuck here! Perhaps an oss issue? >>> >>> Have you got any suggestion or information I can provide in order to >>> help me and get it working? >>> >>> Regards, >>> Daniele. >>> >>> 2011/5/22 Juergen Lock : >>>> In article you wr= ite: >>>>> Hi all. >>>> Hi! =A0(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 t= o >>>>> 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=3D$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 implem= ented >>>>> libv4lcontrol: falling back to malloc-ed memory for controls >>>>> libv4lcontrol: error creating shm segment failed: Function not implem= ented >>>>> 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. >>>>> >>>> =A0And in case this is still a problem, instead of upgrading from -rel= ease >>>> to -stable you can also try manually applying only the sound.ko fix, >>>> >>>> =A0 =A0 =A0 =A0http://svnweb.freebsd.org/base?view=3Drevision&revision= =3D221583 >>>> >>>> i.e. apply the patch from here: >>>> >>>> =A0 =A0 =A0 =A0http://svnweb.freebsd.org/base/stable/8/sys/dev/sound/p= cm/dsp.c?view=3Dpatch&r1=3D221583&r2=3D221582&pathrev=3D221583 >>>> >>>> and rebuild and reload your sound.ko, you can do something like this: >>>> >>>> =A0 =A0 =A0 =A0# cd /usr/src >>>> =A0 =A0 =A0 =A0# fetch -o - 'http://svnweb.freebsd.org/base/stable/8/s= ys/dev/sound/pcm/dsp.c?view=3Dpatch&r1=3D221583&r2=3D221582&pathrev=3D22158= 3' |patch -p2 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[obviously needs kernel source installe= d] >>>> =A0 =A0 =A0 =A0# cd sys/modules/sound/sound >>>> =A0 =A0 =A0 =A0# make DEBUG_FLAGS=3D-g install >>>> =A0 =A0 =A0 =A0# kldunload snd_hda >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[or whichever driver you are using; sto= p apps using sound first] >>>> =A0 =A0 =A0 =A0# kldload sound >>>> =A0 =A0 =A0 =A0# kldload snd_hda >>>> >>>> =A0HTH, >>>> =A0 =A0 =A0 =A0Juergen >>>> >>> > > > -- > Andriy Gapon >