From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 01:07:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8400237B401 for ; Wed, 11 Jun 2003 01:07:58 -0700 (PDT) Received: from mail21.ispronet.com (mail21.is-pronet.com [81.28.194.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65FAA43FD7 for ; Wed, 11 Jun 2003 01:07:57 -0700 (PDT) (envelope-from bernard.dugas@is-production.com) Received: from is-production.com (unknown [81.28.194.61]) by mail21.ispronet.com (Postfix) with ESMTP id 2EA674A4EA; Wed, 11 Jun 2003 10:07:56 +0200 (CEST) Message-ID: <3EE65F83.9A1890FA@is-production.com> Date: Wed, 11 Jun 2003 00:45:23 +0200 From: Bernard Dugas Organization: ISProduction X-Mailer: Mozilla 4.75 [fr] (WinNT; U) X-Accept-Language: fr,en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20030609175804.043AA37B405@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: how to talk to the serial and parallel ports through a C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 08:07:58 -0000 Hi, I also did some programming on serial port to control pins with a c program under linux, but I didn't found any simple way to port it under freebsd. Any hint ? For instance, I need the equivalent of : inb(adr) outb(val,adr) iopl(n) ioperm(adr) from and in linux. Best regard, Bernard Dugas > ------------------------------ > > Message: 32 > Date: Mon, 09 Jun 2003 09:44:28 -0700 > From: Dan Malaby > Subject: how to talk to the serial and parallel ports through a C > program > To: freebsd-questions@freebsd.org > Message-ID: <5.1.0.14.2.20030609093752.00a69d20@pop3.peritek.com> > Content-Type: text/plain; charset="us-ascii"; format=flowed > > I was wondering if there was a good place to go to get programing examples > on how to > talk to the serial and parallel ports. I have looked in the developers > handbook but have not > any luck finding what I want. > > Any pointers would be appreciated > > Thanks > > Daniel Malaby voice:(510) 531-6500 > Peritek Corp. fax: (510) 530-8563 > 5550 Redwood Road email: dan@peritek.com > Oakland, CA 94619 > > ------------------------------ -- __________ Bernard DUGAS ________________________________________ | | | Technoparc Pays de Gex mailto:bernard.dugas@is-production.com | | 30 Rue Auguste Piccard Tel.: +33 450 205 105 | | FR 01630 St Genis Pouilly Fax : +33 450 205 106 | |_________________________________________________________________|