Date: Tue, 25 Apr 2000 12:30:21 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: Leif Neland <leif@neland.dk> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Turning on a relay. Message-ID: <20000425123021.F9754@fw.wintelcom.net> In-Reply-To: <00b901bfaee7$55da1fe0$0e00a8c0@neland.dk>; from leifn@neland.dk on Tue, Apr 25, 2000 at 08:51:14PM %2B0200 References: <00b901bfaee7$55da1fe0$0e00a8c0@neland.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
* Leif Neland <leifn@neland.dk> [000425 12:24] wrote: > I'd like to turn on a relay to the power for my laserprinter 3 rooms away > where the server is located. > > I have an i/o board with a 8255 24 bit i/o port.(IIRC) > > So I wrote a simple userland program to do inb/outb, but it dumped core with > BUSERR, I presume because userland is not supposed to do i/o to the > hardware. > > I guess I have these options: > A: write a driver/kernel module to access the port. > B: use an extra parallel port. (I use 2 at the moment) > C: use a serial port; I have 3-4 available. D: open(/dev/io) -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000425123021.F9754>