Webcam

Which webcams work with Stargate?

See resource links for more details

Are there programs that capture webcam images on the Stargate?

The vidcat program is currently in the /home/video directory. It came from the w3cam package which can be found on the Debian site. For more information see the vidcat man page (also in text form).

vidcat -s 352x288 -p y -d /dev/v4l/video0 > test.ppm

I copied test.ppm to a Linux box and entered xview test.ppm. If you want to edit the image, you can use gimp. The Linux box has to be running X of course. For more information about the PPM (Portable PixMap) image format see Bourke and Poskanzer.

Be sure to load the video modules

/etc/rc2.d/K93loadwebcam

It does the following

    modprobe videodev
    modprobe i2c-core
    modprobe ov511
    modprobe pwc
    insmod -f /lib/modules/2.4.19-rmk7-pxa2-star/kernel/drivers/usb/pwcx-2.4.20.o
    
    if [ ! -d /dev/v4l ]; then
      mkdir /dev/v4l
    fi

    if [ ! -e /dev/v4l/video0 ] ; then
      mknod /dev/v4l/video0 c 81 0
    fi