aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-08bearer-mbim: port to use object loggingAleksander Morgado
2020-04-08bearer-qmi: port to use object loggingAleksander Morgado
2020-04-08broadband-bearer: port to use object loggingAleksander Morgado
2020-04-08base-bearer: port to use object loggingAleksander Morgado
2020-04-08base-bearer: set dbus id as soon as object is createdAleksander Morgado
2020-04-08iface-modem-voice: port to use object loggingAleksander Morgado
2020-04-08iface-modem-time: port to use object loggingAleksander Morgado
2020-04-08iface-modem-simple: port to use object loggingAleksander Morgado
2020-04-08iface-modem-signal: port to use object loggingAleksander Morgado
2020-04-08iface-modem-oma: port to use object loggingAleksander Morgado
2020-04-08iface-modem-messaging: port to use object loggingAleksander Morgado
2020-04-08iface-modem-location: port to use object loggingAleksander Morgado
2020-04-08iface-modem-firmware: port to use object loggingAleksander Morgado
2020-04-08iface-modem-cdma: port to use object loggingAleksander Morgado
2020-04-08iface-modem-3gpp-ussd: port to use object loggingAleksander Morgado
2020-04-08iface-modem-3gpp: port to use object loggingAleksander Morgado
2020-04-08iface-modem: port to use object loggingAleksander Morgado
2020-04-08shared-qmi: port to use object loggingAleksander Morgado
2020-04-08broadband-modem-mbim: port to use object loggingAleksander Morgado
2020-04-08broadband-modem-qmi: port to use object loggingAleksander Morgado
2020-04-08broadband-modem: port to use object loggingAleksander Morgado
2020-04-08base-modem: port to use object loggingAleksander Morgado
Also link all grabbed ports as owned by the modem.
2020-04-08base-modem: set dbus id as soon as object is createdAleksander Morgado
2020-04-08ports: port to object loggingAleksander Morgado
2020-04-08port-serial: assert on totally unexpected serial settingsAleksander Morgado
The bits/parity/stopbits serial settings are set by the daemon, so if any of them are not expected, assert, not just warn.
2020-04-08kerneldevice: port to object loggingAleksander Morgado
2020-04-08log: new object logging supportAleksander Morgado
So that we can provide the specific object id in every log associated to a given object.
2020-04-05po: add Russian translationАртемий Судаков
2020-04-01po: updated Indonesian translationAndika Triwidada
2020-03-25quectel: add port type hints for EC25/EG25 #194mozzwald
2020-03-21cli: remove empty whiteline in --versionAleksander Morgado
This also fixes the Copyright section in the troffit generated HTML output.
2020-03-21context: remove empty whiteline in --versionAleksander Morgado
This also fixes the Copyright section in the troffit generated HTML output.
2020-03-21cli: context: add ':' to the section titlesAleksander Morgado
So that --help-all print all sections in the same way as the Help and Application option groups.
2020-03-21context: add ':' to the section titlesAleksander Morgado
So that --help-all print all sections in the same way as the Help and Application option groups.
2020-03-16broadband-modem-mbim: fix segfault when loading capabilitiesAleksander Morgado
If loading capabilities using QMI over MBIM returns NONE without an explicit error, the process would crash. Fix that by making the error optional when NONE is received. Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/185
2020-03-10l10n: Update Italian translationMilo Casagrande
Signed-off-by: Milo Casagrande <milo@milo.name>
2020-03-03kerneldevice,udev: don't assume interface is the direct parent objectAleksander Morgado
E.g. it may be one more layer up: looking at device '/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.4/1-8.4:1.1/ttyUSB1/tty/ttyUSB1': KERNEL=="ttyUSB1" SUBSYSTEM=="tty" DRIVER=="" looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.4/1-8.4:1.1/ttyUSB1': KERNELS=="ttyUSB1" SUBSYSTEMS=="usb-serial" DRIVERS=="option1" ATTRS{port_number}=="0" looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.4/1-8.4:1.1': KERNELS=="1-8.4:1.1" SUBSYSTEMS=="usb" DRIVERS=="option" ATTRS{bNumEndpoints}=="02" ATTRS{supports_autosuspend}=="1" ATTRS{bInterfaceNumber}=="01" ATTRS{bAlternateSetting}==" 0" ATTRS{bInterfaceSubClass}=="06" ATTRS{bInterfaceProtocol}=="13" ATTRS{interface}=="Huawei Mobile Connect - Application" ATTRS{bInterfaceClass}=="ff" ATTRS{authorized}=="1"
2020-03-03huawei: only tag GETPORTMODE supported if it was really usedAleksander Morgado
E.g. do nothing if the response is empty: <debug> (ttyUSB1): -->'AT^GETPORTMODE<CR>' <debug> (ttyUSB1): <--'<CR><LF>^GETPORTMODE: TYPE: WCDMA: Huawei Technologies Co.,Ltd.,<CR><LF><CR><LF>OK<CR><LF>'
2020-03-03huawei: try to read port type hints from interface descriptionsAleksander Morgado
So far, we're really only interested in the "modem" and "pcui" ports. root@9d52738:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4# find . -name interface|sort ./1-1.4:2.0/interface ./1-1.4:2.1/interface ./1-1.4:2.2/interface ./1-1.4:2.3/interface ./1-1.4:2.4/interface ./1-1.4:2.5/interface ./1-1.4:2.6/interface root@9d52738:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4# find . -name interface|sort|xargs cat CDC Ethernet Control Model (ECM) CDC Ethernet Data Huawei Mobile Connect - Modem Huawei Mobile Connect - Application Huawei Mobile Connect - Pcui Huawei Mobile Connect - Ctrl Huawei Mobile Connect - Serial B Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/170
2020-03-03kerneldevice: support reading interface 'description'Aleksander Morgado
2020-02-26huawei: avoid attempting to complete GTask twiceAleksander Morgado
2020-02-12base-sim: don't allow sending PIN/PUK if not requiredAleksander Morgado
This avoids issues when e.g. sending SIM-PIN while the modem is already unlocked or when SIM-PIN is not enabled. Under those conditions, the needlessly sent SIM-PIN unlock attempt may fail while libmm-glib/mmcli reports a successful operation. E.g.: # mmcli --sim=/org/freedesktop/ModemManager1/SIM/0 --pin=3497 successfully sent PIN code to the SIM But in reality... Wed Nov 20 14:38:52 2019 daemon.debug [4254]: <debug> [1574260732.489513] Verifying PIN... Wed Nov 20 14:38:52 2019 daemon.debug [4254]: [/dev/cdc-wdm0] sent message... <<<<<< RAW: <<<<<< length = 27 <<<<<< data = 01:1A:00:00:0B:02:00:09:00:26:00:0E:00:02:06:00:01:04:33:34:39:37:01:02:00:06:00 Wed Nov 20 14:38:52 2019 daemon.debug [4254]: [/dev/cdc-wdm0] sent generic request (translated)... <<<<<< QMUX: <<<<<< length = 26 <<<<<< flags = 0x00 <<<<<< service = "uim" <<<<<< client = 2 <<<<<< QMI: <<<<<< flags = "none" <<<<<< transaction = 9 <<<<<< tlv_length = 14 <<<<<< message = "Verify PIN" (0x0026) <<<<<< TLV: <<<<<< type = "Info" (0x02) <<<<<< length = 6 <<<<<< value = 01:04:33:34:39:37 <<<<<< translated = [ pin_id = 'pin1' pin_value = '3497' ] Wed Nov 20 14:38:52 2019 daemon.debug [4254]: [/dev/cdc-wdm0] received message... <<<<<< RAW: <<<<<< length = 30 <<<<<< data = 01:1D:00:80:0B:02:02:09:00:26:00:11:00:02:04:00:01:00:52:00:13:02:00:69:84:10:02:00:03:0A Wed Nov 20 14:38:52 2019 daemon.debug [4254]: [/dev/cdc-wdm0] received generic response (translated)... <<<<<< QMUX: <<<<<< length = 29 <<<<<< flags = 0x80 <<<<<< service = "uim" <<<<<< client = 2 <<<<<< QMI: <<<<<< flags = "response" <<<<<< transaction = 9 <<<<<< tlv_length = 17 <<<<<< message = "Verify PIN" (0x0026) <<<<<< TLV: <<<<<< type = "Result" (0x02) <<<<<< length = 4 <<<<<< value = 01:00:52:00 <<<<<< translated = FAILURE: AccessDenied As we already know what the current lock status is, just abort the user operation if the unlock operation isn't required.
2020-02-12iface-modem: allow loading current required lock infoAleksander Morgado
2020-02-12base-sim: avoid using 'self' to refer to the modemAleksander Morgado
2020-02-12iface-modem-simple: don't abort connection attempt if SIM-PUK2 lockedAleksander Morgado
2020-02-12base-sim: refactor common PIN/PUK unlock operationsAleksander Morgado
Keep the saved GError directly as GTask context, instead of allocating the SendPinPukContext unconditionally.
2020-02-07iface-modem-location: common helper code to test raw gpsAleksander Morgado
2020-02-07iface-modem-location: plug memleaks when updating gps raw variantAleksander Morgado
The helper method returning a variant from a MMLocationGpsRaw would return already a full variant reference instead of a floating one, so we were really increasing the refcount when doing g_variant_ref_sink() in the location interface. Fix this by consolidating all helper methods in libmm-glib that return variants from the different MMLocationXX objects, so that they all return full variants instead of floating ones.
2020-02-06broadband-modem: add optional extra carriage return to in-call URC regexBob Ham
The BroadMobi BM818 has inconsitent line endings and the in-call URC regex can miss events, particularly NO CARRIER, because the regex doesn't match. To fix this we add an optional carriage return to the regex. This will match for the BM818's output.
2020-02-06broadband-modem: add secondary AT port to in-call port contextBob Ham
The BroadMobi BM818 sends URCs on the secondary port which are currently missed. To fix this, we include the secondary port in the port context.