From owner-freebsd-hackers Sun Nov 29 16:48:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA24528 for freebsd-hackers-outgoing; Sun, 29 Nov 1998 16:48:40 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA24521 for ; Sun, 29 Nov 1998 16:48:37 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA08528; Mon, 30 Nov 1998 11:18:21 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id LAA01264; Mon, 30 Nov 1998 11:18:20 +1030 (CST) Message-ID: <19981130111820.F831@freebie.lemis.com> Date: Mon, 30 Nov 1998 11:18:20 +1030 From: Greg Lehey To: Josh , freebsd-hackers@FreeBSD.ORG Subject: Re: Help programming I/O, a driver? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Josh on Mon, Nov 30, 1998 at 10:02:49AM +1100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 30 November 1998 at 10:02:49 +1100, Josh wrote: > Hi all. > I have looked high and low (probably in the wrong place :-) > but I can not find anything to help me. I want to figure out > how to control I/O. I can start with the parallel port but > the I want to be able to do the same thing with a custom > card etc. I am refering to bit control of the port. I have > a ADC-DAC card for the parallel port that I have written for > under DOS but I would love to get it running under FreeBSD. > > I understand that this is a bit more difficult under *nix > but it is possible. I am actually thinking I will have to > write it as a driver That's really the only way. That's what drivers are for. > but I really have no idea how to do that or indeed if that is the > right thing to do. Start with the driver writer's tutorial in the online handbook. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message