ov51x-jpeg-source won't build against kernel 2.6.27, but 1.5.9 (already in Jaunty) would.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ov51x-jpeg (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
Bug Description
2.6.27 has moved asm/semaphore.h to linux/semaphore.h, among other things, causing that the ov51x-jpeg-source 1.5.8-1 package won't compile against it.
Steps to reproduce:
With Intrepid kernel 2.6.27, install ov51x-jpeg-source, run module-assistant build ov51x-jpeg-source, and you'll get a failed compilation caused by semaphore.h missing file.
As Jaunty already merged the upstream source package 1.5.9 where the issue is solved; the same package can be backported to Intrepid in order to get those webcams work.
The Jaunty package version is 1.5.9-1
Changed in ov51x-jpeg: | |
importance: | Undecided → High |
status: | New → Confirmed |
piffio (piffio) wrote : | #1 |
Fred43Brest (fjourdin) wrote : | #2 |
I added the proposed patch and it seems to work well:
an image of my eyetoy cam appears in the vid4L "camorama"
thanks to this driver.
(still works to do with the image cause it appears "triplicate"...
probably nothing to do with the present bug).
Götz Christ (g-christ) wrote : | #3 |
If the version 1.5.8 doesn't work with Linux 2.6.27 shiped with Intrepid, could the source package not be updated with version 1.5.9?
Fred43Brest (fjourdin) wrote : Re: [Bug 262853] Re: ov51x-jpeg-source (even latest version 1.5.8) won't build against kernel 2.6.27 | #4 |
Le mercredi 05 novembre 2008 à 02:09 +0000, G. Christ a écrit :
> If the version 1.5.8 doesn't work with Linux 2.6.27 shiped with
> Intrepid, could the source package not be updated with version 1.5.9?
>
No I think: the proposed patch seems to have been taken into account
in the version 1.5.9.
I quickly installed ov51x-jpeg version 1.5.9 with Intrepid
2.6.27-7-generic and it works.
Fred43Brest (fjourdin) wrote : | #5 |
Le mercredi 05 novembre 2008 à 02:09 +0000, G. Christ a écrit :
> If the version 1.5.8 doesn't work with Linux 2.6.27 shiped with
> Intrepid, could the source package not be updated with version 1.5.9?
>
Sorry I may answer : YES I think... blabla.. (matters of English !)
dmoyne (daniel-moyne) wrote : Re: ov51x-jpeg-source (even latest version 1.5.8) won't build against kernel 2.6.27 | #6 |
I tried unsuccessfully to compile ov51x-jpeg for kernel 2.6.27-8-generic on Intrepid:
dmoyne@
make -C /lib/modules/
make[1]: entrant dans le répertoire « /usr/src/
CC [M] /home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
make[2]: *** [/home/
make[1]: *** [_module_
make[1]: quittant le répertoire « /usr/src/
make: *** [all] Erreur 2
dmoyne@
Regards.
Fred43Brest (fjourdin) wrote : Re: [Bug 262853] Re: ov51x-jpeg-source (even latest version 1.5.8) won't build against kernel 2.6.27 | #7 |
Quelques remarques :
Ce fichier semaphore.h me dit qq chose car j'ai eu déjà un soucis
avec mais malheureusement je ne me rappelle plus comment je l'ai
résolu !
En attendant si cela peut aider voici pour comparaison eventuelle
l'emplacement de mes fichiers semaphore.h :
cd /
fred@sylphide:/$ sudo find . -name semaphore.h -print
[sudo] password for fred:
./usr/src/
./usr/src/
./usr/include/
./usr/include/
./opt/pulseaudi
J'ai refait une compilation de ov51x-jpeg-1.5.9 pour voir, sans
probleme, voir ci-dessous :
fred@sylphide:
fred@sylphide:/opt$ ls
alsa-driver-1.0.18 ov51x-jpeg-1.5.9 pulseaudio-0.9.13
fred@sylphide:/opt$ cd ov51x-jpeg-1.5.9/
fred@sylphide:
ChangeLog ov511-decomp.c ov519-decomp.o ov51x-jpeg.mod.c
Makefile ov511-decomp.o ov51x-jpeg-core.c ov51x-jpeg.mod.o
Module.markers ov518-decomp.c ov51x-jpeg-core.o ov51x-jpeg.o
modules.order ov518-decomp.o ov51x-jpeg.h ov7670.h
Module.symvers ov519-decomp.c ov51x-jpeg.ko test
fred@sylphide:
rm -rf .*.cmd *.mod.c *.ko *.o .tmp_versions Module.symvers *~ core *.i
*.cmd .ov51x-
fred@sylphide:
make -C /lib/modules/
modules
make[1]: entrant dans le répertoire
« /usr/src/
CC [M] /opt/ov51x-
CC [M] /opt/ov51x-
CC [M] /opt/ov51x-
CC [M] /opt/ov51x-
LD [M] /opt/ov51x-
Building modules, stage 2.
MODPOST 1 modules
CC /opt/ov51x-
LD [M] /opt/ov51x-
make[1]: quittant le répertoire
« /usr/src/
fred@sylphide:
Petit détail je ne dispose pas de la 2.6.27-8-generic mais de la
2.6.27-7-generic.
Bonne chance !
Fred
Le samedi 22 novembre 2008 à 02:21 +0000, dmoyne a écrit :
> I tried unsuccessfully to compile ov51x-jpeg for kernel 2.6.27-8-generic on Intrepid:
> dmoyne@
> make -C /lib/modules/
> make[1]: entrant dans le répertoire « /usr/src/
> CC [M] /home/dmoyne/
> /home/dmoyne/
> /home/dmoyne/
> /home/dmoyne/
> /home/dmoyne/
> /home/dmoyne/
> /home/dmoyne/
Fred43Brest (fjourdin) wrote : | #8 |
Au fait, avant toute chose, est-ce bien la version 1.5.9
de ov51x-jpeg que tu disposes ?!
Le samedi 22 novembre 2008 à 02:21 +0000, dmoyne a écrit :
> I tried unsuccessfully to compile ov51x-jpeg for kernel 2.6.27-8-generic on Intrepid:
Einherjer (oozaru-hunter) wrote : Re: ov51x-jpeg-source (even latest version 1.5.8) won't build against kernel 2.6.27 | #9 |
Please write in english. I don't speak french. Thanks!
dmoyne (daniel-moyne) wrote : | #10 |
sorry for this Fench digression !
the ov51x-jpeg package I used here to report an ubuntu bug is the source package proposed by the Ubuntu distribution ; therefore this is the one I used to try to rebuild the ov51x module fo my Hercules Classic webcam (in the package there are the following files : ov511-decomp.c, ov518-decomp.c, and v519-decomp.c this is all I can tell) ; my web cam worked fine before when for previous kernel 2.6.27-7 I compiled the module from an extra package including a patch + modprobe ov51x-jpeg forceblock=1 ; this extra package called ov51x-jpeg-1.5.9 can still be compiled againt kernel 2.6.27-8 but now this is a dead end as for some reasons something has been changeg in last kernel making webcams not directly usable ; some people say that a new lib4l lib must be used in combination with somthing like :
LD_PRELOAD=
or
FD_PRELOAD=
but what I am interseted in like most of the people is to have skype working and it does not !
dmoyne (daniel-moyne) wrote : | #11 |
I have just upgraded with kernel 2-6.27-10 64 bits on Intrepid and again the same (no update !) ov51x-jpeg package does not compile. Here is what I get with command make :
$ make
make -C /lib/modules/
make[1]: entrant dans le répertoire « /usr/src/
CC [M] /home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
/home/dmoyne/
make[2]: *** [/home/
make[1]: *** [_module_
make[1]: quittant le répertoire « /usr/src/
make: *** [all] Erreur 2
All this for me is a major issue because I have not been able as of today to make my Hercules Classic webcam work synaptic ; there may be something available elsewhere with some heme made compilation but this is typically not good as each time yoy upgrade for a new kernel yoy have to reinstall all these extra modules !
People have to understand that communication tools such as skype are very important for users (a a Netscape navigator some yeras ago) and consequently compatibility with webcam hardware has become a real issue !
Regards.
Fred43Brest (fjourdin) wrote : Re: [Bug 262853] Re: ov51x-jpeg-source (even latest version 1.5.8) won't build against kernel 2.6.27 | #12 |
Hi,
I've just upgraded to 2-6.27-9-generic. Compiled again,
no problem, and the webcam works.
I am not a developper but to try to find the bug could
you please do the following command to see where is your
semaphore.h :
cd /
sudo find . -name semaphore.h -print
> People have to understand that communication tools such as skype are very important for users (a a Netscape navigator some yeras ago) and consequently compatibility with webcam hardware has become a real issue !
> Regards.
>
dmoyne (daniel-moyne) wrote : Re: ov51x-jpeg-source (even latest version 1.5.8) won't build against kernel 2.6.27 | #13 |
ok now it does compile with 2.6.27-10-generic with no error message on my 64 bits X2 machine ; as requested here is the result of your commands :
./usr/src/
./usr/src/
./usr/src/
./usr/src/
./usr/src/
./usr/src/
./usr/include/
./usr/include/
so this bug appears to be cured ; now regarding the pilot ov51x-jpeg that matters here it includes now the jpeg compression and therefore the rastageeks package as substitute ; only what is still needed if a Hercules Classic webcam is on use in combination with Skype :
(1) addition of this in file : "/etc/modprobe.
options ov51x-jpeg forceblock=1
(2) but furthermore getting rid of module "gspa_ov519" that gotherwise gets loaded along with module "ov51x_jpeg"
Only these 2 modifications are necesssary.
After doing this Skype works fine with a webcam Hercules Classic.
I do not know the reason of the link between module "gspa_ov519" and module "ov51x_jpeg" as the webcam needs only module "ov51x_jpeg" ; is it a bug in webcam detection ?
Regards.
Fred43Brest (fjourdin) wrote : Re: [Bug 262853] Re: ov51x-jpeg-source (even latest version 1.5.8) won't build against kernel 2.6.27 | #14 |
no one idea ! But if your webcam works, that's the main point isn't it ?
>
> I do not know the reason of the link between module "gspa_ov519" and module "ov51x_jpeg" as the webcam needs only module "ov51x_jpeg" ; is it a bug in webcam detection ?
> Regards.
>
mugginz (mugginz) wrote : Re: ov51x-jpeg-source (even latest version 1.5.8) won't build against kernel 2.6.27 | #15 |
The module might now compile, but it doesn't seem to function with Skype, Cheese or Kopete.
I've blacklisted gspca_ov519 and added "ov51x_jpeg forceblock=1" to /etc/modprobe.
Is there something else that needs doing with a 64bit kernel?
mugginz (mugginz) wrote : | #16 |
Adding myself to the video group fixed the issue with Skype, still no Cheese or Kopete however.
Andres Mujica (andres.mujica) wrote : | #17 |
hi, i've just added some dupes from this bug report.
thanks for your help
Andres Mujica (andres.mujica) wrote : | #18 |
Hi this is solved for Jaunty.
http://
But i don't believe this would apply for an SRU with Intrepid
so until further notice the best path would be to use the Jaunty package to get this built against Intrepid kernel.
If someone can test it it would be nice.
description: | updated |
Romain Beauxis (toots) wrote : | #19 |
Hi all !
The gscpa_ov519 module should be the final one. It is supported by the linux kernel and will decompress JPEG too.
The remaining bit is to fix applications to use the libv4l [1] library instead of directly manipulating the device. This library is provided by the linux video kernel team and will perfrom all sort of conversions that should hopefully fix a *lot* of broken applications and drivers.
Integration with the various applications should really be easy, since the library is designed to wrap around the original calls, only you need to prefix them with v4l_ or v4l2_, see libv4l{1,2}.h
Patches for various popular applications are also available.
Andres Mujica (andres.mujica) wrote : | #20 |
Hi, i've just tested the Jaunty package and it effectively resolves this issue, so i'm filling the SRU so this issue can get solved.
For those affected, in the meantime you should install the Jaunty package directly from the web ( http://
Take into account that as the previous comment explains, the way to go would be gspca_ov519 in the near future.
Meanwhile this package and possibly SRU can solve the issue.
description: | updated |
Ok, piffio's patch actually allowed me to compile/install, but the camera still doesn't work in Skype.
Of course, I did
modprobe ov51x-jpeg forceblock=1
But, still nothing.
The cam is a Creative PD1030. Any ideas?
mugginz (mugginz) wrote : | #22 |
@bkp
The problem your having is likely due to the cam your using being a v4l2 device where skype is most happy with v4l1 devices.
To get skype going with your device you should go to a console, and run the following commands to launch skype.
(Make sure you quit skype if it's currently running.)
Then in a console:
export LD_PRELOAD=
skype
If you're running a 64bit distro then you should follow the instructions here.
http://
einar.kristian (einar-kristian) wrote : | #23 |
Had to upgrade to 2.6.30-rc5 due to Intel graphics issues (no screen). Screen is ok, but camera (VF0260) wouldn't compile whether I use make or module-assistant:
make -C /lib/modules/
make[1]: Entering directory `/usr/src/
CC [M] /usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
make[2]: *** [/usr/src/
make[1]: *** [_module_
make[1]: Leaving directory `/usr/src/
make: *** [all] Error 2
tags: | added: patch |
InternazionalIV (manson-says) wrote : | #24 |
Hi,
I still get the problem on Karmic Koala:
tomas@tomas-
make -C /lib/modules/
make[1]: Entering directory `/usr/src/
CC [M] /usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
include/
/usr/src/
include/
/usr/src/
include/
/usr/src/
/usr/src/
/usr/src/
make[2]: *** [/usr/src/
make[1]: *** [_module_
make[1]: Leaving directory `/usr/src/
make: *** [all] Error 2
Jarius (jarius) wrote : | #25 |
Same problem here with Hercules Blog Webcam on Karmic Koala.
Maybe, because kernel-header file gspca.h has NULL byte size??
Tested on up2date karmic with all updates.
compile errors from:
root@chaotiker87:~# module-assistant a-i ov51x-jpeg
# Build the module ▒
│ /usr/bin/make KERNEL_
│ KVERS=2.
│ make[2]: Betrete Verzeichnis '/usr/src/
│ /usr/bin/make -C /usr/src/linux M=/usr/
│ make[3]: Betrete Verzeichnis '/usr/src/
│ CC [M] /usr/src/
│ /usr/src/
│ ‘create_
│ /usr/src/
│ declaration of function ‘info’ ▒
│ /usr/src/
│ proc_dir_entry’ has no member named ‘owner’
/usr/src/
│ proc_dir_entry’ has no member named ‘owner’ ▒
│ /usr/src/
│ proc_dir_entry’ has no member named ‘owner’ ▒
│ /usr/src/
│ proc_dir_entry’ has no member named ‘owner’ ▮
│ /usr/src/
│ proc_dir_entry’ has no member named ‘owner’ ▒
│ /usr/src/
│ ‘proc_ov511_
│ /usr/src/
│ proc_dir_entry’ has no member named ‘owner’
/usr/src/
│ ‘ov51x_
│ /usr/src/
│ declaration of function ‘warn’ ▒
│ /usr/src/
│ ‘ov51x_v4l1_ioctl’: ▒
│ /usr/src/
│ argument 1 of ‘video_usercopy’ from incompatible pointer type ▮
│ include/
│ argument is of type ‘struct inode *’ ▒
│ /usr/src/
│ argument 2 of ‘video_usercopy’ makes integer from pointer without a cast
include/
│ argument is of type ‘struct file *’ ▒
│ /usr/src/
│ argument 4 of ‘video_usercopy’ makes pointer from integer without a cast ▒
│ include/
│ argument is of type ‘long unsigned int’ ▒
│ /usr/src/
│ arguments to function ‘video_usercopy’ ▒
│ /usr/src/
│ /usr/src/
│ initialization from incompatible pointer type ▒
│ make[4]: *** [/usr/src/
│ make[3]: *** [_module_
│ make[3]: Verlasse Verzeichnis '/usr/src/
George Prowse (torqueing) wrote : | #26 |
This happens on lucid also
George Prowse (torqueing) wrote : | #27 |
MMarking (cpt-mocha) wrote : | #28 |
Perhaps this would apply to others, I know of at least one webcam that used to work with this driver but is now a part of gspca. I made a bug report here
https:/
The ov51x-jpeg package no longer works with kernels 2.6.31+ I believe. We need to be focusing on gspca and make sure our webcams are supported though v4l-dvb.
The proposed patch fixes compilations issues on Ubuntu Intrepid (8.10) running on 2.4.27 kernels.
WARNING: Driver functionality still have to be tested (I've just done a build and modprobe / rmmod dumb test).