From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 15 09:55:34 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 003B316A407 for ; Fri, 15 Dec 2006 09:55:33 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEC3F43CA5 for ; Fri, 15 Dec 2006 09:53:52 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp157-244.lns2.adl2.internode.on.net [121.44.157.244]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id kBF9tT2e088836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Dec 2006 20:25:30 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Fri, 15 Dec 2006 20:25:16 +1030 User-Agent: KMail/1.9.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart35339965.rcyN62s719"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200612152025.17442.doconnor@gsoft.com.au> X-Spam-Score: -1.387 () AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.57 on 203.31.81.10 Cc: Mr CW Subject: Re: Capturing Parallel Port Data X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 09:55:34 -0000 --nextPart35339965.rcyN62s719 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 15 December 2006 05:32, Mr CW wrote: > Now, my real question is: how do I read data from the parallel port on t= he > FreeBSD computer that is coming from the tester which is trying to 'print' > to the FBSD computer's parallel port? Is there a suggested pinout for a > parallel crossover calbe to accomplish this task with ppi? Is the > crossover cable even required? I think you would need to wire ACK to STROBE at the very least.. I kind of= =20 suspect you'd need to write a ppbus driver because lpt only returns the=20 printer status when read. > Finally, is there a FBSD-sanctioned parallel port driver for use with Perl > instead of using ppi and C? It would be pretty easy to write a wrapper to use ppi in Perl (eg SWIG) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart35339965.rcyN62s719 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFgnEF5ZPcIHs/zowRAvosAJ9k0KhirwHTxTmawzEBhmsG3KtGtACghxog St3CnwFZDv8MidOfZLK9fz4= =0EXd -----END PGP SIGNATURE----- --nextPart35339965.rcyN62s719--