First, as Pat commented there has been some confusion in the bug between
actions:

Enter PIN -> Enter PIN after modem reboot to be able to use the phone
Unlock PIN -> Deactivate PIN so no PIN needs to be entered after modem reboot

For both actions you need to use the current PIN. Maybe some rewording
of these actions in the GUI can remove the confusion for the user (Enter
PIN vs Activate/deactivate PIN?)

Second, Tony is right and the behaviour for the "Unlock PIN" action
depends on the device if we still have not entered the PIN ("Enter PIN")
after a reboot. Using ofono scripts:

/usr/share/ofono/scripts/unlock-pin /ril_0 pin XXXX

works for mako, but for krillin we have to do

/usr/share/ofono/scripts/enter-pin /ril_0 pin XXXX
/usr/share/ofono/scripts/unlock-pin /ril_0 pin XXXX

TBH krillin behaviour is what I would have expected to happen usually,
and of course doing the two steps for mako works too (mako's modem FW is
probably doing itself the two steps if needed). So I would assume
krillin behaviour as the default.

>From a user perspective, my opinion is that displaying an error when the
user tries to unlock the PIN saying "you need to enter the PIN first"
helps the user understand the difference between entering PIN and PIN
activation. Note also that this problem does not happen for non-Ubuntu
phones, as afaik in all of them you have to enter the PIN on start to
use the phone if it is activated.

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

Title:
  cannot unlock SIM using system-settings

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

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

Reply via email to