Ticket #1852 (assigned defect)

Opened 5 years ago

Last modified 3 years ago

Can't register on GSM Network

Reported by: jonquark Owned by: openmoko-devel
Priority: normal Milestone: Om2008.9
Component: unknown Version: GTA02v6
Severity: normal Keywords:
Cc: erin_yueh@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible: always

Description

I've tried 3 different O2 sims in the UK (2 contract, 1 pre-pay). I can't get the Freerunner to register on the GSM network. (It also fails on 2007.2 and FSO).

I get +CME ERROR: 13 (rather than 10) so I assume (wrongly?) that I'm putting the SIMs in correctly.

I'll attach the output of logread to this defect, is there anything else I can to to fix/workaround or help debug this issue?

Attachments

log.log (63.3 KB) - added by jonquark 5 years ago.
Output of logread on 2008.8 showing failing to register on GSM network

Change History

Changed 5 years ago by jonquark

Output of logread on 2008.8 showing failing to register on GSM network

comment:1 Changed 5 years ago by jonquark

This *might* be a dupe of #666 but that bug is specifically about 3G sims and none of the sims I've tried have been 3G.

comment:2 Changed 5 years ago by regina_kim

  • Milestone changed from Om2008.8 to Om2008.9

comment:3 Changed 5 years ago by jonquark

I have an example prepay SIM I can post to somewhere/someone if it helps. It's a UK SIM (prepaid with 10UKP) so you might be unable to make calls outside the UK but it should get further than the error 10/13 stage

comment:4 Changed 5 years ago by erin_yueh

  • Owner changed from hardware to openmoko-kernel
  • Cc erin_yueh@… added
  • Component changed from hardware to System Software

comment:5 Changed 5 years ago by andy

I don't think kernel side can do anything here Erin, GSM chipset talks to SIM card without asking us.

comment:6 follow-up: ↓ 8 Changed 5 years ago by erin_yueh

  • Status changed from new to assigned
  • Owner changed from openmoko-kernel to openmoko-devel
  • Component changed from System Software to Distro

hi jonquark,
thanks a lot for providing log file and your local network registration information to us. That is very useful. Also, could you provide us more information about your phone?

  1. can these O2 sim cards register to GSM network from other phone normally?
  1. from 3GPP TS 27.007 spec, +CME error 13 means 'SIM failure'. +CME error 10 means 'SIM not inserted'. if there is network problem, you would get other error code. Like +CME error 30 means 'no network service', +CME error 32 means 'network not allowed - emergency calls only'.

since you get error code 13, it looks like SIM card problem. Are these 3 cards all failed? and get the same error code?

  1. if you know how to send AT commands, you may try to type these commands.
  1. retrieve GSM firmware version

AT+CGMR

  1. retrieve IMEI code

AT+CGSN

  1. enable network registeration

AT+CREG=2

  1. connect to a network automatically

AT+COPS=0

if you'd like to know more about GSM and AT commands, you may read this:
http://wiki.openmoko.org/wiki/GSM

comment:7 follow-up: ↓ 9 Changed 5 years ago by graeme

Hi, I just went out and purchased a O2 SIM pre-pay.

Using qtopia-x11 it registers to the network and I can make/receive calls fine.

comment:8 in reply to: ↑ 6 ; follow-up: ↓ 11 Changed 5 years ago by jonquark

Replying to erin_yueh:

  1. can these O2 sim cards register to GSM network from other phone normally?

Sorry - I should have stated that all these cards work fine in other (2G) phones, including my
Nokia 6230i and my wife's Motorola.

since you get error code 13, it looks like SIM card problem. Are these 3 cards all failed? and > get the same error code?

all the cards behave in the same manner, I'm guessing it's a problem with the modem firmware?
It sounds a lot like #666 (except for 2G SIMs). All the SIMs I have look like the not working
SIM labelled "O2 Germany" on:
http://wiki.openmoko.org/wiki/FreeRunner_unable_to_work_with_3G_SIM_cards
(i.e. the side "terminals" on the chip are separated by more than just a thin line which
is what the working SIM card I have (Vodaphone UK) looks like.

Here is the output from the AT Commands you requested:
AT+CGMR
STR=`AT+CGMR'
RSTR=`+CGMR: "HW: GTA02BV5, GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko8"'
AT+CGSN
STR=`AT+CGSN'
RSTR=`+CGSN: 354651011631720'
AT+CREG=2
STR=`AT+CREG=2'
RSTR=`OK'
AT+COPS=0
STR=`AT+COPS=0'
cme error: 3
RSTR=`+CME ERROR: 3'

comment:9 in reply to: ↑ 7 Changed 5 years ago by jonquark

Replying to graeme:

Hi, I just went out and purchased a O2 SIM pre-pay.

Using qtopia-x11 it registers to the network and I can make/receive calls fine.

I'm very envious. Does the chip look like the O2 Germany chips at the bottom of:
http://wiki.openmoko.org/wiki/FreeRunner_unable_to_work_with_3G_SIM_cards

i.e. are the terminals separated by more than thin black lines?

comment:10 Changed 5 years ago by graeme

Yes the chip looks exactly like that, so therefore same manufacterer. The screen printing is different though.

89441
10064
40903
1980
3Gp9*

Instead of the O2 logo.

comment:11 in reply to: ↑ 8 Changed 5 years ago by erin_yueh

Replying to jonquark:

Replying to erin_yueh:

  1. can these O2 sim cards register to GSM network from other phone normally?

Sorry - I should have stated that all these cards work fine in other (2G) phones, including my
Nokia 6230i and my wife's Motorola.

since you get error code 13, it looks like SIM card problem. Are these 3 cards all failed? and > get the same error code?

all the cards behave in the same manner, I'm guessing it's a problem with the modem firmware?
It sounds a lot like #666 (except for 2G SIMs). All the SIMs I have look like the not working
SIM labelled "O2 Germany" on:
http://wiki.openmoko.org/wiki/FreeRunner_unable_to_work_with_3G_SIM_cards
(i.e. the side "terminals" on the chip are separated by more than just a thin line which
is what the working SIM card I have (Vodaphone UK) looks like.

Here is the output from the AT Commands you requested:
AT+CGMR
STR=`AT+CGMR'
RSTR=`+CGMR: "HW: GTA02BV5, GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko8"'
AT+CGSN
STR=`AT+CGSN'
RSTR=`+CGSN: 354651011631720'
AT+CREG=2
STR=`AT+CREG=2'
RSTR=`OK'
AT+COPS=0
STR=`AT+COPS=0'
cme error: 3
RSTR=`+CME ERROR: 3'

your firmware version is already the latest one and with a valid imei code.
when you tried to register to the network, you got a cme error 3.
+CME ERROR: 3 means operation not allowed

graeme is living in UK and he can use O2 UK sim card without problem. I am sorry that you cannot use it as well. Would you like to replace with a new SIM card from O2? sometimes it's really a SIM card problem.

comment:12 Changed 5 years ago by zecke

  • Component changed from Distro to unknown

Important but not a thing for the distro team.

comment:13 Changed 5 years ago by thakoman

I recive this error even with a beta9 gsm-firmware(opter sim's work). CME 10 means sim not found? Has anyone an suggestion where to search this issue? wherever i search i Cant find an answer if it is an software or and hardware-thing.

Note: See TracTickets for help on using tickets.