Just some extra information that could be useful for people testing the phone using postmarketOS.
The modem name is "quectelqmi_1"
Commands of this type can interact with the modem using DBus:
dbus-send --print-reply --system --dest=org.ofono /quectelqmi_1 org.ofono.Modem.GetProperties
When using the testing image it is useful to install qdbusviewer:
sudo apk add qt5-qdbusviewer
And, to execute it from a graphical terminal with X11 forwarding (the pinephone screen without the auto rotation is useless in this case).
In my case, I want to use the "ofono" interface directly without the included phone software. I am not a fan of DBus but if there is no other way, is ok (by now). Later I will embed some extra-secure software to protect the communication channels :-) ...
If you want to mess with the modem over dbus then you can install ofonoctl through pip3
I really have been trying to make the ofono part to work, with ofonoctl and other dbus based tools, but the phone seems to ignore a SIM card I am using on it ... it simple says me that there is no SIM card installed.
It is an old SIM I found around that never was used (I suppose the available is gone by now), but as a physical device it is in pristine conditions. At least the phone must find that there is a SIM card there, but no way. And the same card works well in an Alcatel phone with FirefoxOS.
As a reference, I first poweron the Quactel with "ofonoctl poweron" ... and the SIM manager appear ... but no SIM ... and later "ofonoctl online" as trying to do something else, but no SIM available.
Could be a phone physical problem? Does somebody else have been trying to make the telephony part to work having more success than me?
01-17-2020, 04:10 PM
(This post was last modified: 01-17-2020, 04:11 PM by malvcr.)
I was worried about the SIM, so I had a new one from a different telephone company ... and it works. ( I still don't know why the previous one failed ... maybe the ofono layer is not managing well the corresponding error code).
With the ofonoctl I can send messages, although I have no idea where to receive them.
And the phone application in postmarketOS can make and receive calls, but with no audio involved (something is not yet connected).
There is something important with the phone. It eats the battery very quickly and becomes really hot while recharging (I need to keep it connected when performing tests). I suppose there is something running on the Linux that is not a good idea to keep working in a phone, or some working parameters are wrong.
At least there is a path to continue :-) ...
Just in case ... something is missing in the kernel configuration for testing kernel:
pine64-pinephone:/sys/devices/virtual/thermal/thermal_zone1$ cat temp
cat: read error: Invalid argument