What to do, if you have connected a ZIP drive and a printer
at the parallel port?
Create a special kernel for each device and reboot if you want to print or use the zip?
Say thank you to the modules! We do not need this for kernel 2.0.X
Next you have to configure the parallel printer support as a module in "Character Devices":
The last change configures the Zip drive as a module, too. For this you activate it in "SCSI low-level drivers":
Also "SCSI support" and "SCSI Disk Support" can
be changed to modules but this is only recommended if you do not have a
SCSI-harddisk in your system that you need during booting. The safest way
would be if you say "y" here and compile the driver into the kernel.
After compiling the kernel and the modules with the command
>> make clean dep modules modules_install zImageyou rename the kernel (in the subdirectory ./arch/i386/boot/zImage) and copy it to / or /boot/ .
>> cat /proc/modulesyou are able to see which modules are loaded at this moment. The module lpd corresponds with the printer which is often loaded.
>> insmod ppaIf the printer module was still active you would get the following error message:
lib/modules/2.0.3x/scsi/ppa.o: init_module: Device or resource busyIn this case you have to remove the printer module (as root) with
>> rmmod lpdBut this would only be successful if no printer jobs are in the spool, i.e. the printer has to finish all jobs before you are able to access the Zip.
>> mount /dev/sda4 /mnt/zipor if you configured the /etc/fstab you could mount it as a user with
>> mount /mnt/zipAfter using the Zip you can restart the printer module after unmounting the Zip and removing the Zip module.
>> rmmod ppaYou see it is not necessary to reboot any longer if you change between Zip and printer.
>> insmod lpd