Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2001 16:45:03 -0800
From:      "Raymundo M. Vega" <RaymundoVega@home.com>
To:        Volker Jahns <Volker.Jahns@thalreit.de>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Help on serial port programming
Message-ID:  <3A721A0F.886D8DFD@home.com>
References:  <20010126224215.A1511@ikarus.thalreit>

next in thread | previous in thread | raw e-mail | index | archive | help
Volker Jahns wrote:
> 
> I would need help on serial port programming. I have browsed freebsd.org
> so far but couldn't find the information I am looking for:
> 
> (1) low level serialline debugging (eg. like upsprobe or upsstat
> from
>         http://www.eng.auburn.edu/users/doug/serial.html,
> which I can't get to work under FreeBSD. ). Does code exist which
> allows to debug serial line communication under FreeBSD?
> 
> (2) Does anybody have a link to sample serialline programming?
> 
> Help is *much* appreciated.
> 
> --
> Volker Jahns, Thalreit/DE, +49 80 35 69 25, mailto:Volker.Jahns@thalreit.de
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


I tested one of the programs and it runs OK, I had to change
a couple of things:

#include <termio.h>       to    #include <sys/termios.h>

after gcc -o upsstat upsstat.c execute:

upsstat cuaa0

buena suerte

raymundo


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A721A0F.886D8DFD>