Commit graph

107 commits

Author SHA1 Message Date
Achill Gilgenast
05fb3681bc
modem/msm-modem: add systemd service file
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7424>
2025-11-25 22:31:05 +00:00
Achill Gilgenast
62c2e0ca04
modem/pd-mapper: subpackage -systemd
Part of https://gitlab.postmarketos.org/postmarketOS/pmaports/-/work_items/4099

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7400>
2025-11-21 11:36:31 +00:00
Jens Reidel
28d2a166f3
modem/libsamsung-ipc: fix build with GCC 15
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7125>
2025-10-01 23:11:38 +00:00
Luca Weiss
c3f0506216
modem/rmtfs: upgrade to 1.1.1
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7009>
2025-09-10 11:42:12 +00:00
Luca Weiss
57a6a580f4
modem/pd-mapper: upgrade to 1.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7009>
2025-09-10 11:42:12 +00:00
Clayton Craft
e63c70b6e8
Rebuild -systemd subpkgs
These packages were previously built by a WIP abuild patch that added
install scripts to each -systemd subpkg for handling preset application
on install and symlink cleanup on uninstall. This functionality has been
replaced by a trigger/commit hook, so we need to rebuild these packages
to drop the install scripts that were previously generated.

[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:53 -07:00
Luca Weiss
f465847f28
modem/rmtfs: patch to serve modem_study partition for Fairphone (Gen. 6)
And replace the modem_tng patch with the version that was accepted
upstream.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6962>
2025-08-25 12:12:42 +00:00
Affe Null
9a49bd4960
modem/unisoc-timesync-daemon: new aport
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6941>
2025-08-22 15:51:43 +00:00
Affe Null
075565220c
modem/unisoc-nvitem-daemon: upgrade to 0_git20250618
Also fix the systemd service installation.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6941>
2025-08-22 15:51:43 +00:00
SzczurekYT
9ddc0e0cb0
modem/qcom-diag: update and make consistent with systemd
- Update diag-router to include two new commits made this year
- Use linux-msm repo (the andersson one is now a redirect to it)
- Make diag-router start before rmtfs on OpenRC like on Systemd
- Add myself as a maintainer, to replace Jami Kettunen, who resigned
from this role

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6887
2025-08-13 13:50:40 +03:00
Aster Boese
7429bed2ca
*/*: bump pkgrels of packages with systemd subpackages
Update to use the new version of the abuild systemd split function.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6713
2025-07-27 17:03:09 -04:00
Barnabás Czémán
16885b7f42
modem/msm-modem-wwan-port: new package
Add new package for create wwan interface for MSM8909
and MSM89x7 devices.

Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6774
2025-07-23 20:49:54 +02:00
Clayton Craft
f84adcd778
main/*: explicitly depend on openrc if install scripts call rc-update
[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6476
[ci:skip-build]: already built successfully in CI
2025-05-06 10:49:08 +02:00
Affe Null
2504124b25
jolla-c2: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6426

[ci:skip-build]: already built successfully in CI
2025-04-24 18:12:29 +02:00
fossdd
feacb49148
modem/qrtr: remove
Upstreamed to Alpine already

Ref: https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/qrtr

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6403
[ci:skip-build]: already built successfully in CI
2025-04-24 17:47:21 +02:00
WeirdTreeThing
7ff5fd8918
modem/msm-cros-efs-loader: upgrade to 1.2
adds support for systemd

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6378
[ci:skip-build]: already built successfully in CI
2025-04-09 15:35:23 +02:00
Clayton Craft
49b25396b0
modem/msm-modem: move service logic to standalone script (MR 6173)
This allows other things to run the logic, like a systemd unit
2025-02-12 14:56:35 -08:00
Aster Boese
57709727ed
modem/msm-cros-efs-loader: move openrc scripts to subpackage (MR 5688) 2024-11-04 10:52:34 -08:00
Sergey Lisov
9b55052b58
modem/samsungipcd: upgrade to v0.3.0 (MR 5698)
This also adds a PPP bypass, so that traffic can flow through the native
interface (rmnet0) directly, and not via the emulated PPP.

[ci:skip-build]: already built successfully in CI
2024-10-13 19:51:32 +02:00
Pablo Correa Gómez
fdaee79c61
main,modem/*: rebuild to update references to gitlab.postmarketos.org (MR 5696)
Since either url or source change
2024-10-07 12:58:03 +02:00
Pablo Correa Gómez
5454798c05
modem/samsungipcd: move udev rules under /usr (MR 5662)
[ci:skip-build]: already built successfully in CI
2024-09-29 10:41:35 -07:00
Clayton Craft
d42c2fa2ba
modem/samsungipcd: create openrc subpackage (MR 5635) 2024-09-27 04:22:18 -07:00
Clayton Craft
e7a54473b0
modem/msm-modem: uim-selection: fix installation of openrc service (MR 5552)
fixes !5421

[ci:skip-build]: already built successfully in CI
2024-09-03 16:07:30 -07:00
Clayton Craft
85f2d99d39
modem/msm-modem: add openrc subpackages (MR 5421) 2024-09-03 08:42:37 -07:00
Stefan Hansson
343c982087
modem/tqftpserv: upgrade to 1.1 (MR 5370)
Includes support for compressed firmware, among other nice things.

[ci:skip-build]: already built successfully in CI
2024-07-25 10:22:10 +02:00
Luca Weiss
a4153e809f
*/*: update Luca's email address (MR 5291)
[ci:ignore-count]
[ci:skip-build]
[ci:skip-vercheck]
2024-07-01 11:55:02 +02:00
Alexey Minnekhanov
2c807afc06
modem/tqftpserv: upgrade and switch buildsystem to meson (MR 5076)
Upstream has switched to meson buildsystem and Luca's patches
were merged, so we can drop them.

Update package URL to linux-msm project.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2024-04-30 03:36:35 +03:00
Alexey Minnekhanov
94a777390c
modem/qrtr: upgrade to 1.1 and switch buildsystem to meson (MR 5076)
Upstream has moved to meson buildsystem and tagged new release.

Update package URL to linux-msm project.

Drop qrtr-ns subpackage, service and executable building, as it
was moved into kernel long time ago and separate userspace daemon
is no longer required.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2024-04-30 03:36:34 +03:00
Luca Weiss
6cb3e795e4
modem/{pd-mapper,tqftpserv}: take over maintainership (MR 4942)
The previous maintainer hasn't been active on GitLab for at least two
years, time to replace them.

[ci:skip-build]: already built successfully in CI
2024-03-18 12:14:43 +01:00
Luca Weiss
d7c64500ee
modem/tqftpserv: upgrade and add patches for rsize & seek option handling (MR 4747)
Makes modem work on fairphone-fp4 (sm6350/sm7225) and fairphone-fp5
(sc7280/qcm6490)

Patches are submitted upstream:
https://github.com/andersson/tqftpserv/pull/13
[ci:skip-build]: already built successfully in CI
2024-03-06 01:50:52 +01:00
Anton Bambura
0bbbd50adb
modem/msm-cros-efs-loader: update remote (MR 4559)
[ci:skip-build] already built successfully in CI
2023-11-19 10:35:44 -08:00
Sergey Lisov
3b85595ff8
modem/samsungipcd: update to v0.2.3 (MR 4544)
[ci:skip-build]: already built successfully in CI
2023-11-12 14:46:38 +01:00
Caleb Connolly
bcd6fc9c32
modem/qrtr: add ci tests (MR 4420)
Add a basic test that runs qrtr-lookup and ensures that at least one QMI
service is available. This is mostly a proof of concept and can be
extended in the future.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-10-31 19:53:22 +00:00
Luca Weiss
805b7fa0ee
modem/ta-service: new aport (MR 4452) 2023-10-13 19:03:49 +02:00
Anton Bambura
e60195f8ae
modem/msm-cros-efs-loader: upgrade to 1.0.2 (MR 4307)
[ci:skip-build]: already built successfully in CI
2023-08-05 23:41:59 +02:00
Anton Bambura
2640a4632f
modem/msm-cros-efs-loader: new aport (MR 4250)
Load EFS files on Qualcomm-based Chrome OS devices
2023-07-22 18:15:16 +02:00
Anton Bambura
caa4101bfb
modem/rmtfs: Implement configuration with rmtfs.confd (MR 4250) 2023-07-22 18:15:16 +02:00
Luca Weiss
df89903082
modem/libqipcrtr4msmipc: improve APKBUILD formatting (MR 4230)
Also resolve apkbuild-lint errors.
2023-07-07 09:28:57 +02:00
Oliver Smith
a1b9f90871
modem/msm-modem: increase timeout to 4 (MR 4153)
For a lot of people having the 1 second timeout results in not finding
the sim at all. Let's rather wait up to 4 seconds for the sim to appear,
it was reported that 3 is enough in a report where 1 wasn't.

Related: issue 2072
[ci:skip-build]: already built successfully in CI
2023-06-05 21:06:02 +02:00
Sergey Lisov
304b1764ed
modem/samsungipcd: upgrade to 0.2.2 (MR 3585) 2023-01-19 07:53:22 +01:00
Affe Null
75cd718f5c
modem/rmtfs: add tunning partition alias patch for msm8909 Nokia devices (MR 3768)
Like alcatel-idol3, these devices have a tunning partition. However, the
modem calls it modem_tng instead of modem_tunning. This patch adds the
alternative name for the partition.

An upstream pull request has already been submitted (see patch).
2022-12-29 18:40:12 +01:00
Sergey Lisov
8d07a9897a
mdoem/libsamsung-ipc: upgrade to 6.0.0004 (MR 3456)
1. Upgrades the library to version 6.0.0004
2. Adds runtime overrides for detected device and board,
   to facilitate running on devices where autodetect fails.
2022-10-21 15:19:07 +03:00
Sergey Lisov
ad454e784d
modem/samsungipcd: new aport (MR 3460)
Emulates an AT serial modem using libsamsung-ipc
2022-10-07 21:44:11 +02:00
Minecrell
c51cfe0c06
modem/rmtfs: upgrade to 0.2_git20220718 (MR 3296)
No functional change, the patch was finally merged so we can drop it.
2022-07-18 23:16:20 +02:00
Minecrell
d9326d5ac9
modem/tqftpserv: start before rmtfs (MR 3269)
Ideally tqftpserv should be started before rmtfs. This is because rmtfs
is currently responsible for starting the modem, and it's best for
performance if all the services needed by the modem are already up.

Also change "want" -> "use" for consistency with rmtfs. The difference
between "want" and "use" is that "want" just triggers starting of the
other service, while "use" also ensures that the other service starts
successfully.
2022-07-05 18:49:25 +02:00
Minecrell
dcd3ae8f07
modem/rmtfs: upgrade to 0.2_git20210809, start before networkmanager (MR 3269)
Also include z3ntu's patch fixing a buffer overread issue which sadly
has not been merged for several months now.

rmtfs should be ideally started and stopped before NetworkManager
because otherwise the modem network interface might be removed before
NetworkManager can set it down. This has caused kernel issues at some
point (although it seems to be fine again at the moment).
2022-07-05 18:49:21 +02:00
Minecrell
df4b8c44d1
modem/qrtr: upgrade to 0.3_git20201207 (MR 3269) 2022-07-05 18:49:16 +02:00
Nikita Travkin
2a7f84aaad
modem/msm-modem: depend on qmi-utils for uim-selection (MR 2769)
Recent libqmi update in Alpine [1] splits off binary utilities into a
subpackage. This breaks the selection script which depends on qmicli.
Add the new qmi-utils as a dependency to make sure the script can
continue to work.

[1] - a1e61165f4
2021-12-18 15:01:58 +03:00
Minecrell
f563e0ddcf
modem/msm-modem: uim-selection: Allow configuring wait time for SIM (MR 2695)
Unfortunately it looks like some modem firmwares (or SIM cards?) need
more time until the SIM card shows up in the modem. This means that the
SIM card might not get configured, making it look like it was not
detected at all. On the other hand, having the previous long wait loop
affects _all devices_ when there is really no SIM inserted.

The proper solution would be to make it possible to configure SIM cards
once they show up (probably in ModemManager). Until then, try to make it
possible to workaround this by introducing a configurable delay to wait
for the SIM card. It is set to minimal "1 seconds" by default but could
be increased by the user if needed to give the modem enough time to detect
the SIM card.

This reverts commit 683b543a3b ("msm-modem-uim-selection: Don't wait
for SIM (MR 2470)" but with a new configuration mechanism and a default
of 1 second only.

[ci:skip-build] already built successfully in CI
2021-12-10 10:24:11 -08:00
Minecrell
674c7f63ad
modem/msm-modem: skip SIM configuration on APQ* SoCs (MR 2632)
Unfortunately, msm-modem-uim-selection causes boot delays on APQ*
SoCs (without most modem functionality) at the moment. The modem will
never show up so it keeps waiting and waiting.

To allow using the same rootfs on devices that have MSM* and APQ*
variants (e.g. Samsung MSM8916 tablets), add a quick check at the
beginning of the service to cancel early when running on an APQ* SoC.
This is easy to check because the SoC is actually exposed in sysfs.
2021-11-21 19:10:58 +01:00