Subject: Re: Electrical relays <- NetBSD
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Charles M. Hannum <firstname.lastname@example.org>
Date: 10/28/1999 16:33:34
der Mouse <mouse@Rodents.Montreal.QC.CA> writes:
> > Has anyone developed something that will interface with NetBSD to
> > switch relays (to control hung machines remotely)?
> It's really easy to do if you are willing to use one serial port per
> device; a solid-state relay will generally work just fine when driven
> off a DTR signal. :-)
As someone else mentioned, the parallel port should also work. You'll
want to nuke the code in lpt_isa_probe() that latches new values into
the data port, though -- and hope the BIOS doesn't do something
similar. Or add a latch that's clocked off the STROBE line.