:: Re: [maemo-leste] Hack for ofono go…
Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Lindgren
Data:  
A: Merlijn Wajer
CC: Pavel Machek, Sebastian Reichel, maemo-leste
Assumpte: Re: [maemo-leste] Hack for ofono gobi qmi interface for droid4
Hi,

Adding also maemo-leste@??? to Cc.

* Tony Lindgren <tony@???> [200401 07:50]:
> * Merlijn Wajer <merlijn@???> [200401 09:54]:
> > I think they probably use these patches (patch 5 apparently adds voice
> > calls to ofono with qmi):
> >
> > https://gitlab.com/postmarketOS/pmaports/-/tree/master/temp/ofono
>
> OK thanks for the link! I gave those patches a try with my earlier droid4
> qmi detection patch and get the following error trying to make a voicecall:


Anyways, so I did some more experiments with qmimodem, and looks
like we cannot use qmi for voice and sms. At least for incoming
notifications qmimodem don't seem to work for droid4. This is
probably because the motorola firmware may have some hardcoded
hacks that prevent notifications from being rerouted.

For example, drivers/qmimodem/sms.c function get_routes_cb()
attempts to reroute in coming sms notifications to ofono, but
looks like the updated NVRAM values are just ignored by the
motorola firmware.

But we can still use drivers/qmimodem for a bunch of stuff like data
and network registration and sim stuff. So I combined my earlier qmi
changes and Pavel's earlier motorolamodem changes into a new branch
for testing at [0][1] :)

I'm hoping for an initial minimal set of patches to send to the
ofono list after the kernel dependency with /dev/motmdm* clears
hopefully for v5.8 merge window.

Pavel, I cleaned up your voicecall patch a bit. Care to check if
something else should still be left out in addition to the debug
stuff I dropped?

I did not touch drivers/motorolamodem/sms.c so far, so this only
works for voice and maybe data so far. Do you have a more cleaned
up version of sms.c available somewhere other han your m-v1.29-1
branch?

Regards,

Tony

[0] git://github.com/tmlind/ofono motmdm
[1] https://github.com/tmlind/ofono/commits/motmdm