Eu sou novo no Ubuntu. Eu comprei recentemente um conector USB para Serial PL2303 e coloquei seu driver PL2303.C no meu Ubuntu 17.10.
Eu coloquei o comando 'lsusb' e ele mostrou:
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 8087:07dc Intel Corp.
Bus 002 Device 003: ID 1bcf:28b4 Sunplus Innovation Technology Inc.
Bus 002 Device 002: ID 138a:0011 Validity Sensors, Inc. VFS5011 Fingerprint Reader
**Bus 002 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port**
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
e quando eu verifiquei o comando 'dmesg' == > dmesg | grep tty
mostra:
[ 0.000000] console [tty0] enabled
[ 19.113237] usb 2-3: pl2303 converter now attached to ttyUSB0
[ 25.449300] ttyS3: LSR safety check engaged!
[ 25.449943] ttyS3: LSR safety check engaged!
Mas quando eu conecto essa serial à porta do console do meu switch (eu usei o dongle original, então o dongle não deve ser um problema), ele não aparecerá. Eu suspeito que o port com. mas eu já verifiquei com o comando == > setserial -g /dev/ttyS[0123456789]
, mostra:
/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3: No such device
/dev/ttyS4, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS5, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS6, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS7, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS8, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS9, UART: unknown, Port: 0x0000, IRQ: 0
como definir comporta (/ dev / ttyS0) para poder conectar-se ao switch? Por favor, informe