1.\" $NetBSD: cpi.4,v 1.4 2009/03/23 16:14:01 joerg Exp $ 2.\" 3.\" Copyright (c) 2008 Hauke Fath. All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" 25.Dd May 18, 2008 26.Dt CPI 4 mac68k 27.Os 28.Sh NAME 29.Nm cpi 30.Nd parallel printer driver for Creative Systems Inc. Hurdler CPI Nubus card 31.\" 32.Sh SYNOPSIS 33.Cd "cpi* at nubus?" 34.\" 35.Sh DESCRIPTION 36The 37.Nm 38interface provides access to parallel printer ports. 39.\" 40.Sh HARDWARE 41The 42.Nm 43interface supports the Creative Systems Inc. Hurdler CPI Nubus card, 44which is based on a Zilog Z8536 CIO. 45.\" 46.Pp 47The parallel port on the Hurdler CPI card is wired as follows: 48.Bl -column "/STROBE" "Page error" "SubD pin" "Z8536 pin" "Z8536 signal" 49.It Sy "Signal" SubD pin Z8536 pin Z8536 signal 50.It /STROBE Strobe 1 22 PC3 51.It D0 2 33 PA0 52.It \&D1 3 32 PA1 53.It D2 4 31 PA2 54.It D3 5 30 PA3 55.It D4 6 29 PA4 56.It D5 7 28 PA5 57.It D6 8 27 PA6 58.It D7 9 26 PA7 59.It /ACK 10 21 + 11 PC2 + PB3 60.It BUSY 11 19 + 14 PC0 + PB6 61.It PE Paper Error 12 20 PC1 62.It SEL Select 13 13 PB5 63.It /AUTOFD Auto Feed 14 12 PB4 64.It /FAULT 15 9 PB1 65.It /RESET 16 8 PB0 66.It /SELIN Select \&In 17 10 PB2 67.El 68.Pp 69The Z8536 INT line (pin 24) is wired to PB7 (pin 15). 70.\" 71.Sh SEE ALSO 72.Xr autoconf 4 , 73.Xr lpt 4 , 74.Xr nubus 4 , 75.Xr printcap 5 76.Pp 77.Tn IEEE Standard 1284-1994 78.\" .Sh STANDARDS 79.\" 80.Sh HISTORY 81.Nm 82first appeared in 83.Nx 5.0 . 84.\" 85.Sh AUTHORS 86The 87.Nm 88driver was written by 89.An Hauke Fath 90.Aq hauke@NetBSD.org . 91.\" 92.Sh CAVEATS 93The Hurdler CPI Nubus card does not use a TTL buffer to 94drive the parallel interface. 95Instead, the card's Z8536 CIO drives the printer port directly. 96Printers terminating the parallel interface with less 97than 2 kOhms may cause permanent damage to the Z8536 CIO. 98