akos.maroy
July 21st, 2018, 06:08 PM
Hi,
I'm unable to write to the serial port when using a Prolific PL2303 USB-Serial adapter. I tried three USB-Serial adapters, two of this type and a third one, and for both PL2303 adapters, the effect is the same: I can connect to the serial port using minicom or kermit, I see the input from the serial port, but I cannot write to it. this is also shown by the adapter, which has a built-in LED which would light up when sending data, and it never lights up. the PL2303 shows up a /dev/ttyUSB0, while the other adapter that works shows up as /dev/ttyACM0
some additional info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
$ lsmod | grep pl2303
pl2303 20480 1
usbserial 45056 3 pl2303
$ statserial /dev/ttyUSB0
Device: /dev/ttyUSB0
Signal Pin Pin Direction Status Full
Name (25) (9) (computer) Name
----- --- --- --------- ------ -----
FG 1 - - - Frame Ground
TxD 2 3 out - Transmit Data
RxD 3 2 in - Receive Data
RTS 4 7 out 1 Request To Send
CTS 5 8 in 0 Clear To Send
DSR 6 6 in 0 Data Set Ready
GND 7 5 - - Signal Ground
DCD 8 1 in 0 Data Carrier Detect
DTR 20 4 out 1 Data Terminal Ready
RI 22 9 in 0 Ring Indicator
I wonder what I'm doing wrong, and how to make writing work on these USB-Serial adapters.
Akos
I'm unable to write to the serial port when using a Prolific PL2303 USB-Serial adapter. I tried three USB-Serial adapters, two of this type and a third one, and for both PL2303 adapters, the effect is the same: I can connect to the serial port using minicom or kermit, I see the input from the serial port, but I cannot write to it. this is also shown by the adapter, which has a built-in LED which would light up when sending data, and it never lights up. the PL2303 shows up a /dev/ttyUSB0, while the other adapter that works shows up as /dev/ttyACM0
some additional info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
$ lsmod | grep pl2303
pl2303 20480 1
usbserial 45056 3 pl2303
$ statserial /dev/ttyUSB0
Device: /dev/ttyUSB0
Signal Pin Pin Direction Status Full
Name (25) (9) (computer) Name
----- --- --- --------- ------ -----
FG 1 - - - Frame Ground
TxD 2 3 out - Transmit Data
RxD 3 2 in - Receive Data
RTS 4 7 out 1 Request To Send
CTS 5 8 in 0 Clear To Send
DSR 6 6 in 0 Data Set Ready
GND 7 5 - - Signal Ground
DCD 8 1 in 0 Data Carrier Detect
DTR 20 4 out 1 Data Terminal Ready
RI 22 9 in 0 Ring Indicator
I wonder what I'm doing wrong, and how to make writing work on these USB-Serial adapters.
Akos