linux - Minicom offline when trying to communicate using USB to RS232 cable -


i'm using usb rs232 cable communicate between 2 linux machines. on machine usb side connected, run:

dmesg | grep tty 

and following output:

console [tty0] enabled serial8250: ttys0 @ i/o 0x3f8 (irq = 4) 16550a serial8250: ttys1 @ i/o 0x2f8 (irq = 3) 16550a 00:0a: ttys0 @ i/o 0x3f8 (irq = 4) 16550a 00:0b: ttys1 @ i/o 0x2f8 (irq = 3) 16550a usb 2-1.2: pl2303 converter attached ttyusb0 

so far good. run minicom -s , using "serial port setup", change "serial device" "/dev/ttyusb0", "bps/par/bits" "115200 8n1", , select "no" "hardware flow control" , "software flow control".

i save these settings default, exit minicom, , run minicom again.

minicom opens, remains "offline". can't enter commands. other linux machine connected serial port side of wire on , running fine. why can't connect other linux machine?

minicom decides offline/online based on whether dcd line connected or not. created null modem cable , tested data transferred should minicom shows offline. browsing through code found checks dcd line connection set variable online.

this library used testing in java serial port https://github.com/rishigupta12/serial-communication-manager


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -