From owner-freebsd-hackers Sun Oct 27 9:18:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A54FD37B401 for ; Sun, 27 Oct 2002 09:18:48 -0800 (PST) Received: from blackbox.yayproductions.com (h-66-166-17-53.SNVACAID.covad.net [66.166.17.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C4F443E4A for ; Sun, 27 Oct 2002 09:18:48 -0800 (PST) (envelope-from davek@saturn5.com) Received: from localhost (davek@localhost) by blackbox.yayproductions.com (8.11.6/8.11.3) with ESMTP id g9RHCXs00342 for ; Sun, 27 Oct 2002 09:12:33 -0800 (PST) (envelope-from davek@saturn5.com) X-Authentication-Warning: blackbox.yayproductions.com: davek owned process doing -bs Date: Sun, 27 Oct 2002 09:12:33 -0800 (PST) From: David Nicholas Kayal X-X-Sender: davek@blackbox.yayproductions.com To: freebsd-hackers@FreeBSD.ORG Subject: i am looking for a 5 volt signal Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm looking for a 5 volt signal. I have wires plugged into pins 2 and 25 of the parallel port. I have written a small program: #include #include #include int main() { int fd; while(1) { ioctl(fd, PPISDATA, 255); } } and have it executing... I have a multi-meter with the positive lead touching the pin 2 wire and the negative lead touching pin 25 wire, but i am not registering any voltage. =( I am sad. I have recompiled my kernel to disable plip and enable ppi. The following is a snipet of my kernel configuration: # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer # # 2002 oct 27 - removed plip and added ppi. # #device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da any help would be very much appreciated To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message