Skip to content
Snippets Groups Projects

mm-modem-helpers-ublox: added support for ublox LARA-R6001 / LARA-R6001D modules

Merged Kristian Sloth Lauszus requested to merge Lauszus/ModemManager:lara-r6001 into main
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Kristian Sloth Lauszus changed title from Added support for the ublox LARA-R6001 / LARA-R6001D modules to Added support for ublox LARA-R6001 / LARA-R6001D modules

    changed title from Added support for the ublox LARA-R6001 / LARA-R6001D modules to Added support for ublox LARA-R6001 / LARA-R6001D modules

  • added 1 commit

    • 35840ad9 - Added support for ublox LARA-R6001 / LARA-R6001D modules

    Compare with previous version

  • added 1 commit

    • 70583c2f - Added support for ublox LARA-R6001 / LARA-R6001D modules

    Compare with previous version

  • added 1 commit

    • f32a625a - mm-modem-helpers-ublox: added support for ublox LARA-R6001 / LARA-R6001D modules

    Compare with previous version

  • Kristian Sloth Lauszus changed title from Added support for ublox LARA-R6001 / LARA-R6001D modules to mm-modem-helpers-ublox: added support for ublox LARA-R6001 / LARA-R6001D modules

    changed title from Added support for ublox LARA-R6001 / LARA-R6001D modules to mm-modem-helpers-ublox: added support for ublox LARA-R6001 / LARA-R6001D modules

  • Dylan Van Assche resolved all threads

    resolved all threads

  • Dylan Van Assche approved this merge request

    approved this merge request

  • Aleksander Morgado approved this merge request

    approved this merge request

  • Hi, I am working on updating ModemManager in OpenWrt to 1.22.0 but I am hitting issues with processing the device add events like these:

    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=ttyMSM1, subsystem=tty, sysfspath=/sys/devices/platform/soc/78b0000.serial/tty/ttyMSM1
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=ttyMSM1, subsystem=tty
    Wed Oct  4 14:03:10 2023 daemon.err ModemManager[2844]: hotplug: parent device sysfspath not found
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=ttyMSM0, subsystem=tty, sysfspath=/sys/devices/platform/soc/78b1000.serial/tty/ttyMSM0
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=ttyMSM0, subsystem=tty
    Wed Oct  4 14:03:10 2023 daemon.err ModemManager[2844]: hotplug: parent device sysfspath not found
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=eth0, subsystem=net, sysfspath=/sys/devices/platform/soc/3a001800.dp1/net/eth0
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=eth0, subsystem=net
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.err ModemManager[2844]: hotplug: parent device sysfspath not found
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=eth1, subsystem=net, sysfspath=/sys/devices/platform/soc/3a001600.dp2/net/eth1
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=eth1, subsystem=net
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.err ModemManager[2844]: hotplug: parent device sysfspath not found
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=wwan0, subsystem=net, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.1.auto/usb4/4-1/4-1:1.4/net/wwan0
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=wwan0, subsystem=net
    Wed Oct  4 14:03:10 2023 daemon.info ModemManager[2844]: hotplug: no need to wait for modem at sysfs path /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.1.auto/usb4/4-1
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=cdc-wdm0, subsystem=usbmisc, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.1.auto/usb4/4-1/4-1:1.4/net/wwan0
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=cdc-wdm0, subsystem=usbmisc
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=ttyUSB0, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.1.auto/usb4/4-1/4-1:1.0/ttyUSB0/tty/ttyUSB0
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=ttyUSB0, subsystem=tty
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=ttyUSB1, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.1.auto/usb4/4-1/4-1:1.1/ttyUSB1/tty/ttyUSB1
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=ttyUSB1, subsystem=tty
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=ttyUSB2, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.1.auto/usb4/4-1/4-1:1.2/ttyUSB2/tty/ttyUSB2
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=ttyUSB2, subsystem=tty
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=ttyUSB3, subsystem=tty, sysfspath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.1.auto/usb4/4-1/4-1:1.3/ttyUSB3/tty/ttyUSB3
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=ttyUSB3, subsystem=tty
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=wifi0, subsystem=net, sysfspath=/sys/devices/platform/soc/c000000.wifi/net/wifi0
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=wifi0, subsystem=net
    Wed Oct  4 14:03:10 2023 daemon.err ModemManager[2844]: hotplug: parent device sysfspath not found
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=wifi1, subsystem=net, sysfspath=/sys/devices/platform/soc/c000000.wifi/net/wifi1
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=wifi1, subsystem=net
    Wed Oct  4 14:03:10 2023 daemon.err ModemManager[2844]: hotplug: parent device sysfspath not found
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: cached event found: action=add, name=soc0, subsystem=net, sysfspath=/sys/devices/platform/soc/c000000.wifi/net/soc0
    Wed Oct  4 14:03:10 2023 daemon.debug ModemManager[2844]: hotplug: event reported: action=add, name=soc0, subsystem=net
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'
    Wed Oct  4 14:03:10 2023 daemon.err ModemManager[2844]: hotplug: parent device sysfspath not found
    Wed Oct  4 14:03:10 2023 daemon.warn [2854]: <wrn> [base-manager] couldn't handle kernel event: Invalid rule match, wrong match type: ' ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"'

    This is with Quectel RM520N modem.

    After bisecting I traced it down to commit f32a625a569b5ed9c6508adfdca0791d2274964e and reverting it fixes the support for me but I dont really understand why.

    Edited by Robert Marko
Please register or sign in to reply
Loading