Existe um conversor USB / serial conectando duas caixas.
A caixa A tem extremidade USB, a caixa B tem extremidade da porta serial.
Na caixa A:
screen /dev/ttyUSB0 9600
Na caixa B (a que estou tentando conectar da caixa A):
/etc/inittab:
...
T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
...
O que eu escrevo para / dev / ttyS0 na caixa B é visto no terminal na caixa A (via tela),
mas os dados gravados em dev / ttyUSB0 na caixa A não são recebidos na caixa B, por exemplo, não consigo digitar nada, embora eu veja o login prometido.
Alguma ideia? Obrigado
EDIT1:
Eu tentei e picocom com os mesmos resultados acima.
Aqui está a saída de lsusb na caixa A:
Bus 005 Device 002: ID 14dd:0002
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
EDIT2:
Resultado do DMESG na caixa A:
usb 3-2: new full speed USB device using uhci_hcd and address 2
usb 3-2: configuration #1 chosen from 1 choice
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
pl2303 3-2:1.0: pl2303 converter detected
usb 3-2: pl2303 converter now attached to ttyUSB0
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
EDIT3:
caixa B (aumento da taxa de transmissão desde então):
stty -a -F /dev/ttyS0
speed 115200 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^H; eof = ^D; eol = ; eol2 = ; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echoke
A tela de execução com esses parâmetros na caixa A termina da mesma maneira:
screen /dev/ttyUSB0 115200,-parenb,-parodd,cs8,hupcl,-cstopb,cread,clocal,-crtscts,-ignbrk,-brkint,-ignpar,-parmrk,-inpck,-istrip,-inlcr,-igncr,-icrnl,-ixon,-ixoff,-iuclc,-ixany,imaxbel,-iutf8,-opost,-olcuc,-ocrnl,-onlcr,-onocr,-onlret,-ofill,-ofdel,nl0,cr0,tab0,bs0,vt0,ff0,-isig,-icanon,-iexten,-echo,-echoe,-echok,-echonl,-noflsh,-xcase,-tostop,-echoprt,-echoctl,-echoke