Ticket #235 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

needs to restart both gsmd and phone-kit in order to register

Reported by: Deubeuliou Owned by: ppronchery
Priority: urgent Milestone: rev5
Component: phone_stack Version: trunk
Severity: blocker Keywords:
Cc:

Description (last modified by Deubeuliou) (diff)

After booting, the PIN is asked but then, the phone doesn't register.
I need to restart gsmd and then kill phone-kit (and let it spawn again) in order to get a new PIN-asking window and get registered.

Here is the output of phone-kit at first (when it fail):

root@hackable1:/home/hackable1# cat phonekitlog 
** (phone-kit:1620): DEBUG: moko_network_init calling network_init_gsmd
** (phone-kit:1620): DEBUG: add ourself 0x4ad08 as listener
** (phone-kit:1620): DEBUG: adding 0x4ad08 as listener
** (phone-kit:1620): DEBUG: priv->handle = 0x66a68
** (phone-kit:1620): DEBUG: received GSM_EVT_PIN
** (phone-kit:1620): DEBUG: Pin Requested, listener = 0x4ad08, type = 1
** (phone-kit:1620): DEBUG: phone_msghandler called with subtype = 1, result = 11, data = 0x6b1d8
** (phone-kit:1620): DEBUG: received GSMD_PHONE_POWERUP, result = 11
** (phone-kit:1620): DEBUG: Journal Loaded
** (phone-kit:1620): DEBUG: Device set: default
** (phone-kit:1620): DEBUG: Trying to attach... (nil), default, (nil)
** (phone-kit:1620): DEBUG: Opened mixer
** (phone-kit:1620): DEBUG: Closed mixer
** (phone-kit:1620): DEBUG: Opened mixer
** (phone-kit:1620): DEBUG: Closed mixer
** (phone-kit:1620): DEBUG: Setting element ID
** (phone-kit:1620): DEBUG: Element set
** (phone-kit:1620): DEBUG: Trying to attach... (nil), default, 0x1daf80
** (phone-kit:1620): DEBUG: Opened mixer
** (phone-kit:1620): DEBUG: Attached to mixer
** (phone-kit:1620): DEBUG: Adding IO watch (IN: 1, OUT: 0)
** (phone-kit:1620): DEBUG: Polling for events...
** (phone-kit:1620): DEBUG: add moko_network_add_listener() from PROP_NETWORK property set
** (phone-kit:1620): DEBUG: adding 0x49858 as listener
** (phone-kit:1620): DEBUG: Opening sms store
** (phone-kit:1620): DEBUG: adding 0xadc00 as listener
** (phone-kit:1620): DEBUG: Sms store opened
** (phone-kit:1620): DEBUG: adding 0x1a6ad0 as listener

And after it worked:

root@hackable1:/home/hackable1# cat phonekitlog 
** (phone-kit:1747): DEBUG: moko_network_init calling network_init_gsmd
** (phone-kit:1747): DEBUG: add ourself 0x4ad08 as listener
** (phone-kit:1747): DEBUG: adding 0x4ad08 as listener
** (phone-kit:1747): DEBUG: priv->handle = 0x66af0
** (phone-kit:1747): DEBUG: Journal Loaded
** (phone-kit:1747): DEBUG: Device set: default
** (phone-kit:1747): DEBUG: Trying to attach... (nil), default, (nil)
** (phone-kit:1747): DEBUG: Opened mixer
** (phone-kit:1747): DEBUG: Closed mixer
** (phone-kit:1747): DEBUG: Opened mixer
** (phone-kit:1747): DEBUG: Closed mixer
** (phone-kit:1747): DEBUG: Setting element ID
** (phone-kit:1747): DEBUG: Element set
** (phone-kit:1747): DEBUG: Trying to attach... (nil), default, 0xc8ae8
** (phone-kit:1747): DEBUG: Opened mixer
** (phone-kit:1747): DEBUG: Attached to mixer
** (phone-kit:1747): DEBUG: Adding IO watch (IN: 1, OUT: 0)
** (phone-kit:1747): DEBUG: Polling for events...
** (phone-kit:1747): DEBUG: add moko_network_add_listener() from PROP_NETWORK property set
** (phone-kit:1747): DEBUG: adding 0x49858 as listener
** (phone-kit:1747): DEBUG: Opening sms store
** (phone-kit:1747): DEBUG: adding 0x10fec8 as listener
** (phone-kit:1747): DEBUG: received GSM_EVT_PIN
** (phone-kit:1747): DEBUG: Pin Requested, listener = 0x4ad08, type = 1
** (phone-kit:1747): DEBUG: Sms store opened
** (phone-kit:1747): DEBUG: adding 0x1cdd58 as listener
** (phone-kit:1747): DEBUG: phone_msghandler called with subtype = 1, result = 11, data = 0x29c030
** (phone-kit:1747): DEBUG: received GSMD_PHONE_POWERUP, result = 11
** (phone-kit:1747): DEBUG: pin_msghandler, result = 0
** (phone-kit:1747): DEBUG: PIN accepted!
** (phone-kit:1747): DEBUG: phone_msghandler called with subtype = 1, result = 0, data = 0x296030
** (phone-kit:1747): DEBUG: received GSMD_PHONE_POWERUP, result = 0
** (phone-kit:1747): DEBUG: Phone powered on
** (phone-kit:1747): DEBUG: Searching for network
** (phone-kit:1747): DEBUG: Network registered: LocationAreaCode: 401. CellID: 58a0.
** (phone-kit:1747): DEBUG: import new entry: ****
** (phone-kit:1747): DEBUG: Contacts changed
** (phone-kit:1747): DEBUG: import new entry: ****
[snip]
** (phone-kit:1747): DEBUG: Contacts changed
** (phone-kit:1747): DEBUG: Contacts changed
[snip]
** (phone-kit:1747): DEBUG: Retrying imsi retrieval (5)
** (phone-kit:1747): DEBUG: phone_msghandler called with subtype = 3, result = 1397572395, data = 0x2b4b70

Change History

comment:1 Changed 2 years ago by Deubeuliou

  • Description modified (diff)

comment:2 Changed 2 years ago by vladare

Hello,

It looks like I have the same issue (Registering...) but with PIN turned off.

My Regards,
Vlad

comment:3 Changed 2 years ago by ppronchery

I found it enough to "Enable GSM" in h1settings and then use the GSM applet to "Power-up GSM antenna" in order to register. However this should not be necessary of course...

comment:4 Changed 2 years ago by jcassignol

  • Priority changed from high to urgent
  • Severity changed from major to blocker

comment:5 Changed 2 years ago by jblondon

i think its related to #237 . If the resolution of #237 does not fix this issue then it's a libgmsd problem imho.

comment:6 Changed 2 years ago by vladare

In this case the priority of #237 need be set as urgent.

comment:7 Changed 2 years ago by jblondon

  • Status changed from new to closed
  • Resolution set to duplicate

if the gconf keys are installed properly, no more problem. i'm closing this ticket because the real reason is #237

Note: See TracTickets for help on using tickets.