Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2006 13:35:16 -0400
From:      stan <stanb@panix.com>
To:        ?????? ????? <bug2bug@bug2bug.tk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: A question about programming RS-232
Message-ID:  <20060903173516.GA27923@teddy.fas.com>
In-Reply-To: <200609032326.05071.bug2bug@bug2bug.tk>
References:  <200609032326.05071.bug2bug@bug2bug.tk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 03, 2006 at 11:26:04PM +0600, ?????? ????? wrote:
> Hello.
> I have a question I can't deal myself.
> And nobody can help me in resolving my problem.
> 
> Problem:
> I have a hand-made device, I want to control from FreeBSD 6.1
> (I am porting this application from Windows equivalent).
> But I don't know, in what device /dev/ I should write to get reults.
> I tryed to write bytes into /dev/ttyd0, /dev/cuad0, but got nothing. :(
> 
Start off by using minicom (or cu) to talk to the device. By doing
this you can sort through baud rate/parity,hardware issues.

Once you have that working, then move on to code.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060903173516.GA27923>