Path: utzoo!attcan!uunet!snorkelwacker!usc!wuarchive!cs.utexas.edu!rice!rice!sun-spots-request From: amdcad!netcom!dahl@ebay.sun.com (Michael Dahl) Newsgroups: comp.sys.sun Subject: Re: Hardware/Software expertise, anyone? Keywords: Hardware Message-ID: <1990Oct7.215005.21986@rice.edu> Date: 7 Oct 90 21:30:00 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 38 Approved: Sun-Spots@rice.edu Originator: spots@walhalla.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 324, message 1 X-Refs: Original: v9n313 > I am looking to hear from anyone that has looked at the back of an ALM-2 > and figured out what it takes to use that port marked "printer". What is > the underlying hardware implementation (parallel/serial?). What sort of a > /dev entry does it use? What gets added to the kernel to use it? Is there > an FM I should read? > > P.S. 3/260 , 16M, SunOS4.1 I have been through this exercise. I never got it fully working, but here is a summary of what I found out. The ALM-2 has a parallel printer port. A pinout for the printer port can be found on page 30 of the 16 Channel Asynchronous Line Multiplexer-2 Field Service Manual and Installation Notes that should have come with your board. Also see Section 8 starting on page 39 covering Printer Port Loopback Diagnostics. As per Appendix A, when you give the MAKEDEV mcp0 command, you will also create a /dev/mcpp0 device which is for the parallel printer port. If memory serves me, you should be able to use a standard PC parallel printer cable to hook up your printer. I hooked everything up and then tried a "cat testfile > /dev/mcpp0" The testfile had 4 lines in it, but only 2 lines came out on the printer. A larger file seemed to come out ok, but I didn't look that close. I never got any further than this, as we received an IBM RS/6000 with a parallel port that was already configured and worked without problem. All of this was using SunOS 4.0.3. It may work better in 4.1. To be fair, I never did call Sun support on the problem to see if they could help. Hope this helps. Michael Dahl, Cimplex Corporation Voice: (408) 879-2800 Fax: (408) 879-9605 1500 E. Hamilton Ave. Suite 100, Campbell Ca. 95008 dahl@netcom.uucp - or - {apple,claris}!netcom!dahl