File: README.Solaris

package info (click to toggle)
libieee1284 0.2.11-14
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 3,816 kB
  • sloc: sh: 8,712; ansic: 5,324; xml: 1,897; makefile: 84
file content (36 lines) | stat: -rw-r--r-- 1,270 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Notes on libieee1284 on Solaris/x86
-----------------------------------

There are some problems with supporting bi-directional parallel ports in 
Solaris/x86.  Not least of these is the fact that there is no built-in
support, nor built-in inb/outb.  To work around this problem, I have 
included the IOP kernel-mode driver which exposes the inb and outb
functions to userspace.  To the end users, this means that you will need
to install the iop driver before you can use libieee1284.

After performing a make install (which will also install the driver), you 
will probably need to reboot with -r, ie:

# /usr/sbin/reboot -- -r

On Solaris 2.8 you will probably need to run add_drv after rebooting, ie:

# add_drv iop

If that doesn't get it working, consult the add_drv man page.

Once the IOP driver is installed and working, you will only be able to access
the parallel port as root.

The other downside of this method of parport access is that it is *slow*. 
Each read and write requires an ioctl, which being a syscall is not fast.  
On top of that, you are limited to nibble mode transfers, so each ioctl is 
4 bits.

I hope that Sun sees fit to port the ECPP system to x86 in a future version
of Solaris.

Enjoy,

- Matthew Duggan
stauff1@users.sourceforge.net