ModemManager PUK-locks sim cards if the wrong PIN code is entered once

Bug #430067 reported by Torgny Johansson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
modemmanager (Ubuntu)
Fix Released
High
Alexander Sack
Karmic
Fix Released
High
Alexander Sack

Bug Description

If you have a PIN-locked sim card and enter the wrong PIN code when prompted, ModemManager will immediately do three failed attempts to unlock it which makes the sim card PUK locked. Note that you only have to enter the wrong code ONCE and this will happen. Expected behaviour would be to only do one attempt and then ask for the PIN code again.

MM version: 0.2.git.20090909t142854.64b7be7-0ubuntu1 on Kubuntu 9.10.

Revision history for this message
Torgny Johansson (torgny-johansson) wrote :

ModemManager log:

** Message: (ttyACM1) opening serial device...
** (modem-manager:30232): DEBUG: (ttyACM1): --> 'AT&F E0 V1 X4 &C1 +CMEE=1<CR>'
** (modem-manager:30232): DEBUG: (ttyACM1): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:30232): DEBUG: (ttyACM1): --> 'AT+CFUN=1<CR>'
** (modem-manager:30232): DEBUG: (ttyACM1): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:30232): DEBUG: (ttyACM1): --> 'AT+CPIN?<CR>'
** (modem-manager:30232): DEBUG: (ttyACM1): <-- '<CR><LF>+CPIN: SIM PIN<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:30232): DEBUG: (ttyACM1): --> 'AT+CPIN="1111"<CR>'
** (modem-manager:30232): DEBUG: (ttyACM1): <-- '<CR><LF>+CME ERROR: 11<CR><LF>'
** (modem-manager:30232): DEBUG: Got failure code 11: SIM PIN required
** (modem-manager:30232): DEBUG: (ttyACM1): --> 'AT+CPIN="1111"<CR>'
** (modem-manager:30232): DEBUG: (ttyACM1): <-- '<CR><LF>+CME ERROR: 11<CR><LF>'
** (modem-manager:30232): DEBUG: Got failure code 11: SIM PIN required
** (modem-manager:30232): DEBUG: (ttyACM1): --> 'AT+CPIN="1111"<CR>'
** (modem-manager:30232): DEBUG: (ttyACM1): <-- '<CR><LF>+CME ERROR: 12<CR><LF>'
** (modem-manager:30232): DEBUG: Got failure code 12: SIM PUK required
** (modem-manager:30232): DEBUG: (ttyACM1): --> 'AT+CREG=0<CR>'
** (modem-manager:30232): DEBUG: (ttyACM1): <-- '<CR><LF>+CME ERROR: 12<CR><LF>'
** (modem-manager:30232): DEBUG: Got failure code 12: SIM PUK required
** (modem-manager:30232): DEBUG: (ttyACM1): --> 'AT+CMER=0<CR>'
** (modem-manager:30232): DEBUG: (ttyACM1): <-- '<CR><LF>+CME ERROR: 12<CR><LF>'
** (modem-manager:30232): DEBUG: Got failure code 12: SIM PUK required
** Message: (ttyACM1) closing serial device...

Changed in modemmanager (Ubuntu):
assignee: nobody → Alexander Sack (asac)
Alexander Sack (asac)
Changed in modemmanager (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Alexander Sack (asac) wrote :

the problem that made mm lock you SIM when entering a wrong PIN is fixed. There are some other issues sourrounding PUK handling left, that I put into bug 449401

Changed in modemmanager (Ubuntu Karmic):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.