<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/modemmanager/files/usr/share, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-08-03T11:03:31Z</updated>
<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-03.infra.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: 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-03.infra.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: report events for virtual netdevices</title>
<updated>2024-03-06T09:16:21Z</updated>
<author>
<name>Daniele Palmas</name>
</author>
<published>2024-02-27T11:15:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=c51a804a63e17806db22fa88b3c816bad8bd95da'/>
<id>urn:sha1:c51a804a63e17806db22fa88b3c816bad8bd95da</id>
<content type='text'>
Virtual netdevices created for multiplexing should not be skipped
when reporting events, otherwise it is not possible to setup the
data connection.

Add these exceptions in mm_report_event function.

Signed-off-by: Daniele Palmas &lt;dnlplm@gmail.com&gt;
</content>
</entry>
<entry>
<title>modemmanager: moving the openwrt related files to subdirectories</title>
<updated>2024-03-05T12:04:59Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2024-03-05T11:59:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=dab2cdc44c1db81d1384a495c5e0ca7774c497cf'/>
<id>urn:sha1:dab2cdc44c1db81d1384a495c5e0ca7774c497cf</id>
<content type='text'>
Moving the openwrt related files to subdirectories as they are installed
on the system. This change makes it immediately apparent during development
where the file is to be installed in the running system.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
</feed>
