ch341.ko serial USB driver is missing in extras-arm

Issue #261 invalid
desert kun created an issue

Version 2022.6 on Asus RT-AC68U V3

freshtomato-RT-AC68U-ARM_NG-2022.6-AIO-64K

I need to monitor an inverter, which has USB port, which is a serial USB over driver ch341.ko, so testing on windows/mac I can connect.

I can’t obtain the tty to it, because the extras https://freshtomato.org/downloads/freshtomato-arm/2022/2022.6/K26ARM/extras-arm.tar.gz doesn’t contain the driver needed (ch341.ko)

https://freshtomato.org/downloads/freshtomato-mips/2022/2022.6/K26/extras-mips2.tar.gz for example, does contain it.

How can I build one? I live in an area with constant power outages (guess where) and need to monitor my battery status preferably by the router itself.

root@unknown:/opt/extras# ls /dev/tty*
/dev/tty /dev/ttyS0 /dev/ttyS1
root@unknown:/opt/extras# ls /dev/usb*
/dev/usb1 /dev/usb3 /dev/usbdev2.1 /dev/usbdev3.1 /dev/usbdev3.3
/dev/usb2 /dev/usbdev1.1 /dev/usbdev2.2 /dev/usbdev3.2
root@unknown:/opt/extras# lsusb
Bus 001 Device 001: ID 1d6b:0003
Bus 002 Device 001: ID 1d6b:0002
Bus 002 Device 002: ID 058f:6387
Bus 003 Device 001: ID 1d6b:0001
Bus 003 Device 003: ID 1a86:7523 <<<<<< this is the one
root@unknown:/opt/extras# lsmod
Module Size Used by Tainted: P
xhci_hcd 51128 0
xt_hl 890 0
xt_HL 1396 1
jffs2 91266 1
zlib_deflate 19757 1 jffs2
ip6table_mangle 1059 0
ip6table_filter 895 0
xt_recent 7136 2
xt_DSCP 1474 1
wl 4208801 0
dpsta 14556 1 wl
ohci_hcd 17926 0
ehci_hcd 32414 0
tntfs 439769 0
vfat 8509 0
fat 43022 1 vfat
ext4 221882 1
crc16 1007 1 ext4
jbd2 48989 1 ext4
mbcache 4599 1 ext4
usb_storage 34290 1
sd_mod 21995 2
scsi_wait_scan 416 0
scsi_mod 108730 2 usb_storage,sd_mod
usbcore 103389 5 xhci_hcd,ohci_hcd,ehci_hcd,usb_storage
nf_nat_pptp 1598 0
nf_conntrack_pptp 3363 1 nf_nat_pptp
nf_nat_proto_gre 887 1 nf_nat_pptp
nf_conntrack_proto_gre 3320 1 nf_conntrack_pptp
nf_nat_ftp 1144 0
nf_conntrack_ftp 4909 1 nf_nat_ftp
nf_nat_h323 4761 0
nf_conntrack_h323 33807 1 nf_nat_h323
et 65158 0
igs 11927 1 wl
emf 15397 2 wl,igs

Would very much appreciate any info.

Comments (3)

  1. Log in to comment