Serial Port Configuration
Posted on 2006-07-09
I've been working with FreeBSD for a while and I cannot get past a serial port problem.
This is FreeBSD 6.0 Release 2. I have two serial ports on a Dell PowerEdge 6300. They appear to detected correctly.
and their associated lock and init files.
I wish to communicate with a device with the settings 9600,8N1. I thought I had read where this is the default settings for FreeBSD ports. I currently have a null modem cable between 0 and 1. The first step would be sending data out port 0. I have tried both ttyd0 and cuad0 and have had mixed results.
If I issue "more /dev/ttyd0" (or cuad0) and send data via an echo command, the data is received and everything is fine. If I reverse the order, the echo command freezes and nothing happens. If I connect the device that I wish to communicate with, it exhibits the same problem.
I figure my configuration needs to be changed but I'm not sure what to change.
Thanks in advance!