SIM not reported as locked after toggling FlightMode (arale) or re-starting ofono
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
Undecided
|
Unassigned | ||
ofono (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
To reproduce this in mako:
1. Start mako with a locked SIM
2. Enter PIN
3. list-modems outpus shows
[ /ril_0 ]
[ org.ofono.
PinRequired = none
LockedPins = pin
4. Execute
# restart ofono
5. list-modems outpus shows
[ /ril_0 ]
[ org.ofono.
PinRequired = none
LockedPins =
which is wrong, as the PIN is enabled, although you do not need to enter it at this moment.
The origin of this is that ofono core sets LockedPins only if it notes that we are required to enter the PIN. When the SIM atom is created, if at that moment there is no need to insert the PIN it will not set the PIN as locked (=enabled).
For mako this is not a big issue unless it is re-spawned after a crash, but in other devices (arale), this happens simply switching off, then on flight mode.
Happens in vivid-proposed image #86.
Changed in ofono (Ubuntu): | |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
summary: |
- SIM is not reported as locked after re-starting ofono + SIM not reported as locked after toggling FlightMode (arale) or re- + starting ofono |
@Alfonso
What's the result when this happens on krillin and/or arale? Does the SIM become unusable or this merely a semantics issue ( ie. the fact that LockedPins doesn't specify "pin" ).