I have two devices I'm trying to connect to, a UPS and a network switch. By default the UPS runs at 2400 baud and the switch runs at 9600 baud. Before connecting them to the server I verified the devices were working on a laptop running Debian. When I attached them to the server and powered them up (with minicom already running) I saw the expected startup messages being output by both devices (this is why I say I can receive serial data). I then started typing commands and but got no response.
I started debugging. I tried other cables, I tried USB to serial cables, I reattached the devices to the laptop to verify they hadn't spontaneously and simultaneously stopped working. Next I simplified my test setup. I made a loop back cable that connects Tx to Rx. I tested this cable on the laptop and verified it echoed everything I typed. On the server no echo.
Based on responses here I've verified the permissions and tried running as root. I've also checked the flow control as reported by minicom.
Q: Is "stty" the right command line tool to check all of a serial ports settings?
And finally, last night I burned a Debian live DVD and booted the server with it. After installing the proprietary network drivers and minicom I tried the serial ports again with the same results.
Tonight I'll look at the serial port ioctls and see if I can spot a difference there. I also try enabling flow control and fiddling with the signals to see if that unstops it.
ChrisR