From owner-freebsd-hackers Sun Oct 19 16:55:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA10005 for hackers-outgoing; Sun, 19 Oct 1997 16:55:25 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from trojanhorse.ml.org (mdean.vip.best.com [206.86.94.101]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA10000 for ; Sun, 19 Oct 1997 16:55:22 -0700 (PDT) (envelope-from jamil@trojanhorse.ml.org) Received: from localhost (jamil@localhost) by trojanhorse.ml.org (8.8.7/8.8.5) with SMTP id QAA02799; Sun, 19 Oct 1997 16:55:15 -0700 (PDT) Date: Sun, 19 Oct 1997 16:55:15 -0700 (PDT) From: "Jamil J. Weatherbee" Reply-To: "Jamil J. Weatherbee" To: freebsd-hackers@freebsd.org cc: jkh@time.cdrom.com Subject: Device Driver Submission Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I wish to submit my device driver. Its name is "dio". I have written a man page for it and have debugged it extensively. It drives a digital i/o board that supports only mode 0 on the intel 8255 PPI. It supports change of state interrupts on all inputs (this is a feature not found in other boards). This type of hardware is commonly used to drive solid state relays, for instance I have some backplanes and relays that will allow you to do high current AC or DC switching. The change of state interrupts might be used anywhere you are waiting for some event to occur (such as an an alarm system or an industrial machine that must do limit detection.) The driver is about 500 lines, I have tested it to make sure that its devfs hooks work correctly (DEVFS btw is pretty cool) and is well documented. I'd like to know how this is usually done, especially since this does not support some kind of critical system that would adversely effect stability. In other words it is very special-purpose. for specs see: http://www.indcompsrc.com/products/data/html/dio48s_at-p.html I've been considering buying some of this hardware to do home automation. For instance if you want to control some 0-60volt 3AMP dc signals a backplane with 24 Solid State Relays runs about $400. The board itself costs $260. I've used them on many different projects.