BACKPACK Protocol Module for Linux
----------------------------------

Support Models
--------------

This module sits on top of the Linux PARIDE system, and allows it to
communicate with the following drives:

BACKPACK CD
BACKPACK Bantam
BACKPACK CD-RW
BACKPACK PD/CD Drives
BACKPACK Hard Drives
BACKPACK 8000T

REQUIREMENTS
------------

To use the module you need to have a kernel that is compiled with paride
support. (The first stable kernel that had paride and parport
sharing support was 2.2.0.) If you do not have paride support compiled in
the kernel, or as modules, please refer to the kernel documentation on how
to do this. (NOTE: this driver has not been tested with an SMP kernel, a
kernel which is compiled for use with a computer with multiple CPU's.  It
MAY be unstable if used in this way.)

We have included 1 module for Linux kernel version 2.4.0. You
may install it by hand using instructions below, or you may use our
install script by typing "./install_backpack" from the directory that this
Documentation file is in.

Note, if you are using a different version of the Linux Kernel, and it is
in the 2.2.x or later series of kernels you may try using modprobe -i (if
your modprobe supports the -i option. Some don't! ) or creating an options
line in /etc/conf.modules with a -f, but you will have to do this by hand
as WE DO NOT RECOMMEND THIS.

If modprobe -i won't work for you, and you don't want to add a "options
backpack -f" line to your /etc/modles.conf, You may also use the
series of commands: insmod parport, insmod paride, insmod -f backpack.

Please note: This module is provided to allow you to access a backpack
drive from Linux.  It does not include any kind of boot images, so you
CANNOT USE THIS MODULE BY ITESELF TO INSTALL linux.
(You'll have to talk to the creators of your distribution if you want
install disks that work with this module)

MANUAL INSTALLATION
-------------------
To install by hand you will need to be root. If upgrading from a previous
driver, remove all previous modules (e.g. "rmmod bpck").

1. Copy the module to
   /lib/modules/<kernel version>/misc/backpack.o
   (Example for linux kernel version 2.2.12-20: 
    "cp backpack-2.2.12-20 /lib/modules/2.2.12-20/misc/backpack.o")

2. If your kernel includes version information (For example, the default
   Redhat 6.0 kernel does), add a line to your /etc/conf.modules file
   for each device that is a backpack which contains "pre-install <device>
   modprobe backpack". 
   (Example for a BACKPACK CD-ROM:
   "pre-install pcd modprobe backpack")
   
3. run depmod -a

4. It's installed see "USAGE" to mount a drive! :)

If you need further information, I recommend checking out the "PARPORT
web page" (http://www.torque.net/parport/).

USAGE
-----

(These instructions are for a single drive, for multiple drives, please
refer to the Linux Paride page, who's URL is at the bottom of this
document.)

Once the module has been installed, the BACKPACK drive may be used as
follows:

1. Plug drive into parallel port and apply power.
2. As root, execute the command "modprobe [drive type]" with drive type
   being one of the following:
     "pcd" for a BACKPACK CD-ROM drive or
               a BACKPACK bantam drive or 
               to read from a BACKPACK CD-RW drive as a CD drive.
     "pd"  for a BACKPACK hard drive.
     "pf"  for a BACKPACK PD-CD drive.
     "pt"  for a BACKPACK 8000T drive.
     "pg"  to WRITE to a BACKPACK CD-RW drive.

   (If at this point your machine locks up... you may want to try adding
    the line:
    "options backpack detect=0" 
    to your /etc/conf.modules file, or use 
    "insmod backpack detect=0"
    when you are inserting the module by hand.
    Go back to step one when you have done this.) 

3. For PD's, CD's, Hard Drives and Reading CD-RW's, look at the output
   of the previous command to see where the detected drive was added to
   the system. You may mount the drive corresponding to this device. 

   Example (using a BACKPACK CD-ROM drive):
     Step 2 gave the following output:

	"paride: version 1.04 installed
	 BACKPACK Protocol Driver V1.0.0
	 Copyright 1999 by Micro Solutions, Inc., DeKalb IL.
	 paride: backpack registered as protocol 0
	 pcd: pcd version 1.07, major 46, nice 0
	 backpack: LPT 0378, Mfg SMC[7]
	 backpack: ID 21, Tx EPP (Dword)	
	 pcd0: Sharing parport0 at 0x378
	 pcd0: Master: CD-532E"
 

     It has detected the drive and located it at the drive "pcd0".
     To mount the cd at /backpack execute the following commands as root:
        "mkdir /backpack" (if the directory doesn't already exist)
        "mount /dev/pcd0 /backpack"

     (Note if you get the error "mount: special device /dev/pcd0
      does not exist."  Refer to "USING A PARIDE DEVICE" on the linux
      PARIDE page, http://www.torque.net/parport/paride.html, to create  
      the special device files.)

   For CD-RWs you must use a special program, such as, cdrecord (which
   may not work with all CD-RW drives).
   Please refer to the "Parallel Port ATAPI CD-R Information Page"
   (http://www.torque.net/parport/cdr.html) for more information on this
   process.
 
   For Tape drives you must use a program such as "tar -f /dev/pt0".
