Urfkill saved wrong WWAN state after enabling/disabling flight mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Unassigned | ||
ofono (Ubuntu RTM) |
Incomplete
|
Undecided
|
Unassigned | ||
urfkill (Ubuntu) |
Confirmed
|
Critical
|
Unassigned | ||
urfkill (Ubuntu RTM) |
Fix Released
|
Critical
|
Alfonso Sanchez-Beato |
Bug Description
current build number: 247
device name: krillin
channel: ubuntu-
last update: 2015-02-27 04:59:10
version version: 247
version ubuntu: 20150227
version device: 20150225-b67e0b6
version custom: 20150216-561-29-186
After enabling/disabling flight mode, the urfkill state for WWAN got in a broken state making me unable to get ofono to work anymore (not even after trying to enable flight mode again, or even rebooting the phone).
Here is what I did when I got this bug:
1 - Carrier signal was really poor, making ofono to start searching for the carrier again (could see 'searching' in the indicator).
2 - Not connected to any WIFI AP (but wifi was enabled).
3 - After not being able to automatically connect to my carrier's network, I decided to enable/disable flight mode while it was still searching for the network.
4 - That made ofono to be in offline mode, and never really being able to enable it again (not even after reboots).
Looking at the urfkill state file, it seems WWAN was soft=true even when flight mode was not enabled anymore, which could explain the reason why I'm not able to register anymore not even between reboots.
Related branches
Changed in urfkill (Ubuntu RTM): | |
status: | New → Confirmed |
Changed in urfkill (Ubuntu RTM): | |
assignee: | Tony Espy (awe) → Alfonso Sanchez-Beato (alfonsosanchezbeato) |
Changed in ofono (Ubuntu RTM): | |
status: | New → Incomplete |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
milestone: | none → ww13-2015 |
tags: | added: connectivity |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
phablet@ ubuntu- phablet: /usr/share/ ofono/scripts$ ./list-modems W1315.MD. WG.MP.V37. P5, 2014/05/15 11:49 CallVolume org.ofono. VoiceCallManage r org.ofono. NetworkTime CallVolume ]
MicrophoneVolu me = 0
SpeakerVolume = 0 VoiceCallManage r ]
EmergencyNumbe rs = 08 000 999 110 112 911 118 119 NetworkTime ]
[ /ril_1 ]
Manufacturer = Fake Manufacturer
Online = 0
Revision = MOLY.WR8.
Lockdown = 0
Features =
Interfaces = org.ofono.
Type = hardware
Model = Fake Modem Model
Emergency = 0
Serial = 354142060305523
Powered = 1
[ org.ofono.
Muted = 0
[ org.ofono.
[ org.ofono.
[ /ril_0 ] W1315.MD. WG.MP.V37. P5, 2014/05/15 11:49 CallVolume org.ofono. VoiceCallManage r org.ofono. NetworkTime CallVolume ]
MicrophoneVolu me = 0
SpeakerVolume = 0 VoiceCallManage r ]
EmergencyNumbe rs = 08 000 999 110 112 911 118 119 NetworkTime ]
Manufacturer = Fake Manufacturer
Online = 0
Revision = MOLY.WR8.
Lockdown = 0
Features =
Interfaces = org.ofono.
Type = hardware
Model = Fake Modem Model
Emergency = 0
Serial = 354142060025527
Powered = 1
[ org.ofono.
Muted = 0
[ org.ofono.
[ org.ofono.
phablet@ ubuntu- phablet: /usr/share/ urfkill/ scripts$ ./flight-mode
flight-mode is: 0
phablet@ ubuntu- phablet: /usr/share/ urfkill/ scripts$ ./enumerate p/URfkill/ devices/ 0 p/URfkill/ devices/ 0 p/URfkill/ devices/ 0 .URfkill. Device. Kernel
/org/freedeskto
Printing props for unspecialized device: /org/freedeskto
Printing props for Kernel device: /org/freedeskto
index: 0
platform: 0
urftype: org.freedesktop
type: 2
name: hci0
hard: 0
soft: 0
/org/freedeskto p/URfkill/ devices/ 200 p/URfkill/ devices/ 200 p/URfkill/ devices/ 200 .URfkill. Device. Hybris
Printing props for unspecialized device: /org/freedeskto
Printing props for Hybris device: /org/freedeskto
index: 200
platform: 0
urftype: org.freedesktop
type: 1
name: hybris_wifi
soft: 0
/org/freedeskto p/URfkill/ devices/ 100 p/URfkill/ devices/ 100 p/URfkill/ devices/ 100 .URfkill. Device. Ofono
Printing props for unspecialized device: /org/freedeskto
Printing props for Ofono device: /org/freedeskto
index: 100
platform: 0
urftype: org.freedesktop
type: 5
name: Fake Manufacturer Fake Modem Model
soft: 1
/org/freedeskto p/URfkill/ devices/ 101 p/URfkill/ devices/ 101 p/URfkill/ devices/ 101 .URfkill. Device. Ofono
Printing props for unspecialized device: /org/freedeskto
Printing props for Ofono device: /org/freedeskto
index: 101
platform: 0
urftype: org.freedesktop
type: 5
name: Fake Manufacturer Fake Modem Model
soft: 1