#!/bin/sh
# Devices Configuration
# Video4linux use the /dev/video* files, and the driver need one per camera.
#
     ls -lad /dev/video* # produce a list of the video devices

# If the video devices do not exist, you can create them with this shell 
# script:
# http://digilander.libero.it/demarchidaniele/qcamvc/quickcam-vc.html
#     su
     cd /dev
     for ii in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ; do

         mknod video$ii c 81 $ii # char-major-81-[0-16]
         chown root.root video$ii # owned by root
         chmod 600 video$ii # read/writable by root only

     done

# The important part is to make the proper special character files with the 
# right major and minor numbers. All of the special device files are listed 
# in ../devices.txt. If you would like the quickcam usable by non-root users,
# you will need to change the permissions.
# In this package you find the script "make_devices" that automatically 
# create the device files.

# Run a Video4linux client program
# I suggest GqCam.
# http://cse.unl.edu/~cluening/gqcam/

exit
