Subject: bpp and lpvi
To: None <port-sparc@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-sparc
Date: 01/16/2000 01:07:44
I recently acquired a SPARCprinter from a university department that
believed they'd have no further use for it (I hope they were right!).
With it came an SBus card that I was told was the interface to it, and
two cables.  The SBus card has two connectors on the back, each of
which looks like a "SCSI-2" connector (the sort on lots of machines,
like the IPC and ELC) except with fewer pins - one connector has 20
pins, the other 28.  One cable has on one end a connector to match the
20-pin connector on the card and on the other end a DB-25 connector;
the other cable has on one end a connector to match the 28-pin
connector on the card and on the other end a Centronics connector, the
kind that is mechanically suited to your typical Centronics-connector
peecee printer.

With the card plugged in, the ROM code finds two devices in the
relevant SBus slot: a SUNW,bpp at 200000 and a SUNW,lpvi at 300000.
(Full info, or at least what I know how to get, included below.)
Presumably one of these corresponds to each connector.

I've been using a 1999-08-13 source tree.  A kernel built from that
tree with the bpp driver turned on ("bpp* at sbus? slot ? offset ?")
finds a bpp device there at boot time...but I have no idea how to test
it; there is no bpp manpage according to man -k.  One comment in
bppreg.h talks about "Paper Empty", which makes me think it's supposed
to be a parallel port driver and hence probably corresponds to the
connector and cable that terminates in a Centronics connector - is this
true?  Does it work, either in 1.4J or -current?  What about the lpvi,
does anyone have any clue?  (In particular, is it serial, parallel,
what?)  If anyone can get doco to me, I can try my hand at writing a
driver for it, whatever it is....

Here's everything I know how to get the PROM to tell me about the card.
I have no idea what most of it means.

ok cd /sbus
ok ls
ffebec88 cgsix@3,0
ffebec24 SUNW,bpp@2,200000
ffebeba8 SUNW,lpvi@2,300000
ffebe48c bwtwo@1,0
ffebd1b0 le@0,c00000
ffebab44 esp@0,800000
ffebab00 dma@0,400000
ok cd /sbus/SUNW,bpp
ok .attributes
reg                      00 00 00 02 00 20 00 00 00 00 00 1c
intr                     00 00 00 02 00 00 00 00
name                     SUNW,bpp
ok cd /sbus/SUNW,lpvi
ok .attributes
reg                      00 00 00 02 00 30 00 00 00 00 00 30
intr                     00 00 00 09 00 00 00 00
model                    zebra
name                     SUNW,lpvi
ok 

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B