Version: 0.60.81 (using Devel) OS: Linux Installed from: Compiled sources Fedora 10 x86_64 kernel 2.6.27.5-117.fc10.x86_64 kde 4.18 kopete 0.60.81 Hi as you may be aware newer kernel drivers have built in support for a wider range webcams. The newer kernel uses libv4l to access the camera. If kopete is not patched then the application needs to be started with LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so kopete -caption "%c" %u Is there anyway to get the application patched so that my camera can run straight out of the box. This is kinda useful when having kopete run at startup.
Hi, I'm the libv4l author and maintainer, for more info about libv4l see: http://hansdegoede.livejournal.com/3636.html This includes some simple instructions for how to patch applications to use libv4l, and hopefully also explains why libv4l exists and should be used. Also see the README and the API doc in the header files. If you have any questions please let me know.
I can confirm that current KDE kopete (KDE-4.2b2) does not work with my Logitech webcam without this hack. Kopete should be patched to avoid this.
Problem persists in 4.1.96
Problem persists in 4.2
Seems to be OK in 4.2.1
ok in 4.2.1. closing.
fedora includes some hackish libv4l patches, not quite suitable for upstream inclusion yet. Glad to hear they're working. Attaching.
Created attachment 31811 [details] initial quick-n-dirty libv4l support
can you post this to reviewboard? :)
Eli thanks for report, I didn't have chance to test it cause I don't have any v4l1 webcam. As it's Fedora only hack - libv4l1 is obligatory (required). I've already prepared better one with libv4l1 detection but it needs some more cleanup. I'll send it for review soon.
Created attachment 31950 [details] Final patch for review Ok, so this is final path for review, I'll send it to kopete-devel (I hope it's right place for Kopete's reviews).
(In reply to comment #11) > Created an attachment (id=31950) [details] > Final patch for review > > Ok, so this is final path for review, I'll send it to kopete-devel (I hope it's > right place for Kopete's reviews). Looks good to me.
Hi all, any news about when this patch will be applied to kopete? I am using kopete-4.2.1 and needed to apply the patch to make my webcam work. I also had to implement V4L2_CAP_STREAMING in my webcam's driver and add a configuration to make hal (and consequently solid) recognize the webcam as v4l2 capable. For anyone interested my wecam uses the zr364xx driver. I can send the patch and the hal configuration (a small xml file) if anyone is interested in testing my patch.
If you have a patch for the kernel driver to enable mmap mode, please send it to: video4linux-list@redhat.com
Ok, I will sent the patch to the list.
Oh, by the way, do you when the libv4l patch will be applied against Kopete? Yesterday I changed the kopdete-4.2.1.ebuild in my Gentoo system to apply the patch, it is working good so far. Now I just need to convince someone to implement video chat in Kopete's WLM plugin or do it myself :-)
It's already in trunk but there's v4l1 regression - v4l2_open doesn't behave same way as standard open. I have patch with fallback but it needs some more changes, I hope I'll commit it soon.
Thanks for the information.
Seems to work great in 4.2.2
Done for KDE 4.3