<p class="MsoNormal" style="margin-bottom: 0cm;"><span style="mso-ansi-language: EN-US;" lang="EN-US"></span><br></p><div>Hey<br></div><div><span style="mso-ansi-language: EN-US;" lang="EN-US">I have a Habanero<span style="mso-spacerun: yes;">  </span>evaluation board connected to<span style="mso-spacerun: yes;">  </span>a Quectell RMU500 <span style="mso-spacerun: yes;"> </span>modem <span style="mso-spacerun: yes;"> </span>evaluation<span style="mso-spacerun: yes;">  </span>board</span><br></div><div>Modem manager
version = 1.14.12 according to mmcli -V<br></div><div><span style="mso-ansi-language: EN-US;" lang="EN-US">My feeds <span style="mso-spacerun: yes;"> </span>is according to  </span>git blame feeds.conf.default<br></div><span lang="en-DK"><div><span style="mso-spacerun: yes;">     </span>9028d2d13bc (Aleksander Morgado 2021-09-17
14:58:52 +0200 1) src-git packages https<br></div><div>             ://<a href="http://gitlab.com/miwire-rr/miwire-openwrt-packages-upstream.git^4d9fc7452c584739ed0b7ac4069863986a2e6293">gitlab.com/miwire-rr/miwire-openwrt-packages-upstream.git^4d9fc7452c584739ed0b7ac4069863986a2e6293</a><br></div><div><span style="mso-spacerun: yes;">     </span>268557228ad (Aleksander Morgado 2020-02-12
17:37:29 +0100 2) src-git luci https<br></div><div>             ://<a href="http://gitlab.com/miwire-rr/miwire-openwrt-luci-upstream.git^299f48b101bf7f7e6859e77c748b19b32e54bddc">gitlab.com/miwire-rr/miwire-openwrt-luci-upstream.git^299f48b101bf7f7e6859e77c748b19b32e54bddc</a><br></div></span><div><span lang="en-DK"><span style="mso-spacerun: yes;">     </span>33732f4a9c1 (Jo-Philipp Wich<span style="mso-spacerun: yes;">    </span>2020-02-27 22:34:09 +0100 3) src-git
routing </span><br></div><span style="mso-ansi-language: EN-US;" lang="EN-US"><div><span style="mso-spacerun: yes;">             </span><a href="https://git.openwrt.org/feed/routing.git^efa6e5445adda9c6545f551808829ec927cbade8">https://git.openwrt.org/feed/routing.git^efa6e5445adda9c6545f551808829ec927cbade8</a><br></div></span><div><span lang="en-DK"><span style="mso-spacerun: yes;">     </span>33732f4a9c1 (Jo-Philipp Wich<span style="mso-spacerun: yes;">    </span>2020-02-27 22:34:09 +0100 4) src-git
telephony </span><br></div><span style="mso-ansi-language: EN-US;" lang="EN-US"><div><span style="mso-spacerun: yes;"> </span>            <a href="https://git.openwrt.org/feed/telephony.git^6f95d6ab3f359ee2ce81c20522700937424d1591">https://git.openwrt.org/feed/telephony.git^6f95d6ab3f359ee2ce81c20522700937424d1591</a><br></div><div><br></div><div>openWrt version
is<br></div><div><span style="mso-spacerun: yes;">       </span>OpenWrt 19.07.2, r10947-65030d81f3<br></div><div> <span style="mso-ansi-language: EN-US;" lang="EN-US"></span><br></div></span><div><span style="mso-ansi-language: EN-US;" lang="EN-US">After power on is sysfspath </span>OK and I can access modem via mmcli.<br></div><div><span style="mso-ansi-language: EN-US;" lang="EN-US">I reset modem by use the command mmcli -m <sysfspath>   </span>--reset<br></div><div><span style="mso-ansi-language: EN-US;" lang="EN-US">According to logread -e hotplug </span>is USB connections removed which is
OK. <br></div><div>I expect the USB connections to be re-established after a while. <br></div><div>But
nothing is re-established according to the following commands:<br></div><div><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-ansi-language: EN-US;" lang="EN-US"><span style="mso-list: Ignore;">     1.<span class="font" style="font-family: "Times New Roman";"><span class="size" style="font-size: 7pt;">       </span></span></span>logread -e hotplug</span><br></div><span style="mso-ansi-language: EN-US;" lang="EN-US"><div><span style="mso-spacerun: yes;"><span style="mso-list: Ignore;">     2.<span class="font" style="font-family: "Times New Roman";"><span class="size" style="font-size: 7pt;">       </span></span></span></span>dmesg
| grep -i usb <br></div><div><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-ansi-language: EN-US;" lang="EN-US"><span style="mso-list: Ignore;">     3.<span class="font" style="font-family: "Times New Roman";"><span class="size" style="font-size: 7pt;">       </span></span></span></span>ls
-l <span style="mso-spacerun: yes;"> </span>/dev<br></div><div><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-ansi-language: EN-US;" lang="EN-US"><span style="mso-list: Ignore;">     4.<span class="font" style="font-family: "Times New Roman";"><span class="size" style="font-size: 7pt;">       </span></span></span>ls
-l <sysfspath</span><br></div></span><div><br></div><p><span lang="en-DK"></span>As I read the log
ModemManager<span style="mso-spacerun: yes;">  </span>remove the USB connection
at reset but do not add USB connections again<br></p><div>Is  ModemManager responsible for re-establish  USB connection  ?<br></div><div>Do anyone have a method to trig   re-establish of USB connection ?<br></div><div>If <span style="mso-ansi-language: EN-US;" lang="EN-US">Habanero<span style="mso-spacerun: yes;">  </span>evaluation board is power up WITHOUT connection to Quectell RMU500 <span style="mso-spacerun: yes;"> </span>modem <span style="mso-spacerun: yes;"> </span>evaluation<span style="mso-spacerun: yes;">  </span>board there is of cause no USB connections. </span><br></div><div><span style="mso-ansi-language: EN-US;" lang="EN-US">But I expect the connection to pop up at plug in the USB cable which connect the two boards.  But the situation is exactly the same as after reset of modem.</span><br></div><div><span style="mso-ansi-language: EN-US;" lang="EN-US">Who is responsible for </span>continuously try to establish  USB connection in case the connections are down. ?<br></div><div><br></div><div><br></div><div>The following log
is from logread -e hotplug<span style="mso-ansi-language: EN-US;" lang="EN-US"></span><br></div><div>16:57:59  kernel: [   15.290512] Modules linked in: i2c_gpio_custom(+) i2c_gpio i2c_algo_bit nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 vfat fat nls_utf8 nls_iso8859_1 nls_cp437 sdhci_msm mmc_block usb_storage sdhci_pltfm sdhci mmc_core leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_pci ohci_platform ohci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 mbcache jbd2 mii crc32c_generic<br></div><div>16:57:59  ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1">xhci-hcd.0.auto/usb1/1-1</a><br></div><div>16:57:59  ModemManager: hotplug: add serial interface ttyUSB3: event processed<br></div><div>16:57:59  ModemManager: hotplug: event reported: action=add, name=ttyUSB3, subsystem=tty<br></div><div>16:57:59  ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1">xhci-hcd.0.auto/usb1/1-1</a><br></div><div>16:58:03  ModemManager: hotplug: error: modem not detected at sysfs path<br></div><div>16:58:03  ModemManager: hotplug: add network interface br-lan: event processed<br></div><div>16:58:03  ModemManager: hotplug: event reported: action=add, name=br-lan, subsystem=net<br></div><div>16:58:03  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:03  ModemManager: hotplug: remove network interface wlan1: event processed<br></div><div>16:58:03  ModemManager: hotplug: event reported: action=remove, name=wlan1, subsystem=net<br></div><div>16:58:03  ModemManager: hotplug: remove network interface wlan0: event processed<br></div><div>16:58:03  ModemManager: hotplug: event reported: action=remove, name=wlan0, subsystem=net<br></div><div>16:58:04  ModemManager: hotplug: checking if ModemManager is available...<br></div><div>16:58:04  ModemManager: hotplug: cached event found: action=add, name=ttyMSM1, subsystem=tty, sysfspath=/sys/devices/platform/soc/<a href="http://78b0000.serial/tty/ttyMSM1">78b0000.serial/tty/ttyMSM1</a><br></div><div>16:58:04  ModemManager: hotplug: event reported: action=add, name=ttyMSM1, subsystem=tty<br></div><div>16:58:04  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:04  ModemManager: hotplug: cached event found: action=add, name=console, subsystem=tty, sysfspath=/sys/devices/virtual/tty/console<br></div><div>16:58:04  ModemManager: hotplug: event reported: action=add, name=console, subsystem=tty<br></div><div>16:58:04  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:04  ModemManager: hotplug: add network interface wlan0: event processed<br></div><div>16:58:04  ModemManager: hotplug: event reported: action=add, name=wlan0, subsystem=net<br></div><div>16:58:04  ModemManager: hotplug: cached event found: action=add, name=ttyS0, subsystem=tty, sysfspath=/sys/devices/platform/serial8250/tty/ttyS0<br></div><div>16:58:04  ModemManager: hotplug: event reported: action=add, name=ttyS0, subsystem=tty<br></div><div>16:58:04  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:04  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:04  ModemManager: hotplug: cached event found: action=add, name=ttyMSM0, subsystem=tty, sysfspath=/sys/devices/platform/soc/<a href="http://78af000.serial/tty/ttyMSM0">78af000.serial/tty/ttyMSM0</a><br></div><div>16:58:04  ModemManager: hotplug: event reported: action=add, name=ttyMSM0, subsystem=tty<br></div><div>16:58:04  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:04  ModemManager: hotplug: cached event found: action=add, name=ttyS1, subsystem=tty, sysfspath=/sys/devices/platform/serial8250/tty/ttyS1<br></div><div>16:58:04  ModemManager: hotplug: event reported: action=add, name=ttyS1, subsystem=tty<br></div><div>16:58:05  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:05  ModemManager: hotplug: cached event found: action=add, name=wwan0, subsystem=net, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1/1-1:1.4/net/wwan0">xhci-hcd.0.auto/usb1/1-1/1-1:1.4/net/wwan0</a><br></div><div>16:58:05  ModemManager: hotplug: event reported: action=add, name=wwan0, subsystem=net<br></div><div>16:58:05  ModemManager: hotplug: interface 'wan' is set to configure device '/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1">xhci-hcd.0.auto/usb1/1-1</a>'<br></div><div>16:58:05  ModemManager: hotplug: now waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1">xhci-hcd.0.auto/usb1/1-1</a><br></div><div>16:58:05  ModemManager: hotplug: cached event found: action=add, name=cdc-wdm0, subsystem=usbmisc, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1/1-1:1.4/net/wwan0">xhci-hcd.0.auto/usb1/1-1/1-1:1.4/net/wwan0</a><br></div><div>16:58:05  ModemManager: hotplug: event reported: action=add, name=cdc-wdm0, subsystem=usbmisc<br></div><div>16:58:05  ModemManager: hotplug: error: modem not detected at sysfs path<br></div><div>16:58:05  ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1">xhci-hcd.0.auto/usb1/1-1</a><br></div><div>16:58:05  ModemManager: hotplug: cached event found: action=add, name=ttyUSB0, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1/1-1:1.0/ttyUSB0/tty/ttyUSB0">xhci-hcd.0.auto/usb1/1-1/1-1:1.0/ttyUSB0/tty/ttyUSB0</a><br></div><div>16:58:05  ModemManager: hotplug: event reported: action=add, name=ttyUSB0, subsystem=tty<br></div><div>16:58:05  ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1">xhci-hcd.0.auto/usb1/1-1</a><br></div><div>16:58:05  ModemManager: hotplug: add network interface wlan1: event processed<br></div><div>16:58:05  ModemManager: hotplug: event reported: action=add, name=wlan1, subsystem=net<br></div><div>16:58:05  ModemManager: hotplug: cached event found: action=add, name=ttyUSB1, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1/1-1:1.1/ttyUSB1/tty/ttyUSB1">xhci-hcd.0.auto/usb1/1-1/1-1:1.1/ttyUSB1/tty/ttyUSB1</a><br></div><div>16:58:05  ModemManager: hotplug: event reported: action=add, name=ttyUSB1, subsystem=tty<br></div><div>16:58:05  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:05  ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1">xhci-hcd.0.auto/usb1/1-1</a><br></div><div>16:58:05  ModemManager: hotplug: cached event found: action=add, name=ttyUSB2, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1/1-1:1.2/ttyUSB2/tty/ttyUSB2">xhci-hcd.0.auto/usb1/1-1/1-1:1.2/ttyUSB2/tty/ttyUSB2</a><br></div><div>16:58:06  ModemManager: hotplug: event reported: action=add, name=ttyUSB2, subsystem=tty<br></div><div>16:58:06  ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1">xhci-hcd.0.auto/usb1/1-1</a><br></div><div>16:58:06  ModemManager: hotplug: cached event found: action=add, name=ttyUSB3, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1/1-1:1.3/ttyUSB3/tty/ttyUSB3">xhci-hcd.0.auto/usb1/1-1/1-1:1.3/ttyUSB3/tty/ttyUSB3</a><br></div><div>16:58:06  ModemManager: hotplug: event reported: action=add, name=ttyUSB3, subsystem=tty<br></div><div>16:58:06  ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1">xhci-hcd.0.auto/usb1/1-1</a><br></div><div>16:58:06  ModemManager: hotplug: cached event found: action=add, name=br-lan, subsystem=net, sysfspath=/sys/devices/virtual/net/br-lan<br></div><div>16:58:06  ModemManager: hotplug: event reported: action=add, name=br-lan, subsystem=net<br></div><div>16:58:06  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:06  ModemManager: hotplug: cached event found: action=add, name=wlan0, subsystem=net, sysfspath=/sys/devices/platform/soc/<a href="http://a000000.wifi/net/wlan0">a000000.wifi/net/wlan0</a><br></div><div>16:58:06  ModemManager: hotplug: event reported: action=add, name=wlan0, subsystem=net<br></div><div>16:58:06  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:06  ModemManager: hotplug: cached event found: action=add, name=wlan1, subsystem=net, sysfspath=/sys/devices/platform/soc/<a href="http://a800000.wifi/net/wlan1">a800000.wifi/net/wlan1</a><br></div><div>16:58:06  ModemManager: hotplug: event reported: action=add, name=wlan1, subsystem=net<br></div><div>16:58:06  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:08  ModemManager: hotplug: error: modem not detected at sysfs path<br></div><div>16:58:10  ModemManager: hotplug: error: modem not detected at sysfs path<br></div><div>16:58:13  ModemManager: hotplug: error: modem not detected at sysfs path<br></div><div>16:58:15  ModemManager: hotplug: error: modem not detected at sysfs path<br></div><div>16:58:18  ModemManager: hotplug: error: modem not detected at sysfs path<br></div><div>16:58:19  ModemManager: hotplug: remove network interface wlan1: event processed<br></div><div>16:58:19  ModemManager: hotplug: event reported: action=remove, name=wlan1, subsystem=net<br></div><div>16:58:20  ModemManager: hotplug: add network interface wlan1: event processed<br></div><div>16:58:20  ModemManager: hotplug: event reported: action=add, name=wlan1, subsystem=net<br></div><div>16:58:20  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>16:58:20  ModemManager: hotplug: error: modem not detected at sysfs path<br></div><div>16:58:23  ModemManager: hotplug: modem exported successfully at /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1">xhci-hcd.0.auto/usb1/1-1</a><br></div><div>16:58:23  ModemManager: hotplug: setting interface 'wan' as available<br></div><div>16:58:25  ModemManager: hotplug: modem exported successfully at /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<a href="http://xhci-hcd.0.auto/usb1/1-1">xhci-hcd.0.auto/usb1/1-1</a><br></div><div>16:58:25  ModemManager: hotplug: setting interface 'wan' as available<br></div><div>16:58:27  ModemManager: hotplug: remove network interface wlan0: event processed<br></div><div>16:58:27  ModemManager: hotplug: event reported: action=remove, name=wlan0, subsystem=net<br></div><div>16:58:28  ModemManager: hotplug: add network interface wlan0: event processed<br></div><div>16:58:28  ModemManager: hotplug: event reported: action=add, name=wlan0, subsystem=net<br></div><div>16:58:28  ModemManager: hotplug: error: parent device sysfspath not found<br></div><div>         Now modem is reset<br></div><div>17:02:34  ModemManager: hotplug: remove serial interface ttyUSB0: event processed<br></div><div>17:02:34  ModemManager: hotplug: event reported: action=remove, name=ttyUSB0, subsystem=tty<br></div><div>17:02:35  ModemManager: hotplug: remove serial interface ttyUSB1: event processed<br></div><div>17:02:35  ModemManager: hotplug: event reported: action=remove, name=ttyUSB1, subsystem=tty<br></div><div>17:02:35  ModemManager: hotplug: remove serial interface ttyUSB2: event processed<br></div><div>17:02:35  ModemManager: hotplug: event reported: action=remove, name=ttyUSB2, subsystem=tty<br></div><div>17:02:35  ModemManager: hotplug: remove serial interface ttyUSB3: event processed<br></div><div>17:02:35  ModemManager: hotplug: event reported: action=remove, name=ttyUSB3, subsystem=tty<br></div><div>17:02:39  ModemManager: hotplug: remove network interface wwan0: event processed<br></div><div>17:02:39  ModemManager: hotplug: event reported: action=remove, name=wwan0, subsystem=net<br></div><div>17:02:40  ModemManager: hotplug: remove cdc interface cdc-wdm0: custom event processed<br></div><div>17:02:40  ModemManager: hotplug: event reported: action=remove, name=cdc-wdm0, subsystem=usbmisc<br></div><div>17:02:40  ModemManager: hotplug: setting interface 'wan' as unavailable <br></div><p><br></p><p class="MsoNormal" style="margin-bottom: 0cm;"><span style="mso-ansi-language: EN-US;" lang="EN-US"></span><br></p><div> <br></div><p><br></p><div><br></div>