From owner-freebsd-questions Fri Jan 26 16:45:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail4.sdc1.sfba.home.com (femail4.sdc1.sfba.home.com [24.0.95.84]) by hub.freebsd.org (Postfix) with ESMTP id 3B0D537B69D for ; Fri, 26 Jan 2001 16:45:04 -0800 (PST) Received: from home.com ([24.177.141.133]) by femail4.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010127004255.NJFQ11986.femail4.sdc1.sfba.home.com@home.com>; Fri, 26 Jan 2001 16:42:55 -0800 Message-ID: <3A721A0F.886D8DFD@home.com> Date: Fri, 26 Jan 2001 16:45:03 -0800 From: "Raymundo M. Vega" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.5.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Volker Jahns Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Help on serial port programming References: <20010126224215.A1511@ikarus.thalreit> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 to #include 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