imsd/packaging
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 7d38846bb6
ims-pdn-up: do not connect a bearer while the modem is disabled
With the modem's radio off (airplane mode) the bring-up waited five
minutes for registration and then tried to connect the ims bearer
anyway. That attempt fails with no-service and leaves ModemManager's
modem state `enabled` while the modem stays in low power; switching the
radio back on then no longer brings the modem up, and the phone has no
mobile service until the modem is disabled and enabled again (dev phone
2026-10-06: not registered 150 s after the radio came on, against 5 s
without the attempt).

0.3.9's bring-up made the same attempts, but it only ran at boot or at
a manual restart. Since this series a registered imsd exits when its
address leaves the netdev and systemd runs the bring-up again, and an
upgrade restarts it: the bring-up now also runs during a radio-off
period.

A modem still disabled after the registration wait, or disabled when a
connect attempt is due, now makes the script exit non-zero without
touching the modem; systemd retries after RestartSec.

Tested on the dev phone (KPN) with this script: a registered imsd, the
radio switched off — imsd exited at its next refresh, the bring-up gave
up after the wait with the modem still disabled, and when the radio came
back the modem registered in 5 s and imsd registered by itself two
minutes later; the same with an upgrade's restart during the radio-off
period. The twelve mock scenarios of the bring-up are unchanged.
2026-10-06 17:54:09 +02:00
..
80-imsd-ofono.preset ofonod: keep VoiceCallManager published across imsd restarts; enable on install 2026-09-20 16:58:42 +02:00
80-imsd.preset packaging: drop the aport; fp6-img installs the published apk 2026-09-02 16:08:21 +02:00
90_imsd-ofono.gschema.override ofonod: GNOME Calls backend over org.ofono for Phosh and GNOME Mobile 2026-09-20 16:07:46 +02:00
APKBUILD.binary README, AGENTS.md: a short README for people, the detail in AGENTS.md 2026-10-06 14:01:33 +02:00
build-package.sh packaging, ci: build the apks with the Crafter.Build Flatpak 2026-10-06 14:01:33 +02:00
ims-pdn-up.sh ims-pdn-up: do not connect a bearer while the modem is disabled 2026-10-06 17:54:09 +02:00
imsd-dialerd.desktop ofonod: keep VoiceCallManager published across imsd restarts; enable on install 2026-09-20 16:58:42 +02:00
imsd-handover.sh packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-ofono-restart-calls.sh README, AGENTS.md: a short README for people, the detail in AGENTS.md 2026-10-06 14:01:33 +02:00
imsd-ofono.post-install packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-ofono.post-upgrade packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-ofonod.service imsd, imsd-ofonod: let polkit decide call control, not the account name 2026-10-06 14:01:33 +02:00
imsd-systemd.post-install packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-systemd.post-upgrade packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd.post-install packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd.post-upgrade packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd.service README, AGENTS.md: a short README for people, the detail in AGENTS.md 2026-10-06 14:01:33 +02:00
make-bin-tarball.sh imsd, imsd-ofonod: let polkit decide call control, not the account name 2026-10-06 14:01:33 +02:00
make-sysroot.sh packaging, ci: build the apks with the Crafter.Build Flatpak 2026-10-06 14:01:33 +02:00
net.catcrafts.IMS1.conf imsd, imsd-ofonod: let polkit decide call control, not the account name 2026-10-06 14:01:33 +02:00
net.catcrafts.IMS1.policy imsd, imsd-ofonod: let polkit decide call control, not the account name 2026-10-06 14:01:33 +02:00
org.kde.modem.daemon.desktop packaging: drop the aport; fp6-img installs the published apk 2026-09-02 16:08:21 +02:00
org.ofono.conf imsd, imsd-ofonod: let polkit decide call control, not the account name 2026-10-06 14:01:33 +02:00