ov511 driver includes in kernel is out-dated (1.64) and, for me the 2.x branch is a lot more occurate (better image quality) so i write this ebuild. I hope it could help
Created attachment 75987 [details] ov511-2.30.ebuild
*** Bug 147717 has been marked as a duplicate of this bug. ***
Created attachment 131682 [details] ov511-2.32.ebuild
Created attachment 131683 [details] ov511_2.32-3.diff.gz
(In reply to comment #4) > Created an attachment (id=131683) [edit] > ov511_2.32-3.diff.gz > Excuse me, but, where the diff should be applied? Can you post the right procedure please? Thank you.
(In reply to comment #5) > (In reply to comment #4) > > Created an attachment (id=131683) [edit] > > ov511_2.32-3.diff.gz > > > > Excuse me, but, where the diff should be applied? > Can you post the right procedure please? > > Thank you. > That's Ok! It must be placed in the files/ directory. Best Regards, Flavio
Created attachment 138388 [details, diff] new ov511 patch Hello, I had a lot of troble using the old patch. During emerge ov511-2.32 through the attached ebuild, I couldn't get modules compiled inside the /lib/modules/2.x directory. My frind gave me the attached patch. Using that patch, I was able to emerge ov511 without any problem, and modules are now available. I tested my webcam using Skype-2.0.0.27. It not properly works, but it's just something good though. I hope this helps. Flavio
In order to get the patch working, create a new file in /etc/modules.d/ called ov511. Add this line in the ov511 file: options ov511 compress=1 forceblock=1 If you also want to use vide4linux 2, add v4l2=1 option as follows: options ov511 compress=1 forceblock=1 v4l2=1 Maurs http://maurs.wordpress.com
Hello, since I've got some problem emerging ov511-2.32-3 driver again (on kernel 2.6.24-gentoo-r{2|3}), and this is the output: >>> Compiling source in /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32 ... Building OVCam drivers for 2.6 kernel. make -C /lib/modules/2.6.24-gentoo-r2/build SUBDIRS=/var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32 modules make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo-r2' CC [M] /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.o /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:1716: error: unknown field 'algo_control' specified in initializer /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:1716: warning: initialization from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:1726: error: unknown field 'algo_control' specified in initializer /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:1726: warning: initialization from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c: In function 'ov51x_init_isoc': /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:3581: warning: assignment from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c: At top level: /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5011: error: unknown field 'hardware' specified in initializer /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5011: error: 'VID_HARDWARE_OV511' undeclared here (not in a function) /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c: In function 'cd_to_ov': /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5571: warning: initialization from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c: In function 'ov_create_sysfs': /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5666: warning: passing argument 2 of 'video_device_create_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5668: warning: passing argument 2 of 'video_device_create_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5670: warning: passing argument 2 of 'video_device_create_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5672: warning: passing argument 2 of 'video_device_create_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5674: warning: passing argument 2 of 'video_device_create_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5676: warning: passing argument 2 of 'video_device_create_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5678: warning: passing argument 2 of 'video_device_create_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5680: warning: passing argument 2 of 'video_device_create_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5682: warning: passing argument 2 of 'video_device_create_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5688: warning: passing argument 2 of 'video_device_remove_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5690: warning: passing argument 2 of 'video_device_remove_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5692: warning: passing argument 2 of 'video_device_remove_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5694: warning: passing argument 2 of 'video_device_remove_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5696: warning: passing argument 2 of 'video_device_remove_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5698: warning: passing argument 2 of 'video_device_remove_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5700: warning: passing argument 2 of 'video_device_remove_file' from incompatible pointer type /var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.c:5702: warning: passing argument 2 of 'video_device_remove_file' from incompatible pointer type make[2]: *** [/var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.o] Error 1 make[1]: *** [_module_/var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r2' make: *** [default] Error 2 >>> Source compiled. Does anyone know if the ov511 driver included in the kernel works? (I want to use Skype too) I used the last patch I attached, but it doesn't work anymore.
Is there some patch t correct the issue? I still get a lot of warning and I'm not able to compile ov511_core.c file: make[2]: *** [/var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.o] Error 1 make[1]: *** [_module_/var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r4' make: *** [default] Error 2 please fix it.
(In reply to comment #10) > Is there some patch t correct the issue? > I still get a lot of warning and I'm not able to compile ov511_core.c file: > > make[2]: *** > [/var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32/ov511_core.o] Error 1 > make[1]: *** [_module_/var/tmp/portage/media-video/ov511-2.32/work/ov511-2.32] > Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r4' > make: *** [default] Error 2 > > please fix it. > I had some success building this on 2.6.24 and 2.6.25. I plan to make an ebuild out of it. If you need it sooner, let me know and I will send you the source. Best regards, Octavian
(In reply to comment #11) > I had some success building this on 2.6.24 and 2.6.25. I plan to make an ebuild > out of it. If you need it sooner, let me know and I will send you the source. > > Best regards, > Octavian > Thank you Octavian, I still have problems compiling ov511 on 2.6.25-gentoo-r7. Don't warry about it, I can wait for new sources if you need more time. I'll wait for a new ebuild. Best regards, Flavio
> Thank you Octavian, > I still have problems compiling ov511 on 2.6.25-gentoo-r7. > Don't warry about it, I can wait for new sources if you need more time. > I'll wait for a new ebuild. > > Best regards, > > Flavio > Hello all, just want to ask if there are any news regarding the gentoo kernel 2.6.25-r7 and the ov511-2.32 version. best regards
(In reply to comment #13) > > Thank you Octavian, > > I still have problems compiling ov511 on 2.6.25-gentoo-r7. > > Don't warry about it, I can wait for new sources if you need more time. > > I'll wait for a new ebuild. > > > > Best regards, > > > > Flavio > > > > Hello all, > > just want to ask if there are any news regarding the gentoo kernel 2.6.25-r7 > and the ov511-2.32 version. > > > > best regards > It doesn't compile! We're just waiting for a new ebuild (and sources) release.
(In reply to comment #11) > I had some success building this on 2.6.24 and 2.6.25. I plan to make an ebuild > out of it. If you need it sooner, let me know and I will send you the source. > > Best regards, > Octavian > Dear Octavian, I tried to modify the ov511_core.c to correct some errors in data structs (fields not longer available in the 12c_algorithm struct). I was able to compile the whole package but it doesn't work, of course! I don't know what are you modifying, but I guess there's a lot to do in order to have the sources working with latest kernels. Regards, Flavio
Hi Falvio, Last weeks I was overloaded so I could not do much. I picked some patches from linux-usb, then modified those. I was planning to investigate what patches "Gentoo" applies. In my case after compilation the cam worked, I have a Philips PCVC820K/00 Best regards, Octavian (In reply to comment #15) > (In reply to comment #11) > > I had some success building this on 2.6.24 and 2.6.25. I plan to make an ebuild > > out of it. If you need it sooner, let me know and I will send you the source. > > > > Best regards, > > Octavian > > > Dear Octavian, > I tried to modify the ov511_core.c to correct some errors in data structs > (fields not longer available in the 12c_algorithm struct). I was able to > compile the whole package but it doesn't work, of course! > I don't know what are you modifying, but I guess there's a lot to do in order > to have the sources working with latest kernels. > > Regards, > > Flavio >
(In reply to comment #16) > Hi Falvio, > > Last weeks I was overloaded so I could not do much. I picked some patches from > linux-usb, then modified those. > I was planning to investigate what patches "Gentoo" applies. > > In my case after compilation the cam worked, > I have a Philips PCVC820K/00 > > Best regards, > Octavian Ok Octavian, don't worry. I own two webcams, one of those is an old Creative Webcam Plus that uses ov511 driver. The second one is a Philips SPC315NC, but it uses gscpa drivers (they don't work). I don't know if ov511 may be good also for my second one webcam but I guess no. Regards, Flavio