Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #375 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

T-mobile no longer recognized -- shows "Unknown"

Reported by: johnsu01 Owned by: jluebbe
Priority: minor Milestone:
Component: framework/ogsmd Version:
Keywords: Cc:

Description

Using framework from git, up-to-date, with moko11 firmware, 2.6.29 andy-tracking kernel and Debian. This is a US T-Mobile card, and at some point recently it stopped (usually) showing T - Mobile in registration and now just says Unknown.

Mar 11 17:13:32 calvino ogsmd.device INFO     org.freesmartphone.GSM.Network.Status: {'strength': 9
8, 'cid': u'A50C', 'registration': 'home', 'lac': u'1449', 'act': 'GSM', 'code': 31026, 'mode': 'au
tomatic', 'provider': 'Unknown'}
Mar 11 17:13:32 calvino ogsmd.server INFO     service status now online
Mar 11 17:13:33 calvino ogsmd.device INFO     org.freesmartphone.GSM.Network.Status: {'strength': 9
8, 'cid': u'A50C', 'registration': 'home', 'lac': u'1449', 'act': 'GSM', 'code': 31026, 'mode': 'au
tomatic', 'provider': 'Unknown'}

But sometimes:

/var/log/syslog.1.gz:Mar 10 06:35:55 calvino ogsmd.server INFO     service status now offline      
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <UnsolicitedResponseChannel via
 /dev/pts/1>: _readyToRead: watch timeout = None                                                   
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <UnsolicitedResponseChannel via
 /dev/pts/1>: got 26 bytes: '\r\n+CREG: 1,"13ED","A0A1"\r\n'                                       
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: _
readyToSend: watch timeout = None                                                                  
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: s
ending 8 bytes: 'AT+CSQ\r\n'                                                                       
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd    DEBUG    checking for TI Calypso recamping bu
g...                                                                                               
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd    DEBUG    reregistering 1 times within 0 secon
ds. unreg/reg-Intervals are: ['1.35']                                                              
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd    DEBUG    reregistering factor: 226515.07 reca
mpings/minute                                                                                      
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: _
readyToRead: watch timeout = 7762                                                                  
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: g
ot 21 bytes: '\r\n+CSQ: 99,0 \r\n\r\nOK\r\n'                                                       
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: C
OMPLETED 'AT+CREG?' => ['+CREG: 0,1', 'OK']
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: _
readyToSend: watch timeout = None
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: s
ending 26 bytes: 'AT+CREG=2;+CREG?;+CREG=0\r\n'
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: _
readyToRead: watch timeout = 7768
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: g
ot 34 bytes: '\r\n+CREG: 2,1,"13ED","A0A1"\r\n\r\nOK\r\n'
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: C
OMPLETED 'AT+CREG=2;+CREG?;+CREG=0' => ['+CREG: 2,1,"13ED","A0A1"', 'OK']
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: _
readyToSend: watch timeout = None
/var/log/syslog.1.gz:Mar 10 06:35:56 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: s
ending 37 bytes: 'AT+COPS=3,0;+COPS?;+COPS=3,2;+COPS?\r\n'
/var/log/syslog.1.gz:Mar 10 06:35:57 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: _
readyToRead: watch timeout = 7771
/var/log/syslog.1.gz:Mar 10 06:35:57 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: g
ot 55 bytes: '\r\n+COPS: 0,0,"T - Mobile"\r\n\r\n+COPS: 0,2,"31026"\r\n\r\nOK\r\n'
/var/log/syslog.1.gz:Mar 10 06:35:57 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: C
OMPLETED 'AT+COPS=3,0;+COPS?;+COPS=3,2;+COPS?' => ['+COPS: 0,0,"T - Mobile"', '+COPS: 0,2,"31026"',
 'OK']
/var/log/syslog.1.gz:Mar 10 06:35:57 calvino ogsmd.device INFO     org.freesmartphone.GSM.Network.S
tatus: {'cid': u'A0A1', 'registration': 'home', 'lac': u'13ED', 'act': 'GSM', 'code': 31026, 'mode'
: 'automatic', 'provider': 'Unknown'}
/var/log/syslog.1.gz:Mar 10 06:35:57 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: _
readyToSend: watch timeout = None
/var/log/syslog.1.gz:Mar 10 06:35:57 calvino ogsmd.server INFO     service status now online

Change History

comment:1 Changed 4 years ago by drs

  • Priority changed from major to minor

A few other users are experiencing this. Looks like it might be due to leading zeros for MNCs in /etc/freesmartphone/ogsmd/networks.tab. See the SHR archives[1]

[1]http://lists.projects.openmoko.org/pipermail/shr-devel/2009-April/001418.html

comment:2 Changed 4 years ago by daniel

  • Owner changed from mickey to daniel
  • Status changed from new to assigned

Should be fixed in [edbba5e161133c28cc41c96afb8d9ea98c46d3e0], please test.

comment:3 Changed 4 years ago by jluebbe

  • Owner changed from daniel to jluebbe
  • Status changed from assigned to accepted

According to

var/log/syslog.1.gz:Mar 10 06:35:57 calvino ogsmd.channel DEBUG    <MiscChannel via /dev/pts/0>: g
ot 55 bytes: '\r\n+COPS: 0,0,"T - Mobile"\r\n\r\n+COPS: 0,2,"31026"\r\n\r\nOK\r\n'

the network name is known to the modem, so why is it trying to look it up?

comment:4 Changed 4 years ago by jluebbe

This is also the explaination why phone shows O2 instead of o2 - de

comment:5 Changed 4 years ago by drs

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

This patch has resolved the issue for me. jluebbe does bring up a good point though..

comment:6 Changed 4 years ago by johnsu01

Sorry, my FR was off getting buzz-fixed :). But I can verify that this fix works for me, at least I see T-Mobile now instead of Unknown.

Note: See TracTickets for help on using tickets.