
Connectix QuickCam VC Video4Linux Device Driver
===============================================
Installation


To use with 2.4.x kernels:
---------------------------------------------------------------------------

The 2.4 kernel modules are contained as a patch in the linux_2.4 directory.

'cd /usr/src/linux' (or wherever your kernel source is)
'cat patch-linux-2.4.22-qcamvc-x.x.x > patch -p1'

See README for more information


To use with 2.6.x kernels:
---------------------------------------------------------------------------

The 2.6 kernel modules are contained in the linux_2.6 directory.

'cd linux_2.6'
'make' will display a list of instructions.
'make modules' builds the drivers
'make install' installs the drivers as modules

'modprobe qcamvc_pp' if you have the PP QuickCam
'modprobe qcamvc_usb' if you have the USB QuickCam

Read the notes below on getting the best performance from the parallel port
version of the camera, using DMA transfers.


---------------------------------------------------------------------------
Parallel port QuickCam VC: 

The driver supports High-speed ECP parallel ports, and will use DMA
if available. This will greatly improve transfer rate through the parellel
port, and therefore much higher frame rates when streaming.

If your parallel port has ECP hardware, it will not get used unless you:
(a) Build the kernel with CONFIG_PARPORT_PC_FIFO=y  
(b) You may have to select ECP mode for the parallel port in the computer's 
    BIOS setup.
(c) load the parport_pc module with options specifying the interrupt
    (and dma channel, if available) 

For (c), add the following lines to your modutils config-file
(e.g. /etc/modules.conf or wherever your distribution does store that
stuff):

options parport_pc io=0x378 irq=7 dma=3
alias char-major-81 qcamvc_pp

The first line tells the dma/irq channels to use. Those _must_ match
the settings of your BIOS. Do NOT simply use the values above.  See
Documentation/parport.txt for more information about this. The second
line associates the video-device file with the driver.
If the module doesn't get loaded automatically, 'modprobe qcamvc_pp' to 
load it into the kernel.


---------------------------------------------------------------------------
General:

1) Make sure you have created the video devices (/dev/video*):

- if you have a recent MAKEDEV do a 'cd /dev;./MAKEDEV video'
- otherwise do a:

cd /dev
mknod video0 c 81 0

Repeat for /dev/video1, /dev/video2 etc as needed.

2) Compile the kernel (see below for the list of options to use).
   If applicable, configure your parport.  Reboot.

3) If all worked well you should get messages similar
   to the following (your versions may be different) on the console:

QuickCam VC: (C) 2001 by De Marchi Daniele, <demarchidaniele@libero.it>
QuickCam VC: v4l level driver version 1.0.generic registered.
QuickCam VC(PP): (C) 2001 by De Marchi Daniele, <demarchidaniele@libero.it>
QuickCam VC(PP): lowlevel driver version 1.0.generic registered.
QuickCam VC(PP): Port is DMA capable.
QuickCam VC: Creating a camera entry in /proc/qcamvc
QuickCam VC(PP): sucessfully registered.

