avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Help talking to serial port in Linux


From: ChristoGeo
Subject: Re: [avr-gcc-list] Help talking to serial port in Linux
Date: Thu, 08 Nov 2001 00:05:46 -0800

Thanks Dave! This was exactly what I was looking for. I thought there might have been a more-direct way of doing this like via ioperm for parallel io. This is a big help!

Christo

At 11:14 PM 11/7/2001 -0800, David Smead wrote:
Christo,

Attached is a file that shows how I ported some DOS stuff to Linux.  It
was pulled from a few different sources, and hasn't been thrououghly
tested.

It seems to work, but there's a lot going on so you'll have to read the
include files and do a man on the functions that are called that are part
of the Linux libraries.  Then you have to get into the structures that
deal with operating modes.

There's probably an easier way, (there is, it's called Python).

--
Sincerely,

David Smead
http://www.amplepower.com.

On Wed, 7 Nov 2001, ChristoGeo wrote:

> Hi, I am looking for some examples of communications up/down through the
> serial port under linux.  I am trying to port my dos tools over to Linux
> and this is my biggest problem (serial comms).  I need to open the port at
> 115200 and also control dtr signal (my reset), etc.  Anyone have any places
> with examples?
>
> Thanks,
> Geo
>
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://avr.jpk.co.nz/mailman/listinfo/avr-gcc-list
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]