Problem
I have installed OpenServer 6.0.0 and I would now like to add and configure a Parallel port card to my system. What do I need to do in order to make the port on the card available for use?
Solution
What follows are the steps required to add and configure a parallel port card to a previously install SCO OpenServer 6.0.0 system:
1) Turn off the server and insert the parallel port card into the system.
2) Power on the server, enter the BIOS setup and take a note of the parallel port card IRQ and IO address settings.
3) Boot the server, run the DCU(ADM) and select:
Software Device Drivers -> Miscellaneous -> mfpdand use "F5=New" to enter the appropriate values for the device
4) Return to the DCU main menu and select:
Exit the DCU and Apply the changes5) Edit the file /etc/conf/sdevice.d/lp using your favorite editor and change the line that reads:
lp N 1 0 0 0 0 0 0 0
-1tolp Y 1 0 0 0 0 0 0 0
-16) Run the following commands to update your kernel and
reboot your system:# cd /etc/conf/bin# ./idconfupdate -f# ./idmknod# ./idbuild -B7) Reboot the systemYou should now find that the system will have created all the lp(HW) devices necessary to use your parallel port.
NOTE: On some Multiple CPU systems, the parallel port
may print slowly. In this case, try adding the boot
parameter 'ACPI=X' to the file,/etc/default/bootAnd then reboot the system to test the port again.
NOTE: PCI Parallel Port cards are not supported unless
you have Maintenance Pack 4 or later installed. Please
refer to the MP4 release notes for details on how to
configure a PCI Parallel port card into your system.NOTE: Some PCI parallel cards do not use the standard PCI Class Code for
PCI parallel ports. To find out if you have one of these cards,
use this command to list your PCI devices along with their Class
Codes:# /etc/hw -vr pci|egrep 'key| id|Rev|Class|^$'If you see one of these class codes then you PCI parallel card is using the standard PCI Class Code for PCI parallel ports:
0x70100=Simple communications controller - parallel port 0x70101=Simple communications controller - Bi-directional parallel port 0x70102=Simple communications controller - ECP 1.x-compliant parallel port
However, if you see the following Class Code, then your PCI parallel card is not using the standard PCI Class Code for PCI parallel ports:
0x78000=Simple communications controller - Other communications deviceTo add support for these non-standard PCI parallel cards to your OpenServer6 system with MP4, add the following line to the file, /etc/conf/drvmap.d/mfpd
|PCI|CLASS0x8007|PCI Parallel Port otherAfter adding this to the drvmap.d/mfpd file, update the kernel configuration using:
# /etc/conf/bin/idconfupdate -f
# /etc/conf/bin/idbuild -BYour parallel port should be recognized upon reboot.
See also
TA126137 "How to configure parallel port with CUPS" TA127175 "Why is my PCI Parallel Port printing slowly?"