/dev/ttyUSB0 one way connection
I've been fighting a USB > serial converter on a Debian Stretch machine
dmseg confirms the adapter is connected to /dev/ttyUSB0 and I can connect (via minicom) to it no problem. However, it only seems to work on incoming data but won't send anything out For example: cat /dev/ttyUSB0 reads data coming in just fine but echo "test" > /dev/ttyUSB0 doesn't send anything out Same results within minicom No permission issues as I'm doing this as root. Thoughts? |
What type of device is connected to the serial adapter?
|
Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
|
What is connected to the serial port?
|
This particular computer has both ttyS0 and ttyS1 but nothing is connected to either.
(and ttyS0 works just fine in both directions) |
Ok, you still have not answered what is connected to the usb serial adapter.
|
Oh I misunderstood your question.
I have it connected to another computer (genuine serial port) running a terminal program with which to test the one using the USB > serial. Null-modem cable of course |
While I have used the pl2303 adapters for many years without problems I've not use them with the latest distributions / kernels. I assume that you have tested the cable with ttyS0 and if you have tested the usb serial adapter with an older version and it works then the problem may lie with debian 9, the kernel with the pl2303 driver.
|
Followup (and resolution) to this.
I tried a different converter I forgot I had (FTDI based) and it works just fine. So perhaps you're correct about the kernel. Or that the same affliction that affects Prolific-based units under Windows (counterfeit chips and/or drivers) ultimately affects Linux drivers as well... |
Quote:
|
Quote:
|
Yes, it is possible that you have a "fake" or a PL-2303X device which is incompatible with the pl2303 driver. They look the same to the system but will not transmit data.
|
All times are GMT -5. The time now is 12:49 PM. |