Hi there!
First step:
root@OpenWrt:~# opkg update && opkg install usbutils
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/targets/ar71xx/generic/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/targets/ar71xx/generic/packages/Packages.sig Signature check passed.
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/base/Packages.sig Signature check passed.
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/luci/Packages.sig Signature check passed.
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/packages/Packages.sig Signature check passed.
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/routing/Packages.sig Signature check passed.
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/telephony/Packages.sig Signature check passed.
Installing usbutils (007-7) to root...
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/base/usbutils_007-7_mips_24kc.ipk Installing librt (1.1.19-1) to root...
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/targets/ar71xx/generic/packages/librt_1.1.19-1_mips_24kc.ipk Installing libusb-1.0 (1.0.22-1) to root...
Downloading hxxp://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/base/libusb-1.0_1.0.22-1_mips_24kc.ipk Configuring librt.
Configuring libusb-1.0.
Configuring usbutils.
Next step is: "opkg install kmod-usb-serial-ch341"
...but it does not work. /dev/ttyUSB0 is available, but it does not work with ANY terminal software. Settings are OK: 9600b, 8n1, no flow control. I want to control the open boot prompt (OPB) of an old Sun SPARC machine.
But the terminal software (every one) has problems, the cursor moves on several lines and positions, when i try to quit the terminal i get some weird characters on it.
kmod-usb-serial-ch341 and it's dependencies was installed successfully too...
maybe i need to compile my own kernel module with "ch341.c" or something like that, there seems to be no workaround for that problem.
Does somebody know more about that issue?
Kernel messages:
[ 1318.205853] usb 1-1.2: USB disconnect, device number 3
[ 1318.267830] usb 1-1.2: ch341_read_int_callback - usb_submit_urb failed: -19
[ 1318.351850] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 1318.442565] ch341 1-1.2:1.0: device disconnected
[ 2317.922108] usb 1-1.1: new full-speed USB device number 4 using ehci-platform
[ 2318.154669] ch341 1-1.1:1.0: ch341-uart converter detected
[ 2318.242631] usb 1-1.1: ch341-uart converter now attached to ttyUSB0
[ 3211.838309] usb 1-1.1: USB disconnect, device number 4
[ 3211.900116] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 3211.990849] ch341 1-1.1:1.0: device disconnected
[ 3218.274367] usb 1-1.1: new high-speed USB device number 5 using ehci-platform
[ 3225.193918] usb 1-1.2: new full-speed USB device number 6 using ehci-platform
[ 3225.426458] ch341 1-1.2:1.0: ch341-uart converter detected
[ 3225.514616] usb 1-1.2: ch341-uart converter now attached to ttyUSB0
[ 3592.915446] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[ 3593.012576] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[ 3593.110928] usb 1-1.2: USB disconnect, device number 6
[ 3593.172635] usb 1-1.2: ch341_read_int_callback - usb_submit_urb failed: -19
[ 3593.256428] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 3593.347093] ch341 1-1.2:1.0: device disconnected
[ 3601.214305] usb 1-1.1: USB disconnect, device number 5
[ 3604.326772] usb 1-1.1: new full-speed USB device number 7 using ehci-platform
[ 3604.559237] ch341 1-1.1:1.0: ch341-uart converter detected
[ 3604.647113] usb 1-1.1: ch341-uart converter now attached to ttyUSB0
Thank you for your feedbacks!
With best regards,
Jan