Avatar billede taskmgr Nybegynder
31. maj 2002 - 20:35 Der er 24 kommentarer og
1 løsning

Webcam guide

Hejsa...

Nogen der kan finde/lave en guide til at sætte webcam op i Mandrake 8.2, kerne 2.4 - i en shell self.

Gerne både med streaming og still. Det skal ikke uploades eller noget, da det skal køre direkte på serveren.

Jeg har fundet lidt links til nogle drivers osv, men jeg er stadig lidt grøn i linux :/ - så lidt hjælp ville være på rette sted :)

Takker
(point kan altid forhandles :P)
Avatar billede oz2kas Nybegynder
31. maj 2002 - 20:47 #1
må jeg se links?
Avatar billede oz2kas Nybegynder
31. maj 2002 - 20:48 #2
så kan vi da se hvor vi kan gå ud derfra.
Avatar billede taskmgr Nybegynder
31. maj 2002 - 20:49 #3
Avatar billede taskmgr Nybegynder
31. maj 2002 - 20:50 #4
Og det er et Logitech Quickcam Express jeg har :)
Avatar billede oz2kas Nybegynder
31. maj 2002 - 20:57 #5
jeg formaterer lige min arbejdsmaskine, så skal jeg nok lige vende tilbage....
det lyder nemlig som noget der kunne være sjovt at lege med ;)
Avatar billede taskmgr Nybegynder
31. maj 2002 - 20:58 #6
Nemlig

- men absolut ikke for os grønne, der er lidt bange for at ødelægge en ellers velfungerende maskine :)

(venter spændt)
Avatar billede oz2kas Nybegynder
31. maj 2002 - 21:00 #7
LOL...
pjat ;)
man lærer sålænge man lever.
og:
hvor der handles der spildes ;)
ellers må vi jo drage andre ind oxo ;)
Avatar billede oz2kas Nybegynder
01. juni 2002 - 20:58 #8
Downloading CVS version of the driver
(most Linux distros have cvs by default)
Open a terminal like xterm or Gnome terminal to give you access to the shell and type at the prompt:

cvs -d:pserver:anonymous@cvs.qce-ga.sourceforge.net:/cvsroot/qce-ga login

will then ask for a password just press enter and you will be returned to the promt
then type:

cvs -z3 -d:pserver:anonymous@cvs.qce-ga.sourceforge.net:/cvsroot/qce-ga co quickcam

You will see that the quickcam files are downloaded if not you can go to
online cvs quickcam  and dowload all the parts individulaly

These Instructions are for people with 2.4.xx kernel  in their computer.
Either Upgrade to Red-Hat 7.1 , Suse 7.1 or Mandrake 8.0
or compile a 2.4.xx kernel. Ask you  local linux user group (LUG)
for help. They have mailing list and people willing to help.1..If you have the 2.4.xx kernel installed change to root by logging out and logging
in as root once  gnome or kde starts go to  /usr/src. If you have linux-2.4.xx
then all you need to do is create a symbolic link called linux  (right click on 2.4.xx
and choose create symlink or command ln -s linux-2.4.xx linux)
2. cd to the newly created quickcam dirctory
3. type make
4.type ./quickcam.sh
Avatar billede oz2kas Nybegynder
01. juni 2002 - 20:59 #9
så er den installeret...
så skal vi lige have det sat til og se om det så oxo virker ;)
Avatar billede taskmgr Nybegynder
01. juni 2002 - 21:55 #10
'cvs' kommandoen funger ikke her...
mangler noget?
Avatar billede oz2kas Nybegynder
02. juni 2002 - 04:00 #11
så skal du have installeret cvs.
du kører jo rpm baseret på en mandrake 8.2, så du skal bruge følgende pakke:
ftp://rpmfind.net/linux/Mandrake-devel/cooker/i586/Mandrake/RPMS/cvs-1.11.2-1mdk.i586.rpm
prøv så kommanden igen.
Avatar billede oz2kas Nybegynder
02. juni 2002 - 17:54 #12
virker det?
Avatar billede taskmgr Nybegynder
02. juni 2002 - 17:59 #13
Jeg brugte en rpm der lå på min cd istedet:

[root@rostved root]# rpm -ivh cvs-1.11.1-10mdk.i586.rpm

error: failed dependencies:
        /usr/bin/ssh is needed by cvs-1.11.1-10mdk

Det betyder vel at jeg mangler SSH? Ehmm... Jeg sidder i SSH'en :D
Avatar billede taskmgr Nybegynder
02. juni 2002 - 18:03 #14
dog ikke i /usr/bin/ssh
Avatar billede Slettet bruger
02. juni 2002 - 19:05 #15
urpmi cvs
Avatar billede oz2kas Nybegynder
03. juni 2002 - 00:01 #16
hehe
Avatar billede taskmgr Nybegynder
03. juni 2002 - 18:31 #17
Hehe... det var sgu clienten jeg manglede.

