use a USB webcam with MegaWave2

WARNING !

This installation worked fine for a PCVC680K Vesta Pro on a Inspiron 7000 with Linux Mandrake 7.1.

It is not guaranteed to work, even if your configuration is (apparently) the same. In case of any doubt, please first consult the following site

http://www.smcc.demon.nl/webcam/ (Linux support for Philips USB webcams)
from which all this is inspired.

To install first (as root)

To launch at boot (as root)

  insmod /lib/modules/2.2.16-9mdk/misc/videodev.o
  insmod -f /lib/modules/2.2.16-9mdk/misc/usb-pwc-5.04-p6-up.o 

To use the webcam

Simply compile and launch the MegaWave2 module camview.c. You can also get the camstream software. The interface with the webcam is simple: a open() call on /dev/video to open the port, then ioctl() calls to read/change parameters (image size, frame rate, color encoding, ...) and read() calls to read the current image. All this should appear clearly in the source of camview.c

© Lionel Moisan, 11 Oct 2000.
Thanks to Pascal Monasse for his help in the installation process.


Back to
 
Back to MegaWave Home Page  
Home Page