Hi,
This has been a problem for years. I’ve asked about it here and in gl.inet forums before.
The devices are currently running openwrt 22.03.3. I only use command line, I do not use GUI.
The problem has something to do with tty to USB between the routers.
The ar300 sees the device and can use it.
$ lsusb
Bus 001 Device 002: ID 0590:00d4 OMRON temp sensor
Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.161 ehci_hcd EHCI Host Controller
The first device is the one I’m trying to get to work on the mango.
The FTDI package and others must be installed for this device to work.
These packages installed on both as the usb sensor needs them;
kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-uhci
I do have usbutils installed.
I also have to run the following commands;
modprobe ftdi_sio # One time
echo 0590 00d4 > /sys/bus/usb-serial/drivers/ftdi_sio/new_id
After doing this, both the ar and the mt300 show the correct result;
$ cat /sys/bus/usb-serial/drivers/ftdi_sio/new_id
0590 00d4
However and this is where the problem lies, when I connect the device to the ar, the correct ttyUSB0 shows up in /dev but it never shows up on the mt.
crw-rw---- 1 root dialout 188, 0 Jan 10 16:06 ttyUSB0
On the mt300, plugging in before powering up, or after power up or rebooting, it never sees it.
In logread, this is all I see, no temp sensor.
usbcore: registered new interface driver ftdi_sio
[ 17.442745] usbserial: USB Serial support registered for FTDI USB Serial Device
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.161 ehci_hcd EHCI Host Controller
$ lsusb -d 0590:00d4 -v
Gives nothing what so ever.
Nothing in the logread either, nor dmesg.