Ticket #759 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.

(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).