I have a Sagem F@ST2704V2 8/16 Flash/RAM router. I had OpenWRT ver 17 installed on it earlier. Then I have a Huawei e3372 HiLink LTE modem connected to the router's USB port. In this version (17.04) everything was working fine. The lsusb command on Linux shows:
Bus 002 Device 010: ID 12d1: 14dc Huawei Technologies Co., Ltd. E33372 LTE/UMTS/GSM HiLink Modem/Networkcard
Now I changed the version of OpenWRT 19.04 and the GSM/LTE connection stopped working. It is also not visible as a disk, an SD card installed in the slot of this LTE module. After connecting this modem to the USB port, the system logs show:
Sun Jul 19 07:12:49 2020 kern.info kernel: [4588.523728] usb 1-1: new high-speed USB device number 7 using ehci-platform
Additionally, the files /sys/devices/platform/ehci-platform/usb1 also show correctly:
root @ Bioama-1: /sys/devices/platform/ehci-platform/usb1/ 1-1 # cat idVendor 12d1 root @ Bioama-1:/sys/devices/platform/ehci-platform/usb1 /1-1 # cat idProduct 14dc
usb_modeswitch is installed using the same procedure as I did in version 17.04. A probable cause is that there is no definition for the device 12d1: 14dc in the file /etc/usb-mode.json.
So what should the correct entry for this device look like in usb-mode.json? Or maybe the reason for the failure is something else? What else can I check?