Hello Aleksander, Thank you very much for your answers and kind reactions. I also wish to let you connect to our device so that you can look at it directly but I think to let you do this level of favor I think I at least need to check and make sure as much as possible myself first.
With your answers I learned that our modem might not work with ModemManager well because it uses not-yet open usbnet driver from the linux kernel mainline. Hucom provided us usebnet adapter driver code and usb serial driver code. They are GPL but they didn't apply it to linux mainline kernel. So I think hucom modem is now not a trustworthy thing. We have Sierra modem. HL7528 So I tested my linux box with this modem and I received first prints below: root@LEDE:/lib/udev/rules.d# mmcli -L /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless] HL7528 root@LEDE:/lib/udev/rules.d# mmcli -m 0 ----------------------------- General | dbus path: /org/freedesktop/ModemManager1/Modem/0 | device id: a643b0bb58dac30a2cd4ff6b486e826b483d298b ----------------------------- Hardware | manufacturer: Sierra Wireless | model: HL7528 | firmware revision: THL7528_778_tb3_utp426.0.0.152000.202004221951.x7160_1 | supported: gsm-umts, lte | current: gsm-umts, lte | equipment id: 356170062941712 ----------------------------- System | device: /sys/devices/platform/1a0c0000.usb/usb1/1-2 | drivers: cdc_acm, cdc_ncm | plugin: Generic | primary port: ttyACM0 | ports: wwan3 (net), ttyACM0 (at), wwan0 (net), wwan1 (net), | wwan2 (net), ttyACM2 (at) ----------------------------- Status | state: failed | failed reason: sim-missing | power state: on | signal quality: 0% (cached) ----------------------------- Modes | supported: allowed: 2g, 3g, 4g; preferred: none | current: allowed: any; preferred: none I did this test to verify if my applying ModemManager have any issue. With this print result, can I judge that ModemManager is ported well? I from now on will test with this modem. I think I need rule file for this modem and I found one: /lib/udev/rules.d/77-mm-sierra.rules The content of this rule file: # do not edit this file, it will be overwritten on update ACTION!="add|change|move|bind", GOTO="mm_sierra_end" SUBSYSTEMS=="usb", ATTRS{idVendor}=="1199", GOTO="mm_sierra" GOTO="mm_sierra_end" LABEL="mm_sierra" SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}" # Netgear AC341U: enable connection status polling explicitly ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9057", ENV{ID_MM_QMI_CONNECTION_STATUS_POLLING_ENABLE}="1" # MC74XX: Add port hints # if 03: primary port # if 02: raw NMEA port # if 00: diag/qcdm port ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9071", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1" ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9071", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_TYPE_GPS}="1" ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9071", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_PORT_TYPE_QCDM}="1" # EM7565: Add port hints # if 03: primary port # if 02: raw NMEA port # if 00: diag/qcdm port ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9091", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1" ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9091", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_TYPE_GPS}="1" ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9091", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_PORT_TYPE_QCDM}="1" LABEL="mm_sierra_end" Is this rule file fit to my modem? Or do I need new rule file for this modem? And do I need special settings in /etc/config/network ? I know basic settings for this: config interface 'broadband' option device '/sys/devices/platform/1a0c0000.usb/usb1/1-2' option proto 'modemmanager' option apn 'w <http://5g-internet.sktelecom.com/>hatever corect apn here' option username '' option password '' option pincode '' option lowpower '1' Thank you very much! I am writing this late we had holidays. Thank you very much! Jeonghum 2020년 5월 7일 (목) 오전 3:56, Aleksander Morgado <aleksan...@aleksander.es>님이 작성: > Hey, > > > I guess I could try other LTE/5G modem. > > I'd like to know what is best supported by ModemManager or OpenWRT/LEDE. > > > > Puff, lots of different devices. If you try anything from e.g. Sierra > Wireless, Quectel, Telit... they will probably work. BUT, the issues > seen in your setup may not be directly related to the modem in use. > > > Could you please name them. Let me know some please. > > > > Thank you very much. > > > > Hucom wireless told me they don't support ModemManager. > > > > They probably don't even know what ModemManager is; but that is not a > reason not to support this device ourselves without the vendor's help. > Could you set up a public ssh connection to your system so that I can > take a look at it myself? If so, send details privately. > > -- > Aleksander > https://aleksander.es >
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel