<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/modemmanager/files/usr, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-09-22T06:37:11Z</updated>
<entry>
<title>modemmanager: suppress hotplug noise without breaking QMAP/QMI/MBIM mux</title>
<updated>2026-09-22T06:37:11Z</updated>
<author>
<name>Michael Pfeifroth</name>
</author>
<published>2026-09-21T07:42:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f094afbed0e80ca7bb1f97ebb7b7bace93ffb987'/>
<id>urn:sha1:f094afbed0e80ca7bb1f97ebb7b7bace93ffb987</id>
<content type='text'>
Commit 7885dff933e7 ("modemmanager: skip virtual net devices in hotplug
script") exited 25-modemmanager-net for every device under
/devices/virtual/* to stop the per-device "event processed" line from
spamming daemon.info on every boot and hotplug replay.

That blanket exit also dropped the QMAP/QMI/MBIM multiplexing netdevices
(qmapmux*, qmimux*, mbimmux*).  Those live under /devices/virtual too,
but they are real modem data ports and mm_report_event() deliberately
keeps them (ModemManager then resolves their lower_* link back to the
physical modem).  Skipping them in the hotplug script broke multiplexed
data connections.

Rather than duplicating that qmapmux/qmimux/mbimmux allow-list in the
hotplug script -- where it would drift out of sync with the copy in
mm_report_event() -- keep the filter in one place.  mm_report_event()
now returns non-zero when it drops a virtual device, and the hotplug
scripts only emit their "event processed" info log when the event was
actually reported.  The noisy log lines are gone for the dropped
devices, and the mux ports still reach ModemManager.

Fixes: 7885dff933e7 ("modemmanager: skip virtual net devices in hotplug script")
Signed-off-by: Michael Pfeifroth &lt;micpf@westermo.com&gt;
</content>
</entry>
<entry>
<title>modemmanager: skip live report when the service isn't up yet</title>
<updated>2026-08-03T11:03:31Z</updated>
<author>
<name>Michael Pfeifroth</name>
</author>
<published>2026-07-31T12:05:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=187382d9d1444c0308355f2f34fc0c759ab73440'/>
<id>urn:sha1:187382d9d1444c0308355f2f34fc0c759ab73440</id>
<content type='text'>
At boot procd replays every previously-seen uevent before
/etc/init.d/modemmanager starts.  Each replay walks the hotplug.d/
tree, which calls mm_report_event() in modemmanager.common.  That
helper does two independent things:

  1) appends the event to ${MODEMMANAGER_EVENTS_CACHE}, and
  2) runs 'mmcli --report-kernel-event=...' to notify a live MM.

Step 1 is what matters for boot; step 2 exists so events fired
after MM is running get reported without waiting for the next
cache replay.  The cache path is intentional: ModemManager-wrapper
starts MM, then mm_report_events_from_cache() polls 'mmcli -L'
until the bus is available and replays every cached event.

At boot the modemmanager service instance hasn't been spawned by
procd yet, so step 2 always fails with:

  daemon.err ModemManager[NNN]: hotplug: Couldn't report kernel
    event: error: couldn't get bus: Could not connect: No such
    file or directory

That's one daemon.err line per hotplug script per port, per boot.
On a dual-modem board that's a dozen spurious errors before the
service even starts.  Nothing is lost -- the wrapper's cache
replay picks them all up seconds later -- but the log noise makes
real ModemManager errors harder to spot.

Guard the live call with a cheap pidfile-based liveness check.
The pidfile is procd's, so it proves the service instance has
been spawned, not that MM is already reachable on the bus; the
brief wrapper-startup window (procd spawns the wrapper -&gt; wrapper
execs MM -&gt; MM reaches the bus) is not covered.  In practice no
fresh uevents fire in that window on the boards this was tested
on, and events that do arrive there are still cached.  If the
service hasn't been spawned yet, the event is silently cached and
the wrapper handles it.  If it has, behavior is unchanged.

Signed-off-by: Michael Pfeifroth &lt;micpf@westermo.com&gt;
</content>
</entry>
<entry>
<title>modemmanager: change to configuration option disable_modem</title>
<updated>2025-07-08T05:55:17Z</updated>
<author>
<name>Christian Korber</name>
</author>
<published>2025-06-27T06:48:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a6b332f4e9d57eeefeffd011b1059a9746fbefa6'/>
<id>urn:sha1:a6b332f4e9d57eeefeffd011b1059a9746fbefa6</id>
<content type='text'>
This commit sets default of `disable_modem` to 1 and disconnects modem.
If set otherwise it keeps the modem connected.

Signed-off-by: Christian Korber &lt;ck@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>modemmanager: fix pending mmcli calls for ModemManager-monitor script</title>
<updated>2025-04-01T08:08:27Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2025-03-04T09:22:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=6c8ad9f02bcd2f9122ccda44735565f547ac9077'/>
<id>urn:sha1:6c8ad9f02bcd2f9122ccda44735565f547ac9077</id>
<content type='text'>
If the ModemManager is stopped via '/etc/init.d/modemmanager', mmcli calls
always remain in the process list. This is because the ModemManager-monitor
call is not terminated properly, as the kill signals are not handled
correctly in the startup script for mmcli.

To fix this, the signal handling is refactored.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>modemmanager: add missing mmcli timeout option during ubus call</title>
<updated>2025-04-01T08:08:27Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2025-02-25T08:09:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=5c203c36d5e74fc0d6af6d03fbe43115b9e4ba91'/>
<id>urn:sha1:5c203c36d5e74fc0d6af6d03fbe43115b9e4ba91</id>
<content type='text'>
The default 'timeout' value is 30 seconds when calling an mmcli action. That
is too long. For this reason, the mmcli 'timeout' option is specified for
calls and the value is set to 10 seconds.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>modemmanager: add config optional netifd integration</title>
<updated>2025-02-26T09:03:30Z</updated>
<author>
<name>Gilles Lenaerts</name>
</author>
<published>2025-02-11T12:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=5cb12d479b43eaed89066827690a23f4e1e994a7'/>
<id>urn:sha1:5cb12d479b43eaed89066827690a23f4e1e994a7</id>
<content type='text'>
This change introduces an optional configuration
of the  netifd integration in the ModemManager package.
When disabled, it removes the NETIFD dependency and
other unwanted components from the root filesystem
during the build phase.

Additionally, in the modemmanager.common the netifd-proto.sh
inclusion line can be savely removed as there is no usage
of it in its functions.

Signed-off-by: Gilles Lenaerts &lt;gilles.lenaerts_ext@softathome.com&gt;
</content>
</entry>
<entry>
<title>modemmanager: do not disable modem on reconnect</title>
<updated>2025-02-12T15:52:16Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2025-02-04T11:36:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=434c353e62a6bcd697e991f76658feae10a67ade'/>
<id>urn:sha1:434c353e62a6bcd697e991f76658feae10a67ade</id>
<content type='text'>
If the modem loses the connection, an attempt is made to re-establish the
connection via the report-down script.

Until now, the modem was disabled when the modem processed the teardown of
the modemmanager protohandler. The immediate up events of netifd renables
the modem right away. This takes time, which is not necessary.

This commit changes the behavior so that the modem is not disabled when
the modemmanager is disconnected via the report-down script.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>modemmanager: extend log message with count on boot</title>
<updated>2024-10-17T16:29:16Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2024-10-02T14:39:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=e2822c9d80100b1334786f4573f97e3ad581a1f0'/>
<id>urn:sha1:e2822c9d80100b1334786f4573f97e3ad581a1f0</id>
<content type='text'>
This makes debugging at system startup easier and shows how long we are
waiting for the ModemManager to start.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>modemmanager: add missing ubus status backend via mmcli</title>
<updated>2024-07-10T10:26:51Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2024-04-16T09:20:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=9de61ea058b6c6060720ca6bf0de9c097dc718b2'/>
<id>urn:sha1:9de61ea058b6c6060720ca6bf0de9c097dc718b2</id>
<content type='text'>
The 'modemmanager' uses the 'dbus'. Status information can be retrieved
with the 'mmcli' command, this can also be output in json format.

This commit adds a new 'ubus' backend with which this information can
be easily accessed via ubus.

* ubus call modemmanager info
* ubus call modemmanager dump

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>Merge pull request #23590 from TDT-AG/pr/20240305-modemmanager</title>
<updated>2024-03-12T10:59:11Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2024-03-12T10:59:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=26117ac9b18d3b25fffaec897016b9073c35f6b7'/>
<id>urn:sha1:26117ac9b18d3b25fffaec897016b9073c35f6b7</id>
<content type='text'>
modemmanager: reconnect interface if the modemmanager detects a disconnect</content>
</entry>
</feed>
