Kurt Konolige
SRI International
May, 1998
konolige@ai.sri.com

This file is a modification of Jim Bray's instructions for installing
the Meteor driver.  It should now compile on libc 6 systems.

INSTALLING:
===========

1. If you are running SMP, you must uncomment the two SMP lines near
the top of the Makefile.

2. Change the SYSTEM variable near the top of the Makefile to whatever
you want your default system to be, e.g., NTSC

3. Make sure you have a recent 1.3 series kernel.  This driver will
not work with anything much older than 1.3.72.

3a. If you are using libc 5 or earlier, comment out the LIBC6 line.

3b. Make sure the LIBGCC parameter points to the directory holding
libgcc.a.  If someone knows how to do this automatically, please let
me know.

4.  If you don't already have bigphysarea in your kernel, do patch -p1
<bigphysaddr-patch in a recent (1.3-series) kernel root (meaning in
/usr/src/linux, unless you prefer elsewhere).  Remember to select the
Reserve Big Physical Memory item in the General Setup Menu.  Remake
your kernel.

5.  You will need to add stuff like this to your /etc/lilo.conf:

image=/vmlinuz
	label=linux-big
	append="bigphysarea=XXX" 
	root=/dev/hda2
	read-only

XXX = number of 4k-pages.  For example, to grab one image
640x480x32bpp use 301.  If you get ENOMEMs, increase the XXX value.

6.  If you want to use kerneld, add this to /etc/conf.modules:

alias char-major-40 meteor

If you are not using kerneld, (the neat autoloading thing), it
probably isn't necessary.

7.  Do mknod <filename>{0,1} c 40 {0,1} to produce

crw-r--r--   1 root     root      40,   0 Mar 14 22:19 /dev/mmetfgrab0
crw-r--r--   1 root     root      40,   0 Mar 14 22:19 /dev/meteor0

crw-r--r--   1 root     root      40,   1 Mar 14 22:19 /dev/mmetfgrab1
crw-r--r--   1 root     root      40,   1 Mar 14 22:19 /dev/meteor1

or whatever you prefer. The test programs will look for the mmetfgrab
names.

8.  Do make and make install in the source directory. You need to SU
for the make install.  The make install will do depmod -a for you.
Just cut this line out if you will be using insmod/rmmod.  Do this
make while running the kernel image you intend to use the driver with.

Your Bt848's can all use the same IRQ, and are set up for IRQ sharing
with other devices. Note that the other devices are more than likely
not, but if you can load the module, it means everything should be OK
regarding IRQ allocation/sharing.

9.  You will need to be running kerneld (recommended, it is cool) or
manually modprobe the module.


