Re: [PARPORT] Zip Driver


Juergen Leising (a0037@stud.uni-bayreuth.de)
Sat, 31 Jul 1999 14:54:57 +0200


On Fri, Jul 30, 1999 at 10:06:57AM -0400, sqfan@aep.com wrote:
>
>
> Thank you very much. You are right the old PPA works! I also get the .config
> file, maybe for future use.
>
> How can I load the ppa each time I boot my system? Now I use insmod ppa.
>

Insmod and modprobe are the two commands for "manual loading"; of course
you could write all your insmod commands into a shell script and put
it into the start up process; but a better solution is "automatic loading":

You can make the kernel thread "kmod" load all of the needed modules
whenever it is necessary by inserting some lines into

/etc/conf.modules

Here's part of my own file:

alias scsi_hostadapter ppa
############## zip drive ####################
alias block-major-8 ppa
pre-install ppa modprobe -r lp ; modprobe -r bpck-fdc ; modprobe -r zftape ; mod
probe -r ftape ; modprobe parport ; modprobe parport_pc

############# generic parport support ###########
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7

############# lp für Drucker #####################
pre-install lp modprobe -r bpck-fdc zftape ftape ppa
options lp parport=0

######### ftape für Ditto max ##########################
alias char-major-27 zftape
options ftape ft_fdc_driver=bpck-fdc,none,none,none ft_tracings=4,4,4,4,4
# options bpck-fdc ft_fdc_irq=7 ft_fdc_base=0x378
pre-install zftape modprobe -r lp ppa parport_pc parport_probe parport

As you can see I use three devices on one single parallel port.
It shouldn't be no major problem for you to adjust this file to
your own needs; of course you can leave out the lines regarding
that bloody iomega streamer "ditto" and the printer, but in case
you use at least a second device my file should be of some help for
you.

Bye, bye, Juergen.

-- 
*****************************************************************
* Juergen Leising, E-Mail: juergen.leising@stud.uni-bayreuth.de *
*           http://www.stud.uni-bayreuth.de/~a0037/             *
*****************************************************************

-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Sat 31 Jul 1999 - 08:53:51 EDT