I cannot reproduce the problem. The tech preference property is
successfully and persistently stored inside the modem. Can you be a bit
more specific what you did in what environment?

I see this in the mako device:
 - Setting "gsm" or "umts" preference works every time, and is persistent over 
boot every time (no matter if shut down via power key, or via "reboot" console 
command).
 - Setting "lte" or "any" preference works until reboot, but after reboot the 
status is reported as "umts". I think this is expected behaviour ("umts", "lte" 
and "any" have no practical difference on a 2G/3G dual-mode device).

I used these commands to read and set the technology preference:
dbus-send --print-reply --system --dest=org.ofono /ril_0 
org.ofono.RadioSettings.GetProperties
dbus-send --print-reply --system --dest=org.ofono /ril_0 
org.ofono.RadioSettings.SetProperty string:"TechnologyPreference" 
variant:string:"gsm"

Do you see the same behaviour? I think we should only set the preference
in each boot if the storage in the modem is actually broken.

FWIW, the whole RadioSettings interface seems to be unavailable in the
ofono-phonesim environment (testing with simulated instead of real
modem).

-- 
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