Technical article 126151

How can I add and configure a parallel port card on my existing OpenServer 6.0.0 system?

OpenServer 6.0.0

Written · Last revised

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 -> mfpd

and 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 changes

5) 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
    -1
to
lp     Y     1     0     0     0     0     0     0      0
    -1
6) Run the following commands to update your kernel and
reboot your system:
# cd /etc/conf/bin
# ./idconfupdate -f
# ./idmknod
# ./idbuild -B
7) Reboot the system

You 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/boot

And 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 device

To 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 other

After adding this to the drvmap.d/mfpd file, update the kernel configuration using:

# /etc/conf/bin/idconfupdate -f
# /etc/conf/bin/idbuild -B

Your 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?"

From the Xinuos technical article database, record 126151. Reproduced with permission. The original is at www.sco.com/ta/126151, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.