Yea, looks like this may have been my mistake.

Jonas asked me to check which settings were persisted by ofono, and I
checked the core ofono support for saved settings, and didn't actually
think about the possibility that the modem itself could persist this
setting.

I just tested on mako/image #u107 and was able to change the tech-pref
to 'gsm', and it persists across reboots.

Note, our implementation of tech-pref is slightly different than the
documented ofono api:

https://github.com/rilmodem/ofono/blob/master/doc/radio-settings-api.txt

First, we should only use 'gsm', 'umts', and if supported by the phone (
see below ), 'lte'.

ofono states that setting the tech-pref to a particular technology pins
the modem to that technology.  Our usage is that a particular technology
is the 'preferred' tech, although the modem is free to choose another
technology that uses less power ( ie. 'umts' means prefer 'umts', but
also allow 'gsm' ).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1334802

Title:
  ofono tech pref does not persist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1334802/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to