Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 23:28:42 +0100
From:      Hanspeter Roth <hampi@rootshell.be>
To:        freebsd-hardware@FreeBSD.ORG
Subject:   Re: receiving via parallel port
Message-ID:  <20030128222842.GA858@gicco.homeip.net>
In-Reply-To: <20030128001601.A28820@armor.fastether>
References:  <20030125202607.GA963@gicco.homeip.net> <20030128001601.A28820@armor.fastether>

next in thread | previous in thread | raw e-mail | index | archive | help
  On Jan 28 at 00:16, Nicolas Souchu spoke:

> On Sat, Jan 25, 2003 at 09:26:07PM +0100, Hanspeter Roth wrote:
> > Hello,
> > 
> > can I receive data via the parallel port?
> > Are there some examples?
> 
> ppi(4) for interacting with ppbus(4). Otherwise, you can i/o the port

man ppi(4) just shows an example of output.
Is there also an example of input?
Or is it just as simple as
	ioctl(fd, PPIGDATA, &val);
?
How can I know which pins are output and which ones are input?

-Hanspeter

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030128222842.GA858>