Ticket #759 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

GSM_REGISTER_TIMEOUT is too short

Reported by: rod@… Owned by: thomas@…
Priority: high Milestone:
Component: openmoko-dialer Version: 2007.2
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

#define GSM_REGISTER_TIMEOUT 5000

My phone takes more than 5 seconds to power up the gsm modem according to
/tmp/gsm.log, and when the AT+COPS=0 occurs before the modem is fully powered
up, then the modem fails to register correctly after that.

Doubling the timeout fixes this. In reality, gsmd shouldn't accept or submit a
new command to the modem until it gets the acknowledgement that the modem has
powered up successfully.

Change History

comment:1 Changed 12 years ago by rod@…

(I'm not suggesting that doubling the timeout is the correct fix - but it is a
good workaround to get people's phones registering reliably until the correct
fix is put in place).

comment:2 Changed 12 years ago by njp@…

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

Agreed. I have changed the timeout in svn.

Note: See TracTickets for help on using tickets.