-   Linux - General (
-   -   Minicom offline but Uart registers working (

getasif 07-14-2011 11:36 PM

Minicom offline
I am trying to access an OpenBSD system that I have just installed via my PcBSD system by the use of a serial cable. I have been trying both minicom and cu but I am obviously doing something wrong... cu -l /dev/cuad0 returns /var/spool/lock/LCK...cuad0 Permission Denied. Can't Open lock file. all ports busy. And when I try to connect through minicom I either get a similar lock error, or minicom will sit at the connection screen with (offline status). I feel like the answer to my problems is a rather simple one, but I do not know where else to look for information. Any help would be greatly appreciated

theNbomr 07-15-2011 03:01 PM

I don't use minicom much, but I think it tries to talk to a modem on startup, and if it doesn't get some satisfactory reply, it goes offline. Perhaps your minicom config is unsuitable for the multiport card (handshake & flow-control lines fully implemented?). When dealing with serial ports, I strongly prefer C-Kermit. It seems to be able to cope with any port I've thrown at it, is highly configurable and scriptable, and has very good terminal emulation.

--- rod.

getasif 07-16-2011 12:05 PM

hello theNbomr/rod ...thanks for the information about c-kermit and I will let you know about the results ..yes handshake and other usual things about ports have been implemented I was thinking whether a simple loop back test is possible with c-kermit...anyways please let me know if you have any info about this ...thanks

theNbomr 07-16-2011 01:05 PM

A loopback test with a single wire connecting the port's Rx & Tx lines is always one of the first tests I do when diagnosing serial comm's issues. If you aren't using a modem, I suggest also removing all of the modem init strings from your minicom configuration. Is your problem that minicom doesn't automatically go online, or that it simply will not go online at all?
Another useful tool (requires X) for setting up serial comm's is serlook. It is less useful for the level you're working with right now, but comes into play where you are actually transferring data between hosts or host & device.

--- rod.

All times are GMT -5. The time now is 09:07 PM.