Hey I have a Habaneroevaluation board connected toa Quectell RMU500 modem evaluationboard Modem manager version = 1.14.12 according to mmcli -V My feeds is according togit blame feeds.conf.default 9028d2d13bc (Aleksander Morgado 2021-09-17 14:58:52 +0200 1) src-git packages https ://<http://gitlab.com/miwire-rr/miwire-openwrt-packages-upstream.git^4d9fc7452c584739ed0b7ac4069863986a2e6293> 268557228ad (Aleksander Morgado 2020-02-12 17:37:29 +0100 2) src-git luci https ://<http://gitlab.com/miwire-rr/miwire-openwrt-luci-upstream.git^299f48b101bf7f7e6859e77c748b19b32e54bddc>33732f4a9c1 (Jo-Philipp Wich2020-02-27 22:34:09 +0100 3) src-git routing <https://git.openwrt.org/feed/routing.git^efa6e5445adda9c6545f551808829ec927cbade8>33732f4a9c1 (Jo-Philipp Wich2020-02-27 22:34:09 +0100 4) src-git telephony <https://git.openwrt.org/feed/telephony.git^6f95d6ab3f359ee2ce81c20522700937424d1591>
openWrt version is OpenWrt 19.07.2, r10947-65030d81f3After power on is sysfspathOK and I can access modem via mmcli. I reset modem by use the command mmcli -m <sysfspath>--reset According to logread -e hotplugis USB connections removed which is OK. I expect the USB connections to be re-established after a while. But nothing is re-established according to the following commands: 1.logread -e hotplug 2.dmesg | grep -i usb 3.ls -l /dev 4.ls -l <sysfspath As I read the log ModemManagerremove the USB connection at reset but do not add USB connections again Is ModemManager responsible for re-establish USB connection ? Do anyone have a method to trig re-establish of USB connection ? If Habaneroevaluation board is power up WITHOUT connection to Quectell RMU500 modem evaluationboard there is of cause no USB connections. 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. Who is responsible forcontinuously try to establish USB connection in case the connections are down. ? The following log is from logread -e hotplug 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 16:57:59 ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1> 16:57:59 ModemManager: hotplug: add serial interface ttyUSB3: event processed 16:57:59 ModemManager: hotplug: event reported: action=add, name=ttyUSB3, subsystem=tty 16:57:59 ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1> 16:58:03 ModemManager: hotplug: error: modem not detected at sysfs path 16:58:03 ModemManager: hotplug: add network interface br-lan: event processed 16:58:03 ModemManager: hotplug: event reported: action=add, name=br-lan, subsystem=net 16:58:03 ModemManager: hotplug: error: parent device sysfspath not found 16:58:03 ModemManager: hotplug: remove network interface wlan1: event processed 16:58:03 ModemManager: hotplug: event reported: action=remove, name=wlan1, subsystem=net 16:58:03 ModemManager: hotplug: remove network interface wlan0: event processed 16:58:03 ModemManager: hotplug: event reported: action=remove, name=wlan0, subsystem=net 16:58:04 ModemManager: hotplug: checking if ModemManager is available... 16:58:04 ModemManager: hotplug: cached event found: action=add, name=ttyMSM1, subsystem=tty, sysfspath=/sys/devices/platform/soc/<http://78b0000.serial/tty/ttyMSM1> 16:58:04 ModemManager: hotplug: event reported: action=add, name=ttyMSM1, subsystem=tty 16:58:04 ModemManager: hotplug: error: parent device sysfspath not found 16:58:04 ModemManager: hotplug: cached event found: action=add, name=console, subsystem=tty, sysfspath=/sys/devices/virtual/tty/console 16:58:04 ModemManager: hotplug: event reported: action=add, name=console, subsystem=tty 16:58:04 ModemManager: hotplug: error: parent device sysfspath not found 16:58:04 ModemManager: hotplug: add network interface wlan0: event processed 16:58:04 ModemManager: hotplug: event reported: action=add, name=wlan0, subsystem=net 16:58:04 ModemManager: hotplug: cached event found: action=add, name=ttyS0, subsystem=tty, sysfspath=/sys/devices/platform/serial8250/tty/ttyS0 16:58:04 ModemManager: hotplug: event reported: action=add, name=ttyS0, subsystem=tty 16:58:04 ModemManager: hotplug: error: parent device sysfspath not found 16:58:04 ModemManager: hotplug: error: parent device sysfspath not found 16:58:04 ModemManager: hotplug: cached event found: action=add, name=ttyMSM0, subsystem=tty, sysfspath=/sys/devices/platform/soc/<http://78af000.serial/tty/ttyMSM0> 16:58:04 ModemManager: hotplug: event reported: action=add, name=ttyMSM0, subsystem=tty 16:58:04 ModemManager: hotplug: error: parent device sysfspath not found 16:58:04 ModemManager: hotplug: cached event found: action=add, name=ttyS1, subsystem=tty, sysfspath=/sys/devices/platform/serial8250/tty/ttyS1 16:58:04 ModemManager: hotplug: event reported: action=add, name=ttyS1, subsystem=tty 16:58:05 ModemManager: hotplug: error: parent device sysfspath not found 16:58:05 ModemManager: hotplug: cached event found: action=add, name=wwan0, subsystem=net, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1/1-1:1.4/net/wwan0> 16:58:05 ModemManager: hotplug: event reported: action=add, name=wwan0, subsystem=net 16:58:05 ModemManager: hotplug: interface 'wan' is set to configure device '/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1>' 16:58:05 ModemManager: hotplug: now waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1> 16:58:05 ModemManager: hotplug: cached event found: action=add, name=cdc-wdm0, subsystem=usbmisc, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1/1-1:1.4/net/wwan0> 16:58:05 ModemManager: hotplug: event reported: action=add, name=cdc-wdm0, subsystem=usbmisc 16:58:05 ModemManager: hotplug: error: modem not detected at sysfs path 16:58:05 ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1> 16:58:05 ModemManager: hotplug: cached event found: action=add, name=ttyUSB0, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1/1-1:1.0/ttyUSB0/tty/ttyUSB0> 16:58:05 ModemManager: hotplug: event reported: action=add, name=ttyUSB0, subsystem=tty 16:58:05 ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1> 16:58:05 ModemManager: hotplug: add network interface wlan1: event processed 16:58:05 ModemManager: hotplug: event reported: action=add, name=wlan1, subsystem=net 16:58:05 ModemManager: hotplug: cached event found: action=add, name=ttyUSB1, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1/1-1:1.1/ttyUSB1/tty/ttyUSB1> 16:58:05 ModemManager: hotplug: event reported: action=add, name=ttyUSB1, subsystem=tty 16:58:05 ModemManager: hotplug: error: parent device sysfspath not found 16:58:05 ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1> 16:58:05 ModemManager: hotplug: cached event found: action=add, name=ttyUSB2, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1/1-1:1.2/ttyUSB2/tty/ttyUSB2> 16:58:06 ModemManager: hotplug: event reported: action=add, name=ttyUSB2, subsystem=tty 16:58:06 ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1> 16:58:06 ModemManager: hotplug: cached event found: action=add, name=ttyUSB3, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1/1-1:1.3/ttyUSB3/tty/ttyUSB3> 16:58:06 ModemManager: hotplug: event reported: action=add, name=ttyUSB3, subsystem=tty 16:58:06 ModemManager: hotplug: already waiting for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1> 16:58:06 ModemManager: hotplug: cached event found: action=add, name=br-lan, subsystem=net, sysfspath=/sys/devices/virtual/net/br-lan 16:58:06 ModemManager: hotplug: event reported: action=add, name=br-lan, subsystem=net 16:58:06 ModemManager: hotplug: error: parent device sysfspath not found 16:58:06 ModemManager: hotplug: cached event found: action=add, name=wlan0, subsystem=net, sysfspath=/sys/devices/platform/soc/<http://a000000.wifi/net/wlan0> 16:58:06 ModemManager: hotplug: event reported: action=add, name=wlan0, subsystem=net 16:58:06 ModemManager: hotplug: error: parent device sysfspath not found 16:58:06 ModemManager: hotplug: cached event found: action=add, name=wlan1, subsystem=net, sysfspath=/sys/devices/platform/soc/<http://a800000.wifi/net/wlan1> 16:58:06 ModemManager: hotplug: event reported: action=add, name=wlan1, subsystem=net 16:58:06 ModemManager: hotplug: error: parent device sysfspath not found 16:58:08 ModemManager: hotplug: error: modem not detected at sysfs path 16:58:10 ModemManager: hotplug: error: modem not detected at sysfs path 16:58:13 ModemManager: hotplug: error: modem not detected at sysfs path 16:58:15 ModemManager: hotplug: error: modem not detected at sysfs path 16:58:18 ModemManager: hotplug: error: modem not detected at sysfs path 16:58:19 ModemManager: hotplug: remove network interface wlan1: event processed 16:58:19 ModemManager: hotplug: event reported: action=remove, name=wlan1, subsystem=net 16:58:20 ModemManager: hotplug: add network interface wlan1: event processed 16:58:20 ModemManager: hotplug: event reported: action=add, name=wlan1, subsystem=net 16:58:20 ModemManager: hotplug: error: parent device sysfspath not found 16:58:20 ModemManager: hotplug: error: modem not detected at sysfs path 16:58:23 ModemManager: hotplug: modem exported successfully at /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1> 16:58:23 ModemManager: hotplug: setting interface 'wan' as available 16:58:25 ModemManager: hotplug: modem exported successfully at /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/<http://xhci-hcd.0.auto/usb1/1-1> 16:58:25 ModemManager: hotplug: setting interface 'wan' as available 16:58:27 ModemManager: hotplug: remove network interface wlan0: event processed 16:58:27 ModemManager: hotplug: event reported: action=remove, name=wlan0, subsystem=net 16:58:28 ModemManager: hotplug: add network interface wlan0: event processed 16:58:28 ModemManager: hotplug: event reported: action=add, name=wlan0, subsystem=net 16:58:28 ModemManager: hotplug: error: parent device sysfspath not found Now modem is reset 17:02:34 ModemManager: hotplug: remove serial interface ttyUSB0: event processed 17:02:34 ModemManager: hotplug: event reported: action=remove, name=ttyUSB0, subsystem=tty 17:02:35 ModemManager: hotplug: remove serial interface ttyUSB1: event processed 17:02:35 ModemManager: hotplug: event reported: action=remove, name=ttyUSB1, subsystem=tty 17:02:35 ModemManager: hotplug: remove serial interface ttyUSB2: event processed 17:02:35 ModemManager: hotplug: event reported: action=remove, name=ttyUSB2, subsystem=tty 17:02:35 ModemManager: hotplug: remove serial interface ttyUSB3: event processed 17:02:35 ModemManager: hotplug: event reported: action=remove, name=ttyUSB3, subsystem=tty 17:02:39 ModemManager: hotplug: remove network interface wwan0: event processed 17:02:39 ModemManager: hotplug: event reported: action=remove, name=wwan0, subsystem=net 17:02:40 ModemManager: hotplug: remove cdc interface cdc-wdm0: custom event processed 17:02:40 ModemManager: hotplug: event reported: action=remove, name=cdc-wdm0, subsystem=usbmisc 17:02:40 ModemManager: hotplug: setting interface 'wan' as unavailable