So some good news and bad news:
I like good news first:
Thanks to Purisms work in purple-mm-sms, integrating a Modem Manager plugin was actually really straight forward. I have a beta version of it here:
https://source.puri.sm/kop316/mmsd/-/tree/ModemManager
https://source.puri.sm/kop316/purple-mm-...demManager
I still need to look at ofono's plugin and see what else makes sense to integrate. The primary one I see if their bearer handler (which makes a lot more sense now).
And now for the bad news:
It is largely related to this issue:
https://gitlab.freedesktop.org/mobile-br...issues/227
As of now, the Pinephone can only handle one bearer at a time. What does this mean in plain english? If you have a carrier with an MMS APN AND a data APN, you can only have access to MMS or data, NOT both at once. If it is a hardware limitation, there's nothing that can be done. If it is a software limitation, that has to be changed in Modem Manager
EDIT:
So with some help from Mr. Sadiq at Purism, we found the following:
Like I said before, Modem Manager should be able to handle more than one bearer:
https://gitlab.freedesktop.org/mobile-br...list.c#L62
The default value is "1":
https://gitlab.freedesktop.org/mobile-br...ist.c#L374
Unless the driver overrides it. So I suspect the issue is that the EC25 driver does not override this (but I need to look into the code).
If someone wants to look into it, that would be appreciated!
.
I like good news first:
Thanks to Purisms work in purple-mm-sms, integrating a Modem Manager plugin was actually really straight forward. I have a beta version of it here:
https://source.puri.sm/kop316/mmsd/-/tree/ModemManager
https://source.puri.sm/kop316/purple-mm-...demManager
I still need to look at ofono's plugin and see what else makes sense to integrate. The primary one I see if their bearer handler (which makes a lot more sense now).
And now for the bad news:
It is largely related to this issue:
https://gitlab.freedesktop.org/mobile-br...issues/227
As of now, the Pinephone can only handle one bearer at a time. What does this mean in plain english? If you have a carrier with an MMS APN AND a data APN, you can only have access to MMS or data, NOT both at once. If it is a hardware limitation, there's nothing that can be done. If it is a software limitation, that has to be changed in Modem Manager
EDIT:
So with some help from Mr. Sadiq at Purism, we found the following:
Like I said before, Modem Manager should be able to handle more than one bearer:
https://gitlab.freedesktop.org/mobile-br...list.c#L62
The default value is "1":
https://gitlab.freedesktop.org/mobile-br...ist.c#L374
Unless the driver overrides it. So I suspect the issue is that the EC25 driver does not override this (but I need to look into the code).
If someone wants to look into it, that would be appreciated!
.