A question about programming RS-232

stan stanb at panix.com
Sun Sep 3 10:35:21 PDT 2006


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)


More information about the freebsd-questions mailing list