From owner-freebsd-questions Wed Aug 16 12:41:17 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id MAA24484 for questions-outgoing; Wed, 16 Aug 1995 12:41:17 -0700 Received: from kryten.atinc.com (kryten.Atinc.COM [198.138.38.7]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id MAA24473 for ; Wed, 16 Aug 1995 12:41:02 -0700 Received: (jmb@localhost) by kryten.atinc.com (8.6.9/8.3) id PAA04853; Wed, 16 Aug 1995 15:29:26 -0400 Date: Wed, 16 Aug 1995 15:29:24 -0400 (EDT) From: "Jonathan M. Bresler" Subject: Re: Parallel port reading To: Ola Persson cc: Marc van Kempen , Marc van Kempen , davidg@Root.COM, questions@FreeBSD.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk On Wed, 16 Aug 1995, Ola Persson wrote: > I have built a litte device to show the phone number of the on e who > calls me on the telephone. > > I need a program to read the parallell port when data flows on it. take a look at /sys/i386/isa/lpt.c the lpintr function is used by lp0 to read the parallel port and to write to it. Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. FreeBSD Postmaster jmb@FreeBSD.Org | 2341 Jeff Davis Hwy play go. | Arlington, VA 22202 ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346