05-20-2021, 04:53 AM
I think I am getting close. Maybe not even the Modem Manager is needed. The two basic services for controlling the Quectel on Pinephone are eg25-manager and ofono.
eg25manager starts and configures the modem based on some .toml files in /usr/share/eg25manager which contain AT commands, there you can see many commands of the category +QCFG which are not listed in the manual.
https://gitlab.com/mobian1/devices/eg25-manager
you can start,stop,restart,enable, and disable the service in the usual way through systemctl
the only command you can give through the terminal is one that defines the configuration files
ofono is similar to mmcli and it is an API for telephony applications
https://01.org/ofono
it is controlled through the ofonoctl command,
So for now I recommend to disable the ModemManager (systemctl disable ModemManager), turn off the phone, insert the SIM, reboot and try to configure a data connection with ofonoctl.
eg25manager starts and configures the modem based on some .toml files in /usr/share/eg25manager which contain AT commands, there you can see many commands of the category +QCFG which are not listed in the manual.
https://gitlab.com/mobian1/devices/eg25-manager
you can start,stop,restart,enable, and disable the service in the usual way through systemctl
the only command you can give through the terminal is one that defines the configuration files
Code:
eg25manager -c <file>
ofono is similar to mmcli and it is an API for telephony applications
https://01.org/ofono
it is controlled through the ofonoctl command,
Code:
ofonoctl -h
So for now I recommend to disable the ModemManager (systemctl disable ModemManager), turn off the phone, insert the SIM, reboot and try to configure a data connection with ofonoctl.