Can't compile ov51x-jpeg on hardy

Bug #190450 reported by Amitai Bar
42
Affects Status Importance Assigned to Milestone
ov511 (Ubuntu)
Invalid
Undecided
Unassigned
Hardy
Invalid
Undecided
Unassigned
ov51x-jpeg (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Fix Released
High
Unassigned

Bug Description

Impact: Unable to compile the ov51x-jpeg package against the default hardy kernel.

Fix in Intrepid: The fix is cherry-picked from a new upstream version that has already
been synced from Debian.

Fix: A debdiff is attached to the bug report.

TEST CASE:
  1. Install the current ov51x-jpeg-source package.
  2. Attempt to compile it against a .24 kernel (default in hardy)
      using module-assistant (m-a build ov51x-jpeg). It should fail with a compile error.
  3. Install the fixed ov51x-jpeg-source package from -proposed.
  4. Attempt the build again, it should finish without error.

Regression potential: Low: simple ifdef for symbols that have been removed in later kernels.
Fix is taken from upstream.

Binary package hint: ov511-source

Hi
I can't compile ov511 for skype usage.
I tried with the instructions from http://gingedas.net/?q=node/170 but it failes with a weird error.
I tried the ov511-source and it failed as well. with the same error
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-7-generic'
  CC [M] /home/amitai/Desktop/ov511-2.32/ov511_core.o
/home/amitai/Desktop/ov511-2.32/ov511_core.c:1716: error: unknown field ‘algo_control’ specified in initializer
/home/amitai/Desktop/ov511-2.32/ov511_core.c:1716: warning: initialization from incompatible pointer type
/home/amitai/Desktop/ov511-2.32/ov511_core.c:1726: error: unknown field ‘algo_control’ specified in initializer
/home/amitai/Desktop/ov511-2.32/ov511_core.c:1726: warning: initialization from incompatible pointer type
/home/amitai/Desktop/ov511-2.32/ov511_core.c: In function ‘ov51x_init_isoc’:
/home/amitai/Desktop/ov511-2.32/ov511_core.c:3581: warning: assignment from incompatible pointer type
/home/amitai/Desktop/ov511-2.32/ov511_core.c: At top level:
/home/amitai/Desktop/ov511-2.32/ov511_core.c:5011: error: unknown field ‘hardware’ specified in initializer
/home/amitai/Desktop/ov511-2.32/ov511_core.c:5011: error: ‘VID_HARDWARE_OV511’ undeclared here (not in a function)
Thanks for the help
Amitai

Revision history for this message
Ross Golder (ross-golder) wrote :

I'm getting similar building ov51x-jpeg (1.5.4 from the 'ov51x-jpeg-source' package) on Hardy...

make -C /lib/modules/2.6.24-12-generic/build M=/usr/src/modules/ov51x-jpeg modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-12-generic'
  CC [M] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o
/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6611: error: unknown field ‘hardware’ specified in initializer
/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6611: error: ‘VID_HARDWARE_OV511’ undeclared here (not in a function)
make[2]: *** [/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o] Error 1
make[1]: *** [_module_/usr/src/modules/ov51x-jpeg] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-12-generic'
make: *** [all] Error 2

Revision history for this message
DNKROZ (dnkroz) wrote :

Same error here:

[...]
make[3]: se ingresa al directorio `/usr/src/linux-headers-2.6.24-14-generic'
  CC [M] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o
/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6611: error: se especificó el campo desconocido ‘hardware’ en el inicializador
/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6611: error: ‘VID_HARDWARE_OV511’ no se declaró aquí (no en una función)
make[4]: *** [/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o] Error 1
make[3]: *** [_module_/usr/src/modules/ov51x-jpeg] Error 2
make[3]: se sale del directorio `/usr/src/linux-headers-2.6.24-14-generic'
make[2]: *** [all] Error 2
[...]

Revision history for this message
Jean-Baptiste (jean-baptiste-lab) wrote :

Hi,

I got the same error, while compiling the ov51x-jpeg module.
The fix for this error is already integrated in the mainstream release of this driver (see http://www.rastageeks.org/ov51x-jpeg/index.php/Ov51xJpegHackedSource), but until this makes it into the Ubuntu package, I've attached a patch (this patch fixes the compilation error and also integrate a patch/hack to get my Creative Live webcam to work with skype).
Note1: the attached patch is for the ov51x-jpeg module only, this will probably not work for the ov511.
Note2: the skype patch is also already in the mainstream release.
Note3: I'll notify the Ubuntu maintainers (<email address hidden>)

Hope this helps,

JB

Revision history for this message
James Westby (james-w) wrote :

Hi,

Thanks for supplying the patch, could users of ov51x-jpeg please
test the .deb from

  http://jameswestby.net/scratch/ov51x-jpeg-source_1.5.4-1ubuntu1_all.deb

and report back whether it works for you?

Jean-Baptiste, I dropped the Creative part of the patch, as it didn't look
like something we wanted to push in to Hardy at this stage, and even
though it is included upstream it is labelled as hack by everyone, and it's
not clear to me whether they intend to continue supporting it or not.

Thanks,

James

Revision history for this message
James Westby (james-w) wrote :

Hi,

Here's the debdiff that was used to make the .deb in the last comment.

Release team, can you approve or decline this for Hardy, contingent
on it getting a positive testing report? (It will also need to have a sponsor).
The changes are minimal, and from upstream, and as .24 is the hardy kernel
it's pretty important that it is supported.

Thanks,

James

Revision history for this message
DNKROZ (dnkroz) wrote :

Hi James.

I've tested the deb file you supplied and it works perfect.

Thanks.

Revision history for this message
Jean-Baptiste (jean-baptiste-lab) wrote : Re: [Bug 190450] Re: Can't compile ov511-source on hardy

On Thu, 2008-04-17 at 10:04 +0000, James Westby wrote:

> Jean-Baptiste, I dropped the Creative part of the patch, as it didn't look
> like something we wanted to push in to Hardy at this stage, and even
> though it is included upstream it is labelled as hack by everyone, and it's
> not clear to me whether they intend to continue supporting it or not.
>

Hi James,

I take it you mean the skype bit (the forceblock option)? That's fine by
me, this is a workaround until skype uses the proper APIs (as far as I
understood, I don't have much info, nor am I interested in knowing!) and
this will (should?) eventually be removed from ov51x-jpeg.

Thanks for acting so swiftly!

JB

Revision history for this message
James Westby (james-w) wrote : Re: Can't compile ov511-source on hardy

Hi Jean-Baptiste,

Have you had a chance to test the package?

Thanks,

James

Revision history for this message
Jean-Baptiste (jean-baptiste-lab) wrote : Re: [Bug 190450] Re: Can't compile ov511-source on hardy

On Thu, 2008-04-17 at 13:01 +0000, James Westby wrote:
> Hi Jean-Baptiste,
>
> Have you had a chance to test the package?
>
> Thanks,
>
> James
>

Yep, works fine for me!

Cheers,

JB

Revision history for this message
StefanPotyra (sistpoty) wrote : Re: Can't compile ov511-source on hardy

James, can you attach the debdiff please? Thanks.

Revision history for this message
James Westby (james-w) wrote :

Hi,

Here's the debdiff. Sorry for forgetting it before.

Thanks,

James

Revision history for this message
StefanPotyra (sistpoty) wrote :

ACK, please go ahead.

Revision history for this message
James Westby (james-w) wrote :

Hi,

Could a sponsor please upload this change?

Thanks,

James

Changed in ov511:
status: New → Confirmed
Changed in ov51x-jpeg:
status: New → Confirmed
Revision history for this message
Alberto Aresca (alberto-aresca) wrote :

The new deb posted here works perfectly for me too!

Revision history for this message
Alberto Aresca (alberto-aresca) wrote :

I have to say it better: it works perfectly with every application but skype! When I try to patch the deb downloaded from here with this suggestion http://ubuntuforums.org/showthread.php?t=690666 I got the same error once more. I think this patch was for the oldest ov51x. Any suggestion on how to fix this? Thanks in advance

Revision history for this message
Scott Kitterman (kitterman) wrote :

This did not make it into Hardy for the release. It may qualify for a stable release update, post-release. See https://wiki.ubuntu.com/StableReleaseUpdates

Revision history for this message
canucked (canucked) wrote :

Hi,

I'm running a clean install of Hardy and I have a Creative Vista Webcam VF0330 which is supposed to work with ov51x-jpeg. I had the same reported error with the ov51x-jpeg (1.54-1) package in the Universe repository.

I tried the package listed above and the webcam works, but not in Skype. I then uninstalled it and tried the latest 1.57 source. Again, the webcam works except in Skype.

I just wanted to confirm the problem Alberto is having. Does anyone know a workaround?

Thanks!

Revision history for this message
James Westby (james-w) wrote :

Hi motu-sru,

Note that the ov51x-jpeg is the task that is being proposed for
an SRU.

For ov5111 I haven't seen a full fix anywhere to propose, and there
is also considerations relating to bug 221806.

Thanks,

James

Revision history for this message
John Dong (jdong) wrote :

MOTU-SRU: ack on ov51x-jpeg debdiff, but preferably please mangle the version to 1ubuntu0.1 before uploading. Target also needs to be ~proposed, but the meat of the debdiff is good.

Changed in ov511:
status: Confirmed → New
Revision history for this message
Jean-Baptiste (jean-baptiste-lab) wrote : Re: [Bug 190450] Re: Can't compile ov511-source on hardy

On Fri, 2008-04-25 at 08:46 +0000, canucked wrote:
> Hi,
>
> I'm running a clean install of Hardy and I have a Creative Vista Webcam
> VF0330 which is supposed to work with ov51x-jpeg. I had the same
> reported error with the ov51x-jpeg (1.54-1) package in the Universe
> repository.
>
> I tried the package listed above and the webcam works, but not in Skype.
> I then uninstalled it and tried the latest 1.57 source. Again, the
> webcam works except in Skype.
>
> I just wanted to confirm the problem Alberto is having. Does anyone
> know a workaround?
>
> Thanks!
>

Hi,

the VF0330 camera works fine (I added the initial support for it).
The initial patch I submitted to launchpad allows the camera to work
with skype through a workaround. The workaround hasn't made it to the
Ubuntu package though as it is, well, a hack (see previous posts to know
more).
So, to summarise, you can simply apply the patch I initially sent on top
of the new ov51x-jpeg source until skype gets fixed.

Hope this helps,

JB

Revision history for this message
canucked (canucked) wrote : Re: Can't compile ov511-source on hardy

Thanks Jean-Baptiste. I didn't know what to do with the patch file, but I think I can figure it out.

Revision history for this message
Dropbear (dropbear30) wrote : RE: [Bug 190450] Re: Can't compile ov511-source on hardy
Download full text (3.4 KiB)

you need to use the forceblock=1 option
type the following in a terminal

sudo rmmod ov51x-jpeg
sudo modprobe ov51x-jpeg forceblock=1

then start skype

to enable it permanently add the line

options ov51x-jpeg forceblock=1

to the file /etc/modprobe.d/options

> From: <email address hidden>
> To: <email address hidden>
> Date: Sat, 26 Apr 2008 06:15:15 +0000
> Subject: Re: [Bug 190450] Re: Can't compile ov511-source on hardy
>
> On Fri, 2008-04-25 at 08:46 +0000, canucked wrote:
> > Hi,
> >
> > I'm running a clean install of Hardy and I have a Creative Vista Webcam
> > VF0330 which is supposed to work with ov51x-jpeg. I had the same
> > reported error with the ov51x-jpeg (1.54-1) package in the Universe
> > repository.
> >
> > I tried the package listed above and the webcam works, but not in Skype.
> > I then uninstalled it and tried the latest 1.57 source. Again, the
> > webcam works except in Skype.
> >
> > I just wanted to confirm the problem Alberto is having. Does anyone
> > know a workaround?
> >
> > Thanks!
> >
>
> Hi,
>
> the VF0330 camera works fine (I added the initial support for it).
> The initial patch I submitted to launchpad allows the camera to work
> with skype through a workaround. The workaround hasn't made it to the
> Ubuntu package though as it is, well, a hack (see previous posts to know
> more).
> So, to summarise, you can simply apply the patch I initially sent on top
> of the new ov51x-jpeg source until skype gets fixed.
>
> Hope this helps,
>
> JB
>
> --
> Can't compile ov511-source on hardy
> https://bugs.launchpad.net/bugs/190450
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in Source Package "ov511" in Ubuntu: New
> Status in Source Package "ov51x-jpeg" in Ubuntu: Confirmed
> Status in ov511 in Ubuntu Hardy: New
> Status in ov51x-jpeg in Ubuntu Hardy: Confirmed
>
> Bug description:
> Binary package hint: ov511-source
>
> Hi
> I can't compile ov511 for skype usage.
> I tried with the instructions from http://gingedas.net/?q=node/170 but it failes with a weird error.
> I tried the ov511-source and it failed as well. with the same error
> make[1]: Entering directory `/usr/src/linux-headers-2.6.24-7-generic'
> CC [M] /home/amitai/Desktop/ov511-2.32/ov511_core.o
> /home/amitai/Desktop/ov511-2.32/ov511_core.c:1716: error: unknown field ‘algo_control’ specified in initializer
> /home/amitai/Desktop/ov511-2.32/ov511_core.c:1716: warning: initialization from incompatible pointer type
> /home/amitai/Desktop/ov511-2.32/ov511_core.c:1726: error: unknown field ‘algo_control’ specified in initializer
> /home/amitai/Desktop/ov511-2.32/ov511_core.c:1726: warning: initialization from incompatible pointer type
> /home/amitai/Desktop/ov511-2.32/ov511_core.c: In function ‘ov51x_init_isoc’:
> /home/amitai/Desktop/ov511-2.32/ov511_core.c:3581: warning: assignment from incompatible pointer type
> /home/amitai/Desktop/ov511-2.32/ov511_core.c: At top level:
> /home/amitai/Desktop/ov511-2.32/ov511_core.c:5011: error: unknown field ‘hardware’ specified in initializer
> /...

Read more...

Revision history for this message
James Westby (james-w) wrote : Re: Can't compile ov511-source on hardy

Hi,

Attached is an updated patch for an SRU, thanks to John for the Reminder about
that part.

Could someone please sponsor this in to hardy-proposed.

Thanks,

James

Revision history for this message
shadow (shadow3376) wrote :

Hi. I've just upgraded to hardy and had the same problem. I'm using ov511-2.32 with skype patch.

Interestingly enough, I just commented out all offending lines in all affected source files and it just worked. Seems like the structure members "algo_control" and "hardware" simply do not exist anymore in 2.6.24-17 kernel...

Revision history for this message
Simon Bonner (simon-bonner) wrote :

Thanks shadow! That worked like a charm for me. I'm using an old Creative Webcam.

lsusb identifies it as:

Bus 005 Device 002: ID 05a9:0518 OmniVision Technologies, Inc. OV518 WebCam

I couldn't get the Skype patch from the Skype forums, but found a copy here: http://www.gingedas.net/node/170.

Cheers...

Revision history for this message
deloptes (deloptes) wrote :

If I remove the algobit lines the code compiles but after this if I load the module my system hangs.

What I did is that I downloaded ov511-2.32 and applied the skype patch as proposed in many forums. I removed the algobit lines , compiled and installed. After plugging in the webcam the kernel Ooops.

I'm running debian lenny with custom kernel 2.6.24 and v4l-dvb-experimental installed. I also have the latest skype version.

I've attached the kernel Oops, do you have any idea. Thanks a lot.

kind regards

Revision history for this message
James Westby (james-w) wrote :

The new upstream version in Intrepid fixes this bug.

Thanks,

James

Changed in ov51x-jpeg:
status: Confirmed → Fix Released
importance: Undecided → High
James Westby (james-w)
description: updated
Revision history for this message
James Westby (james-w) wrote :

Hi,

Attached is an updated debdiff giving proper credit to the author of the patch.

Thanks,

James

Changed in ov511:
status: New → Invalid
Revision history for this message
James Westby (james-w) wrote :

Hi,

Amitai Bar, I'm sorry to do this. You're bug report got conflated with a
different one in a different package, and this makes it difficult to work
on. In addition to this the bug report now has some important information
about the fix in the other package, and so I am reluctant to start again.

I've closed the part of this bug report to do with ov511, the part that you
filed. I would appreciate it if you could open a new bug report against
ov511 for your issue. You can go ahead and just use the same description
as last time.

Thanks,

James

Changed in ov511:
status: New → Invalid
Revision history for this message
Alberto Aresca (alberto-aresca) wrote : Re: [Bug 190450] Re: Can't compile ov511-source on hardy

So I can download te package from Intrepid Ibex repository and install
it on hardy or I still need to wait?

On Wed, Jun 11, 2008 at 4:42 PM, James Westby <email address hidden> wrote:
> The new upstream version in Intrepid fixes this bug.
>
> Thanks,
>
> James
>
>
> ** Changed in: ov51x-jpeg (Ubuntu)
> Status: Confirmed => Fix Released
>
> ** Changed in: ov51x-jpeg (Ubuntu Hardy)
> Importance: Undecided => High
>
> --
> Can't compile ov51x-jpeg on hardy
> https://bugs.launchpad.net/bugs/190450
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Alberto Aresca

Revision history for this message
James Westby (james-w) wrote :

On Wed, 2008-06-11 at 18:49 +0000, Alberto Aresca wrote:
> So I can download te package from Intrepid Ibex repository and install
> it on hardy or I still need to wait?

Hi,

I believe a fixed package has just been uploaded to hardy-proposed,
so if you have -proposed enabled then you should have the update
shortly. If you only have -updates enabled then it will take a little
longer.

If you do test the package in -proposed then please report your
experiences with it here to help with the fix verification tracking.

Thanks,

James

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Changed in ov51x-jpeg:
status: Confirmed → Fix Committed
Revision history for this message
nine (niin-deactivatedaccount-deactivatedaccount) wrote :

Tested for 2.6.24-19: success.

For building I have been using 'sudo make -C /lib/modules/2.6.24-19-generic/build M=/usr/src/modules/ov51x-jpeg modules' (not module-assistant).

Revision history for this message
James Westby (james-w) wrote :

Hi,

Is anyone else who was having this problem able to test the packages
from -proposed?

Testing it will help with getting the fix widely available for everyone
else that needs this driver to benefit from.

Thanks,

James

Revision history for this message
David Hugh-Jones (davidhughjones) wrote :

I had the same problem compiling ov51x-jpeg, and the -proposed version compiles for me. However, I can't yet get ekiga, skype or cheese to recognize my (Creative Live! Notebook) webcam; will play around a bit more.

Revision history for this message
Zaca (zaca98) wrote :

Same problem as David Hulgh-Jones. The new package fixed the compilation problem, but the same webcame
is not recognized. The only dmesg lines related to it when it is pluged are:

[ 771.596188] usb 4-1: new full speed USB device using uhci_hcd and address 8
[ 771.607368] usb 4-1: configuration #1 chosen from 1 choice

Revision history for this message
James Westby (james-w) wrote :

Hi Zaca,

Thanks for testing. It is worrying that the driver no longer works for you.
I'd like a little more information to help understand the problem.

What package were you using before? Were you using any extra
patches with the driver? Were you on hardy when it worked?

Thanks,

James

Revision history for this message
John McHugh (mrmcq2u) wrote :
Download full text (4.9 KiB)

Broken in intrepid, wont compile... Creative webcam unusable...

sudo module-assistant -t a-i ov51x-jpeg
.
Updated infos about 1 packages
Getting source for kernel version: 2.6.27-2-generic
Kernel headers available in /usr/src/linux-headers-2.6.27-2-generic
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Done!
/usr/share/modass/packages/default.sh download
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  ov51x-jpeg-source
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/82.3kB of archives.
After this operation, 31.7kB of additional disk space will be used.
(Reading database ... 131401 files and directories currently installed.)
Preparing to replace ov51x-jpeg-source 1.5.4-1ubuntu1 (using .../ov51x-jpeg-source_1.5.8-1_all.deb) ...
Unpacking replacement ov51x-jpeg-source ...
Setting up ov51x-jpeg-source (1.5.8-1) ...
Updating info about ov51x-jpeg-source

Updated infos about 1 packages
unpack
Extracting the package tarball, /usr/src/ov51x-jpeg.tar.bz2, please wait...
"/usr/share/modass/packages/default.sh" build KVERS=2.6.27-2-generic KSRC=/usr/src/linux KDREV=2.6.27-2.3 kdist_image
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.27-2-generic/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.27-2-generic/g ;s/#KVERS#/2.6.27-2-generic/g ; s/_KVERS_/2.6.27-2-generic/g ; s/##KDREV##/2.6.27-2.3/g ; s/#KDREV#/2.6.27-2.3/g ; s/_KDREV_/2.6.27-2.3/g ' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp
dh_clean
/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/ov51x-jpeg'
dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp
dh_clean
make[1]: Leaving directory `/usr/src/modules/ov51x-jpeg'
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/ov51x-jpeg'
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.27-2-generic/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.27-2-generic/g ;s/#KVERS#/2.6.27-2-generic/g ; s/_KVERS_/2.6.27-2-generic/g ; s/##KDREV##/2.6.27-2.3/g ; s/#KDREV#/2.6.27-2.3/g ; s/_KDREV_/2.6.27-2.3/g ' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp
dh_clean
/usr/bin/make -w -f debian/rules clean
make[2]: Entering directory `/usr/src/modules/ov51x-jpeg'
dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp
dh_clean
make[2]: L...

Read more...

Revision history for this message
gmayer (gunther-mayer) wrote :

The module now in backports for Hardy works fine for me. The original built-in hardy package gave me the same error as the reporter above.

Revision history for this message
pvofeta (pvofeta) wrote :

I solved the problem!

for Intrepid you must use ov51x-jpeg-1.5.9 not 1.5.8, after that you'll have to remove ov511

sudo rm -r /lib/modules/2.6.27-7-generic/kernel/ubuntu/misc/media/ov511

now you'll be able to compile ov51x-jpeg.... but you are not finished, yet...
Intrepid uses by default gspca_ov519 as module for this kind of webcam, so you'll have to remove it

rmmod gspca_ov519

and then... finally

modprobe ov51x-jpeg (for skype .... modprobe ov51x-jpeg forceblock=1)

good luck :D

Revision history for this message
Martin Pitt (pitti) wrote :

Positive reports, although it doesn't seem to be perfect yet it fixes the originally reported problem ("can't compile"). Moved to hardy-updates. Please file new bugs for other problems.

Changed in ov51x-jpeg:
status: Fix Committed → Fix Released
Revision history for this message
CasperGhostboy (kevinahavens) wrote :

All I get is a "FATAL: Module ov51x_jpeg not found" error when I run modprobe on it. I had made the file and this is the output:

khavens@dell:/usr/src/ov51x/ov51x-jpeg$ sudo make clean
[sudo] password for khavens:
rm -rf .*.cmd *.mod.c *.ko *.o .tmp_versions Module.symvers *~ core *.i *.cmd .ov51x-jpeg-core.o.d
khavens@dell:/usr/src/ov51x/ov51x-jpeg$ sudo make
make -C /lib/modules/2.6.24-23-generic/build M=/usr/src/ov51x/ov51x-jpeg modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-23-generic'
  CC [M] /usr/src/ov51x/ov51x-jpeg/ov51x-jpeg-core.o
  CC [M] /usr/src/ov51x/ov51x-jpeg/ov511-decomp.o
  CC [M] /usr/src/ov51x/ov51x-jpeg/ov518-decomp.o
  CC [M] /usr/src/ov51x/ov51x-jpeg/ov519-decomp.o
  LD [M] /usr/src/ov51x/ov51x-jpeg/ov51x-jpeg.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC /usr/src/ov51x/ov51x-jpeg/ov51x-jpeg.mod.o
  LD [M] /usr/src/ov51x/ov51x-jpeg/ov51x-jpeg.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-23-generic'
khavens@dell:/usr/src/ov51x/ov51x-jpeg$ sudo make install
make -C /lib/modules/2.6.24-23-generic/build M=/usr/src/ov51x/ov51x-jpeg modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-23-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-23-generic'
make -C /lib/modules/2.6.24-23-generic/build M=/usr/src/ov51x/ov51x-jpeg modules_install
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-23-generic'
  INSTALL /usr/src/ov51x/ov51x-jpeg/ov51x-jpeg.ko
  DEPMOD 2.6.24.6
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-23-generic'
depmod -a
khavens@dell:/usr/src/ov51x/ov51x-jpeg$ sudo modprobe ov51x-jpeg forceblock=1
FATAL: Module ov51x_jpeg not found.

What am I doing wrong? it won't let me make as a normal user and every time I tried doing something, it won't install correctly.

Thanks in advance.

Revision history for this message
bkp (bkp) wrote :

I have spent countless hours over the past few days following every set of instructions on this page (and many others), but so far nothing has worked.

Is there any hope that this is just going to work someday?

Ubuntu 8.10 (2.6.27-7-generic) / Skype 2.0.0.72 / Creative PD1030

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.