Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2011 22:16:02 +0200
From:      Daniele Mazzotti <kappei84@gmail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: skype 2.1.0.81; alternate versions of the Linuxolator v4l2 patches
Message-ID:  <BANLkTinv-iKszN7cJhfhCcU59cAqms1gBA@mail.gmail.com>
In-Reply-To: <BANLkTinsi-aAoyMPGyu_NxRg%2BKfr-gEDdg@mail.gmail.com>
References:  <BANLkTinK1JN-ufVmTj5oxncxfKVpZa%2B%2BUQ@mail.gmail.com> <20110515125252.5a90d966@ukr.net> <1305455213.2833.3.camel@crashalot.rainbow-runner.nl> <20110515140332.3acb7412@ukr.net> <20110515140755.6e833cd4@ukr.net> <BANLkTinBPe=1hGsJdPtrB1J2c4o9QxQM%2Bg@mail.gmail.com> <20110515144556.292a0230@ukr.net> <20110515132530.GA6707@tinyCurrent> <4DCFE689.3000904@FreeBSD.org> <BANLkTinsi-aAoyMPGyu_NxRg%2BKfr-gEDdg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kappei84@gmail.com>
>
> 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 <avg@freebsd.org>
>>
>> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinv-iKszN7cJhfhCcU59cAqms1gBA>