<div dir="ltr">Hello Aleksander,<div><br></div><div>Thank you very much for your answers and kind reactions.</div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>So I think hucom modem is now not a trustworthy thing.</div><div><br></div><div>We have Sierra modem. HL7528</div><div>So I tested my linux box with this modem and I received first prints below:</div><div><br></div><div>root@LEDE:/lib/udev/rules.d# mmcli -L<br> /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless] HL7528<br>root@LEDE:/lib/udev/rules.d# mmcli -m 0<br> -----------------------------<br> General | dbus path: /org/freedesktop/ModemManager1/Modem/0<br> | device id: a643b0bb58dac30a2cd4ff6b486e826b483d298b<br> -----------------------------<br> Hardware | manufacturer: Sierra Wireless<br> | model: HL7528<br> | firmware revision: THL7528_778_tb3_utp426.0.0.152000.202004221951.x7160_1<br> | supported: gsm-umts, lte<br> | current: gsm-umts, lte<br> | equipment id: 356170062941712<br> -----------------------------<br> System | device: /sys/devices/platform/1a0c0000.usb/usb1/1-2<br> | drivers: cdc_acm, cdc_ncm<br> | plugin: Generic<br> | primary port: ttyACM0<br> | ports: wwan3 (net), ttyACM0 (at), wwan0 (net), wwan1 (net),<br> | wwan2 (net), ttyACM2 (at)<br> -----------------------------<br> Status | state: failed<br> | failed reason: sim-missing<br> | power state: on<br> | signal quality: 0% (cached)<br> -----------------------------<br> Modes | supported: allowed: 2g, 3g, 4g; preferred: none<br> | current: allowed: any; preferred: none<br></div><div><br></div><div>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?</div><div><br></div><div>I from now on will test with this modem. I think I need rule file for this modem and I found one:</div><div>/lib/udev/rules.d/77-mm-sierra.rules<br></div><div><br></div><div>The content of this rule file:</div><div><br></div><div># do not edit this file, it will be overwritten on update<br>ACTION!="add|change|move|bind", GOTO="mm_sierra_end"<br>SUBSYSTEMS=="usb", ATTRS{idVendor}=="1199", GOTO="mm_sierra"<br>GOTO="mm_sierra_end"<br><br>LABEL="mm_sierra"<br>SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}"<br><br># Netgear AC341U: enable connection status polling explicitly<br>ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9057", ENV{ID_MM_QMI_CONNECTION_STATUS_POLLING_ENABLE}="1"<br><br># MC74XX: Add port hints<br># if 03: primary port<br># if 02: raw NMEA port<br># if 00: diag/qcdm port<br>ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9071", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"<br>ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9071", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_TYPE_GPS}="1"<br>ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9071", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_PORT_TYPE_QCDM}="1"<br><br># EM7565: Add port hints<br># if 03: primary port<br># if 02: raw NMEA port<br># if 00: diag/qcdm port<br>ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9091", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"<br>ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9091", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_TYPE_GPS}="1"<br>ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9091", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_PORT_TYPE_QCDM}="1"<br><br>LABEL="mm_sierra_end"<br></div><div><br></div><div><br></div><div>Is this rule file fit to my modem?</div><div>Or do I need new rule file for this modem?</div><div><br></div><div>And do I need special settings in /etc/config/network ? I know basic settings for this:</div><div>config interface 'broadband'<br></div><div> option device '/sys/devices/platform/1a0c0000.usb/usb1/1-2'<br> option proto 'modemmanager'<span class="gmail-im" style="color:rgb(80,0,80)"><br> option apn '<a href="http://5g-internet.sktelecom.com/" target="_blank">w</a>hatever corect apn here'<br> option username ''<br> option password ''<br> option pincode ''<br> option lowpower '1'</span> <br></div><div><br></div><div>Thank you very much!</div><div>I am writing this late we had holidays.</div><div><br></div><div>Thank you very much!</div><div><br></div><div>Jeonghum</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2020년 5월 7일 (목) 오전 3:56, Aleksander Morgado <<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>>님이 작성:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey,<br>
<br>
> I guess I could try other LTE/5G modem.<br>
> I'd like to know what is best supported by ModemManager or OpenWRT/LEDE.<br>
><br>
<br>
Puff, lots of different devices. If you try anything from e.g. Sierra<br>
Wireless, Quectel, Telit... they will probably work. BUT, the issues<br>
seen in your setup may not be directly related to the modem in use.<br>
<br>
> Could you please name them. Let me know some please.<br>
><br>
> Thank you very much.<br>
><br>
> Hucom wireless told me they don't support ModemManager.<br>
><br>
<br>
They probably don't even know what ModemManager is; but that is not a<br>
reason not to support this device ourselves without the vendor's help.<br>
Could you set up a public ssh connection to your system so that I can<br>
take a look at it myself? If so, send details privately.<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</blockquote></div></div>