I have seen that in some cases if urfkill is a bit slower that ofono you
can get an InProgress error instead of NotAvailable, which might be an
actual bug. In this case, the first call to set Online property
succeeds, and the second one returns the InProgress error. Looking at
logs from

https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1388065

you see

Oct 31 07:09:59 ubuntu-phablet URfkill[4496]: set_soft: Setting WWAN to 
unblocked
Oct 31 07:09:59 ubuntu-phablet URfkill[4496]: Modem found: '/ril_0'
Oct 31 07:09:59 ubuntu-phablet URfkill[4496]: Setting device 101 (WWAN) to 
unblocked
Oct 31 07:09:59 ubuntu-phablet URfkill[4496]: set_soft: Setting WWAN to 
unblocked
Oct 31 07:09:59 ubuntu-phablet URfkill[4496]: set_soft: Setting WWAN to 
unblocked
Oct 31 07:09:59 ubuntu-phablet URfkill[4496]: device_changed_cb: Fake 
Manufacturer Fake Modem Model
Oct 31 07:09:59 ubuntu-phablet URfkill[4496]: set_soft: Setting WWAN to 
unblocked
Oct 31 07:09:59 ubuntu-phablet URfkill[4496]: device_changed_cb: Fake 
Manufacturer Fake Modem Model
Oct 31 07:09:59 ubuntu-phablet URfkill[4496]: <warning> Could not set Online 
property in oFono: GDBus.Error:org.ofono.Error.InProgress: Operation already in 
progress
Oct 31 07:09:59 ubuntu-phablet URfkill[4496]: <warning> Could not set Online 
property in oFono: GDBus.Error:org.ofono.Error.InProgress: Operation already in 
progress

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

Title:
  urfkill does not wait for modem to be powered to online it

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

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

Reply via email to