|
|
|
|
![]() printer-version |
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
As for a kernel without modules you need to include
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.
>> make clean dep modules modules_install zImageyou rename the kernel (in the subdirectory ./arch/i386/boot/zImage) and copy it to / or /boot/ . Then you include the new kernel with yast at
>> 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. If you want to access the Zip drive you will have to load the corresponding module. This happens (as root) with >> 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. If you managed to load the Zip module you would be able to mount it (as root) with >> 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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||