Hi all! I have a thermal printer, connected to the rock pi 4b+ with FTDI adapter.
(Works with rpi1-2-3-4 and rockpi4b+ with debian and armbian)
dmesg doesn’t show error:
dmesg | grep ttyUSB
[ 10.286633] usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0
dmesg | grep "usb 3-1"
[ 669.368137] usb 3-1: new full-speed USB device number 2 using ohci-platform
[ 669.650321] usb 3-1: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[ 669.650343] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 669.650348] usb 3-1: Product: FT232R USB UART
[ 669.650353] usb 3-1: Manufacturer: FTDI
[ 669.650357] usb 3-1: SerialNumber: AH05G9XR
[ 669.656645] usb 3-1: Detected FT232RL
[ 669.664043] usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0
cat /sys/kernel/debug/usb/devices|grep FTDI -A 7
S: Manufacturer=FTDI
S: Product=FT232R USB UART
S: SerialNumber=AH05G9XR
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 90mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
My init:
sudo stty -F /dev/ttyUSB0 cs8 1500000 -brkint -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echoctl -echoke noflsh ixon crtscts
And printing (“2col” is a printable byte array)
echo 2col > /dev/ttyUSB0
And doest nothing. Any tipp?
Thank you!