I have a PL-2303 USB-to-serial cable plugged into my Raspberry Pi via the USB port, which is then connected to a serial device.
However, the Raspberry Pi is unable to read any data coming from the serial device, even with baudrates set properly.
I've confirmed that the cable and the serial device still work - both work just fine on my Ubuntu laptop, it's just the Pi that is misbehaving.
I'm running a Pi B+ with the latest version of Raspbian Lite. I am providing the Pi with a solid tested power supply, so I'm not sure what to do.
dmesg output:
[ 793.860807] usb 1-1.2: new full-speed USB device number 5 using dwc_otg
[ 793.993394] usb 1-1.2: New USB device found, idVendor=067b, idProduct=2303
[ 793.993421] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 793.993432] usb 1-1.2: Product: USB-Serial Controller
[ 793.993441] usb 1-1.2: Manufacturer: Prolific Technology Inc.
[ 794.009235] pl2303 1-1.2:1.0: pl2303 converter detected
[ 794.015475] usb 1-1.2: pl2303 converter now attached to ttyUSB0
Output of stty -F /dev/ttyUSB0:
speed 9600 baud; line = 0;
kill = ^H; min = 1; time = 5;
ignbrk -brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
If possible, I'd like to avoid using my Pi's builtin serial port. Therefore, I'd like to get this working. Is there anything I can try?
lsof | grep USB0– tc0nn Oct 06 '23 at 16:17