Webcam Problem - Hercules Deluxe Webcam

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Icekimo

Webcam Problem - Hercules Deluxe Webcam

Post by Icekimo »

Dear Mint Community,
i can't get my webcam to work. (For those of you who are capable of the German language, too, can take a look here http://www.linuxmintusers.de/index.php?topic=2960.0 )

First i identified the cam

Code: Select all

 lsusb

Code: Select all

lsusb
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 003 Device 002: ID 05a4:9881 Ortek Technology, Inc. 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 05a9:4519 OmniVision Technologies, Inc. Webcam Classic
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ID 05a9:4519 OmniVision Technologies, Inc. Webcam Classic should be this model.
Image
And indeed, it looks like my camera :) But it is not the classic it is the deluxe version.

http://www.rastageeks.org/ov51x-jpeg/in ... ng_Webcams
Here it's mentioned that it would need the ov51x JPEG hacked Linux driver to work.

http://www.rastageeks.org/ov51x-jpeg/in ... le_package
I then followed the instructions for Debian.

The orders to type in:

Code: Select all

apt-get update
apt-get install ov51x-jpeg-source module-assistant
module-assistant a-i ov51x-jpeg 
Here the terminal logs i got :(

Code: Select all

sudo apt-get install ov51x-jpeg-source module-assistant
[sudo] password for minze: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
module-assistant is already the newest version.
ov51x-jpeg-source is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.

Code: Select all

sudo module-assistant a-i ov51x-jpeg 

       ┌────────────┤ module-assistant, interactive mode ├─────────────┐
       │ Build of the package ov51x-jpeg-source failed! How do you     │ 
       │ wish to proceed?                                              │ 
       │                                                               │ 
       │       VIEW     Examine the build log file                     │ 
       │       CONTINUE Skip and continue with the next operation      │ 
       │       STOP     Stop processing the build commands             │ 
       │                                                               │ 
       │                                                               │ 
       │                                                               │ 
       │                                                               │ 
       │                <Ok>                    <Cancel>               │ 
       │                                                               │ 
       └───────────────────────────────────────────────────────────────┘ 
                                                                         
And of course the content of the "Build Log File" :( :(

Code: Select all

for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.35-22-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.35-22-generic/g ;s/#KVERS#/2.6.35-22-generic/g ; s/_KVERS_/2.6.35-22-generic/g ; s/##KDREV##/2.6.35-22.35/g ; s/#KDREV#/2.6.35-22.35/g ; s/_KDREV_/2.6.35-22.35/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.35-22-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.35-22-generic/g ;s/#KVERS#/2.6.35-22-generic/g ; s/_KVERS_/2.6.35-22-generic/g ; s/##KDREV##/2.6.35-22.35/g ; s/#KDREV#/2.6.35-22.35/g ; s/_KDREV_/2.6.35-22.35/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp
dh_clean
dh_clean: Compatibility levels before 5 are deprecated.
/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
dh_clean: Compatibility levels before 5 are deprecated.
make[2]: Leaving directory `/usr/src/modules/ov51x-jpeg'
make[1]: Nothing to be done for `kdist_config'.
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_clean: Compatibility levels before 5 are deprecated.
# Build the module
/usr/bin/make KERNEL_DIR=/usr/src/linux KDIR=/usr/src/linux KVERS=2.6.35-22-generic
make[2]: Entering directory `/usr/src/modules/ov51x-jpeg'
/usr/bin/make -C /usr/src/linux M=/usr/src/modules/ov51x-jpeg modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M]  /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o
/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:87: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
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]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/modules/ov51x-jpeg'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/ov51x-jpeg'
make: *** [kdist_build] Error 2



Ok i didn't want to give up at this point. So i tried the other method. Self compiling.

The instructions: http://www.rastageeks.org/ov51x-jpeg/in ... stallation
The sourcefile i took from here: http://packages.ubuntu.com/search?keywo ... peg-source , the maveric one because i am running mint10 julia

Code: Select all

sudo apt-get install build-essential linux-headers-`uname -r` 

->These files i need to get the kernel headers i think (?) at least the tutorial here advises that http://ubuntuforums.org/showthread.php?t=844661

I then moved in to the directory and tried

Code: Select all

make
This is the result i get

Code: Select all

~/Downloads/ov51x-jpeg-1.5.9 $ make
make -C /lib/modules/2.6.35-22-generic/build M=/home/minze/Downloads/ov51x-jpeg-1.5.9 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M]  /home/minze/Downloads/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o
/home/minze/Downloads/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:87: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
make[2]: *** [/home/minze/Downloads/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o] Error 1
make[1]: *** [_module_/home/minze/Downloads/ov51x-jpeg-1.5.9] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [all] Error 2
I have no idea how to proceed or what the error means. My knowledge ends here. I have only been on linux for 3 month. Help me :(

PS
http://permalink.gmane.org/gmane.linux. ... ral/156933 I am not sure how important this is for me
530805 [grave] ov51x-jpeg-source: ov51x-jpeg-source: Compilation failed using module-assistant
541860 [grave] ov51x-jpeg-source: ov51x-jpeg-source: does not build using module-assistant for kernel 2.6.30-1-686

https://bbs.archlinux.org/viewtopic.php?id=103348
Also over at Archlinux there seems to be Kernelpatch ? I don't know. Maybe someone can read out a solution out of this.

Yours
Icekimo
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ian59

Re: Webcam Problem - Hercules Deluxe Webcam

Post by ian59 »

Sometime ago I had a generic type cam that I couldn't get to work until someone suggested trying another usb slot. I moved it from the rear ports to a front port (don't ask me why) it worked.
I hope your solution is that simple..
Icekimo

Re: Webcam Problem - Hercules Deluxe Webcam

Post by Icekimo »

ian59 wrote:Sometime ago I had a generic type cam that I couldn't get to work until someone suggested trying another usb slot. I moved it from the rear ports to a front port (don't ask me why) it worked.
I hope your solution is that simple..
This does not help, sorry :(. I mean the cam is recognized via lsusb. My problem here is: i can't even compile the driver.
Locked

Return to “Hardware Support”