mm-modem-helpers-ublox: added support for ublox LARA-R6001 / LARA-R6001D modules
Merge request reports
Activity
added 1 commit
- 35840ad9 - Added support for ublox LARA-R6001 / LARA-R6001D modules
added 1 commit
- 70583c2f - Added support for ublox LARA-R6001 / LARA-R6001D modules
- Resolved by Dylan Van Assche
Changes look fine to me, but can you please format your git commit messages according to project's style?
You can find some examples of the styling here: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/commits/main
and there's a guide at: https://modemmanager.org/docs/contribution-guidelines/git-commit-style/
Thanks!
added 1 commit
- f32a625a - mm-modem-helpers-ublox: added support for ublox LARA-R6001 / LARA-R6001D modules
Yeah that confused me as well. I don't know the full history, but the chipset or something must be made by Qualcomm.
FYI you can also find it in the Linux kernel: https://github.com/torvalds/linux/blob/v6.4-rc3/drivers/usb/serial/option.c#L1145 and here is the conversion to when it was added: https://www.spinics.net/lists/linux-usb/msg232154.html
The mention of the VID and PID being 0x05c6 and 0x908b is mentioned briefly in this manual: https://content.u-blox.com/sites/default/files/documents/EVK-R6_UserGuide_UBX-21035387.pdf
I tested it using the following breakout board: https://www.mikroe.com/4g-lte-2-click-data
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