Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 23:15:07 +0100
From:      Nicolas Souchu <nsouch@free.fr>
To:        freebsd-hardware@FreeBSD.ORG
Subject:   Re: receiving via parallel port
Message-ID:  <20030216231507.B19156@armor.fastether>
In-Reply-To: <20030128222842.GA858@gicco.homeip.net>; from hampi@rootshell.be on Tue, Jan 28, 2003 at 11:28:42PM %2B0100
References:  <20030125202607.GA963@gicco.homeip.net> <20030128001601.A28820@armor.fastether> <20030128222842.GA858@gicco.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 28, 2003 at 11:28:42PM +0100, Hanspeter Roth wrote:
> 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?

You must read parallel port specification. ppi gives you access to
pport registers.

-- 
Nicholas Souchu - nsouch@free.fr - nsouch@FreeBSD.org

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?20030216231507.B19156>