Usb-serial adapter with ch341 chip doesn’t work properly on jetson agx. I connected can-bus controller via usb-rs232 adapter to jetson, but getting only non printable ascii chars. It works properly on win 10 and desktop ubuntu 18.04.
System: L4T 32.4.4.
For example, in python with pyserial lib on PC i’m getting “S123F00 C0165010.000 E0012143.0 R077.0 H1200 j060 ZCA94 \r\n” from controller. On jetson i got in hexadecimal 6 strings: ‘0212090202020501020a’, ‘120a’, ‘13120902120513130902020512020202120a’, ‘1302120d0505130a’, ‘080113051a12060102021a010a’, ‘130d0a’.
dmesg log:
[18668.694745] usb 1-4.4: new full-speed USB device number 25 using tegra-xusb
[18668.715721] usb 1-4.4: New USB device found, idVendor=1a86, idProduct=7523
[18668.715728] usb 1-4.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[18668.715731] usb 1-4.4: Product: USB2.0-Ser!
[18668.716561] ch341 1-4.4:1.0: ch341-uart converter detected
[18668.717750] usb 1-4.4: ch341-uart converter now attached to ttyUSB1
I also tried to patch ch341.c as was mentioned in one topic here on forum, but nothing changed and i dont think it was necessary as kernel version is 4.9.