Jeg når til punkt 3 - "type make", og så kommer der en masse fejl.

I får lige hele skidtet:

cc -I/usr/src/linux/drivers/usb -I/usr/src/linux/include -include /usr/src/linux/include/linux/config.h  -O3 -Wall -Wstrict-prototypes -fomit-frame-pointer  -pipe -DMODULE -D__KERNEL__  -c quickcam.c
quickcam.c:1:12: /usr/src/linux/include/linux/config.h: No such file or directory
In file included from /usr/include/linux/prefetch.h:13,
                from /usr/include/linux/list.h:6,
                from /usr/include/linux/wait.h:14,
                from /usr/include/linux/fs.h:11,
                from /usr/include/linux/capability.h:17,
                from /usr/include/linux/binfmts.h:6,
                from /usr/include/linux/sched.h:8,
                from quickcam.c:39:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from quickcam.c:41:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "  /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "  the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "  /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "  compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "  -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "  instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "  -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "  Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
quickcam.c:42:41: missing binary operator before '>='
In file included from /usr/include/linux/videodev.h:5,
                from quickcam.c:50:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "  /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "  the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "  /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "  compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "  -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "  instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "  -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "  Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/linux/highmem.h:5,
                from /usr/include/linux/pagemap.h:16,
                from /usr/include/linux/locks.h:8,
                from /usr/include/linux/devfs_fs_kernel.h:6,
                from /usr/include/linux/videodev.h:10,
                from quickcam.c:50:
/usr/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/include/asm/pgalloc.h:78: warning: implicit declaration of function `smp_processor_id'
In file included from /usr/include/linux/module.h:296,
                from quickcam.c:53:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "  /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "  the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "  /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "  compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "  -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "  instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "  -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "  Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/linux/usb.h:136,
                from quickcam.c:55:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "  /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "  the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "  /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "  compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "  -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "  instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "  -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "  Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from quickcam.c:53:
/usr/include/linux/module.h: At top level:
/usr/include/linux/module.h:298: parse error before `UTS_RELEASE'
In file included from /usr/include/asm/hardirq.h:6,
                from /usr/include/linux/interrupt.h:45,
                from /usr/include/linux/usb.h:139,
                from quickcam.c:55:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:45,
                from /usr/include/linux/usb.h:139,
                from quickcam.c:55:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from /usr/include/linux/usb.h:139,
                from quickcam.c:55:
/usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:128: requested alignment is not a constant
quickcam.c:80:41: missing binary operator before '>='
quickcam.c:92:41: missing binary operator before '>='
quickcam.c:98:41: missing binary operator before '>='
quickcam.c:120:41: missing binary operator before '>='
quickcam.c:135:41: missing binary operator before '>='
quickcam.c:182:41: missing binary operator before '>='
quickcam.c:1354:41: missing binary operator before '>='
quickcam.c:2174:41: missing binary operator before '>='
quickcam.c:2228:41: missing binary operator before '>='
quickcam.c:2250:40: missing binary operator before '<'
quickcam.c:2307:41: missing binary operator before '>='
quickcam.c:2347:41: missing binary operator before '>='
quickcam.c:2356:41: missing binary operator before '>='
quickcam.c:2366:41: missing binary operator before '>='
quickcam.c: In function `usb_quickcam_configure':
quickcam.c:2177: too few arguments to function `video_register_device'
quickcam.c: At top level:
quickcam.c:2350: warning: initialization from incompatible pointer type
make: *** [quickcam.o] Error 1
Avatar billede taskmgr Nybegynder
03. juni 2002 - 18:32 #18
Min kerne : 2.4.18-6mdk
Avatar billede oz2kas Nybegynder
03. juni 2002 - 23:08 #19
hmm... der må jeg give tabt... det kender jeg ikke noget til.
Avatar billede taskmgr Nybegynder
05. juni 2002 - 13:13 #20
Ok... ligger du et svar, så du ka få lidt points?
Avatar billede oz2kas Nybegynder
05. juni 2002 - 18:00 #21
NICe! men er det ikke points for ingenting`?
Avatar billede taskmgr Nybegynder
05. juni 2002 - 18:26 #22
Du har jo hjulpet mig lidt af vejen :)
Avatar billede taskmgr Nybegynder
06. juni 2002 - 18:58 #23
Nå, men så lukker jeg.

Mange tak for din hjælp :)
Avatar billede oz2kas Nybegynder
07. juni 2002 - 22:34 #24
takker for points ;o)
Avatar billede taskmgr Nybegynder
08. juni 2002 - 13:57 #25
Vil du ha' lidt? Jeg lukkede fordi jeg troede du ik ville ha' nogen. :)
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester