Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117435 - [NEW EBUILD] OV511 devel version
Summary: [NEW EBUILD] OV511 devel version
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
: 147717 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-02 03:35 UTC by frederic bonnaud
Modified: 2018-06-07 18:25 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ov511-2.30.ebuild (ov511-2.30.ebuild,1.79 KB, text/plain)
2006-01-02 04:40 UTC, frederic bonnaud
Details
ov511-2.32.ebuild (ov511-2.32.ebuild,1.83 KB, text/plain)
2007-09-23 12:21 UTC, Anton Romanov
Details
ov511_2.32-3.diff.gz (ov511_2.32-3.diff.gz,4.66 KB, application/octet-stream)
2007-09-23 12:22 UTC, Anton Romanov
Details
new ov511 patch (ov511_2.32-3-new.diff.gz,6.84 KB, patch)
2007-12-13 10:21 UTC, Flavio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description frederic bonnaud 2006-01-02 03:35:04 UTC
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
Comment 1 frederic bonnaud 2006-01-02 04:40:18 UTC
Created attachment 75987 [details]
ov511-2.30.ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-15 12:17:34 UTC
*** Bug 147717 has been marked as a duplicate of this bug. ***
Comment 3 Anton Romanov 2007-09-23 12:21:13 UTC
Created attachment 131682 [details]
ov511-2.32.ebuild
Comment 4 Anton Romanov 2007-09-23 12:22:00 UTC
Created attachment 131683 [details]
ov511_2.32-3.diff.gz
Comment 5 Flavio 2007-12-12 23:11:26 UTC
(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.
Comment 6 Flavio 2007-12-12 23:25:22 UTC
(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
Comment 7 Flavio 2007-12-13 10:21:13 UTC
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
Comment 8 Maurs 2007-12-13 16:33:26 UTC
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
Comment 9 Flavio 2008-03-22 11:35:24 UTC
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.
Comment 10 Flavio 2008-05-26 21:23:31 UTC
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.
Comment 11 Octavian 2008-09-09 12:40:44 UTC
(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
Comment 12 Flavio 2008-09-09 19:08:53 UTC
(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
Comment 13 Christian Schaefer 2008-09-20 07:51:13 UTC
> 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
Comment 14 Flavio 2008-09-20 07:55:45 UTC
(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.
Comment 15 Flavio 2008-09-23 18:39:03 UTC
(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
Comment 16 Octavian 2008-09-23 21:20:19 UTC
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
> 

Comment 17 Flavio 2008-09-24 06:53:50 UTC
(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