Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Bahuma on February 06, 2003, 10:17:41 AM

Title: Webcam
Post by: Bahuma on February 06, 2003, 10:17:41 AM
Hi All!

I am trying to get my quickcam going on SME 5.5.

I have the driver on and it shows in the logs that it is being detected.

Feb  6 18:07:05 bahuma kernel: usb.c: USB new device connect, assigned device number 2
Feb  6 18:07:05 bahuma kernel: USB Quickcam Class ff SubClass ff idVendor 46d idProduct 870
Feb  6 18:07:05 bahuma kernel: USB Quickcam camera found using: $Id: quickcam.c,v 1.102 2002/03/25 22:22:34 jfclere Exp $
Feb  6 18:07:05 bahuma kernel: quickcam: probe of HDCS1000 sensor = 10 52 id: 08
Feb  6 18:07:05 bahuma kernel: quickcam: probe of BP100 sensor = 00 10 id: 64
Feb  6 18:07:05 bahuma kernel: quickcam: probe of VV6410 sensor = 00 10 id: 19
Feb  6 18:07:05 bahuma kernel: quickcam: probe of HDCS1020 sensor = 10 10 id: 10
Feb  6 18:07:05 bahuma kernel: quickcam: HDCS1020 sensor detected



 What I can't do, is find some camera grabbing sw that doesn't need a stack of libraries that emsith does not have.

Any Suggestons?

Thanks
Chris Parker

P.S - I realise it is not good practise to run a webcam on esmith but i would like to give it a go :)

P.P.S - I have searched and posted in the other webcam thread in Wish List but the thread did not go to the top of the list - it stayed hidden on page 3 or something :-)

P.P.P.S - If I can get it to go, I will do my best to write a how to for anyone else out there :)
Title: Re: Webcam
Post by: Rich Lafferty on February 06, 2003, 06:34:26 PM
Is the quickcam v4l? If so, you might be able to take the "webcam" program
out of xawtv and compile/package it separately.

I've run my (ov511-based) cam from my server having just copied
the "webcam" program over from my workstation.

It's pleasantly lightweight, even though the rest of xawtv is web-based.

$ ldd $(type -p webcam)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40028000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4003d000)
        libdl.so.2 => /lib/libdl.so.2 (0x4005b000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

but note that it doesn't stream video -- it just captures and uploads to
a remote system over ftp or scp every N seconds. It'll also caption the
image for you and other useful stuff like that.

(Of course, you'd probably skip the uploading step.)
Title: Re: Webcam
Post by: Stephen on March 05, 2003, 05:33:54 PM
Hi,
That sounds like exactly what I'm looking for. I've just spend the last two days playing around with w3cam and various drivers and have ended up with a server that is on the verge of complete meltdown!
At least I have complied the drivers I needed against the 2.4.18-5 kernel from 5.6. I am using (or tyring to) one of two cameras. A quickcam express which I found to work only with the qc-usb driver (http://www.ee.oulu.fi/%7Etuukkat/quickcam/quickcam.html) using compatability 3 mode and NOT the standard qce-ga driver from sourceforge. And a variation on a Mustek W300 (nw802.sourceforge.net) which I have only produced black squares from so far.
I have compiled drivers for both these cameras if anyone wants them.
If either of you could give me any pointers as to whats involved I'd be most greateful!
Steve
Title: Re: Webcam
Post by: gavin on May 05, 2003, 05:45:31 PM
Sorry to jump in here, But cna anyone give me a few clues about what app would be best for SME 5.6 with a quickcam express.

I have in the past tried Motion under 5.5 and it worked a treat (except for the kernel panics) , I have tried to configure the latest version of Motion and I get

gcc -g -O2 -Wall -DVERSION=\"3.0.5\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o motion.o motion.c
In file included from /usr/include/signal.h:307,
                 from motion.h:20,
                 from motion.c:9:
/usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from motion.h:21,
                 from motion.c:9:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:27,
                 from motion.h:26,
                 from motion.c:9:
/usr/include/bits/ioctls.h:24:24: asm/ioctls.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:30,
                 from motion.h:26,
                 from motion.c:9:
/usr/include/bits/ioctl-types.h:25:24: asm/ioctls.h: No such file or directory
In file included from motion.c:9:
motion.h:28:28: linux/videodev.h: No such file or directory
In file included from motion.c:10:
video.h:13:28: linux/videodev.h: No such file or directory
make: *** [motion.o] Error 1

I am not sure how to remove the errors, Any help would be appreciated.

- Gavin