From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 16 00:37:51 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 15C3316A403 for ; Sat, 16 Dec 2006 00:37:51 +0000 (UTC) (envelope-from soralx@cydem.org) Received: from cydem.org (S0106000103ce4c9c.vc.shawcable.net [24.87.27.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E19643C9F for ; Sat, 16 Dec 2006 00:36:04 +0000 (GMT) (envelope-from soralx@cydem.org) Received: from freen0de (unknown [192.168.0.251]) by cydem.org (Postfix/FreeBSD) with ESMTP id 3A87191ECA; Fri, 15 Dec 2006 16:37:51 -0800 (PST) Date: Fri, 15 Dec 2006 16:37:45 -0800 From: To: , Message-ID: <20061215163745.4662c824@freen0de> In-Reply-To: References: <20061214114906.03ab3f6c@freen0de> X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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: Sat, 16 Dec 2006 00:37:51 -0000 > No, I didn't try that but I certainly will now. I wasn't sure you > could just cat the port and read the data back. I will let you know > how this works. Well, you should certainly try it, but don't count on it: Daniel says that lpt returns only printer status (BTW, this means full 5 bits, right?). What you need is to either write support for the 'byte mode' in lpt, or utilize the nibble mode if your device supports it. See `man ppbus` & friends, and `man lptcontrol`. > -J. Hunt [SorAlx] ridin' VN1500-B2