mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 07:12:08 +02:00
1170a2c7f7d74016e5068f5dd290076feb4d617f
RI won't be accessible due to it being used by the kernel as an interrupt source, so we can check the STATUS pin (CE only) which will allow us to know precisely when the modem is shut down.
eg25-manager - Quectel EG25 management daemon
eg25-manager
is a daemon for managing the Quectel EG25 modem found on the
Pine64 PinePhone.
It implements the following features:
- cleanly power on/off the modem
- configure/check essential parameters (such as the audio format) on startup
- monitor the modem state through ModemManager
- put the modem in low-power mode when suspending the system, and restore it back to normal behavior when resuming
- monitor the modem state on resume and recover it if needed
Dependencies
eg25-manager
requires the following development libraries:
- libglib2.0-dev
- libgpiod-dev
- libmm-glib-dev
Building
eg25-manager
uses meson as its build system. Building and installing
eg25-manager
is as simple as running the following commands:
$ meson ../eg25-build
$ ninja -C ../eg25-build
# ninja -C ../eg25-build install
Running
eg25-manager
is usually run as a systemd service, but can also be
manually started from the command-line (requires root privileges):
# eg25-manager
License
eg25-manager
is licensed under the GPLv3+.
Description
Languages
C
97.3%
Meson
2.6%
Shell
0.1%