Both modem interfaces go momentarily down if one SIM goes PUK locked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ofono (Ubuntu) |
Fix Released
|
Critical
|
Alfonso Sanchez-Beato | ||
ofono (Ubuntu RTM) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
USED IMAGE:
current build number: 16
device name: krillin
channel: ubuntu-
last update: 2014-09-04 11:27:34
version version: 16
version ubuntu: 20140904
version device: 20140903-d4c824a
TEST STEPS:
1) Start phone with PIN locked SIM in both card slots
2) ./enter-pin /ril_0 pin <code>
3) ./enter-pin /ril_1 pin <code>
4) ./unlock-pin /ril_1 pin <wrong code> X 3
EXPECTED RESULT
Only cellular network related interfaces disappear for the modem that lost it's SIM access. All other interfaces should stay alive and well.
ACTUAL RESULT
{SimManager} [/ril_1] Retries = { pin2 = 3, puk2 = 10, puk = 10, pin = 2 }
{SimManager} [/ril_1] Retries = { pin2 = 3, puk2 = 10, puk = 10, pin = 1 }
{SimManager} [/ril_1] Retries = { pin2 = 3, puk2 = 10, puk = 10, pin = 0 }
{SimManager} [/ril_1] PinRequired = puk
{Manager} [ModemAdded] /ril_0 { Powered = False, Lockdown = False, Type = hardware, Features = [], Interfaces = [], Emergency = False, Online = False }
{Manager} [ModemAdded] /ril_1 { Powered = False, Lockdown = False, Type = hardware, Features = [], Interfaces = [], Emergency = False, Online = False }
Related branches
- Tony Espy: Approve
- Sergio Schvezov: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 674 lines (+295/-62)14 files modifieddebian/changelog (+41/-0)
drivers/mtkmodem/radio-settings.c (+7/-1)
drivers/rilmodem/gprs.c (+9/-1)
drivers/rilmodem/gprs.h (+1/-0)
gril/gril.c (+2/-2)
gril/grilreply.c (+45/-7)
gril/ril_constants.h (+12/-0)
include/modem.h (+4/-0)
plugins/mtk.c (+115/-36)
plugins/ril.c (+8/-12)
plugins/ubuntu-apndb.c (+1/-1)
src/modem.c (+14/-1)
src/sim.c (+1/-1)
unit/test-grilreply.c (+35/-0)
Changed in ofono (Ubuntu): | |
assignee: | nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato) |
importance: | Undecided → Critical |
status: | Incomplete → Triaged |
Changed in ofono (Ubuntu): | |
status: | Triaged → Fix Committed |
tags: | added: rtm14 touch-2014-0918 |
Changed in ofono (Ubuntu): | |
status: | Fix Committed → In Progress |
tags: |
added: touch-2014-09-18 removed: touch-2014-0918 |
tags: |
added: touch-2014-09-25 removed: touch-2014-09-18 |
Changed in ofono (Ubuntu): | |
status: | In Progress → Fix Committed |
I see the two ModemAdded signals, do the modem instances completely disappear, and if so, why aren't there corresponding ModemRemoved signals?
Also, can you check /var/crash to see if maybe ofonod is crashing? If this happens, you also should see the PID change in the ofono messages in /var/log/syslog.