
INSTALLATION INSTRUCTIONS:
--------------------------

This is for pl10. I haven't tried pl11 nor pl12 yet.

You will need to create a special file (owned by root) in /dev. Before
this, let me point out that if you have a device installed with major
device number 27, don't do this. If you don't have any device with major 27
(which you shouldn't), you can create the one for the frame grabber with:

mknod /dev/fgrabber c 27 0
chmod 666 /dev/fgrabber

You will have to add code to initialize the device driver in
linux/kernel/chr_drv/mem.c:

long chr_dev_init(long mem_start, long mem_end)
{
        if (register_chrdev(1,"mem",&memory_fops))
                printk("unable to get major 1 for memory devs\n");
        mem_start = tty_init(mem_start);
        mem_start = lp_init(mem_start);
        mem_start = mouse_init(mem_start);
        mem_start = soundcard_init(mem_start);
        mem_start = (long) fg_init(mem_start);	<<<<==== Add this line
        return mem_start;
}

Then copy fgrabber.c in linux/kernel/chr_drv/ and modify the Makefile to include
it in the kernel. Recompile with make Image or make zImage. Install the image
(with LILO or whatever you have) and then reboot. There should be a line
in the boot sequence that says: "Frame grabber installed." If not, you
have not installed the code or the new kernel properly.

Go to the directory where you have the accompanying programs and type make.

Have Phun.

++ Carlos Puchol
++ cpg@cs.utexas.edu
