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
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
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> │
│ │
└───────────────────────────────────────────────────────────────┘
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
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
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