Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2003 00:45:23 +0200
From:      Bernard Dugas <bernard.dugas@is-production.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: how to talk to the serial and parallel ports through a C
Message-ID:  <3EE65F83.9A1890FA@is-production.com>
References:  <20030609175804.043AA37B405@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sys/io.h> and <stdio.h> in linux.

Best regard,
Bernard Dugas

> ------------------------------
> 
> Message: 32
> Date: Mon, 09 Jun 2003 09:44:28 -0700
> From: Dan Malaby <dan@peritek.com>
> 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         |
|_________________________________________________________________|




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE65F83.9A1890FA>