** Description changed:

  Sometimes the WWAN value in /var/lib/urfkill/saved-states is incoherent
  with the flight mode status. Note that in this case we have dual SIM (I
  have not tried yet with just one modem, could happen too).
  
  Start with flight mode=0. soft=false in all sections in saved-states.
  /usr/share/urfkill/scripts/flight-mode 1
  # restart to write values in saved-state
  restart urfkill
  /usr/share/urfkill/scripts/flight-mode 0
  # restart to write values in saved-state
  restart urfkill
  
  The modem is not onlined. soft=true for WWAN in saved-states, whilst the
  remaining sections have the right value:
  
  # cat /var/lib/urfkill/saved-states
  [WLAN]
  soft=false
  
  [BLUETOOTH]
  soft=false
  
  [UWB]
  soft=false
  
  [WIMAX]
  soft=false
  
  [WWAN]
  soft=true
  
  [GPS]
  soft=false
  
  [FM]
  soft=false
  
  [NFC]
  soft=false
  
  [ALL]
  soft=false
  
  This bug is triggered by a failure of an ofono SetProperty 'Online'
  failure.  In this case, the MTK modem was involved.
  
  syslog attached. urfkilld executed with -d in upstart script.
+ 
+ Workaround:
+ 
+ It should be possible to restore WWAN state by either:
+ 
+ - deleting the saved-states file and rebooting
+ 
+ OR
+ 
+ - stop urfkill 
+ - edit the file and change the [WWAN] soft=true to soft=false
+ - start urfkill

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

Title:
  Wrong WWAN value in saved-states if ofono 'Online' toggle fails

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

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

Reply via email to