sorry for the long wait, i had to change my modem so i had a few things i 
had to take care of before continuing ppp dev.

I can't seem to be able to start pppd from ril: actually, th ril doesn't 
seem to call the setupdatacall function at all.

Below is my radio logcat: as you can see, it seems that the ril isn't able 
to setup a data call because the gsm data tracker thinks it's not ready for 
data, but why? 

01-01 01:00:28.500 D/GSM     ( 1021): [IccCard] Broadcasting intent 
ACTION_SIM_STATE_CHANGED LOADED reason null
01-01 01:00:28.507 D/GSM     ( 1021): GSMDataConnTrack handleMessage { 
what=4 when=28505 obj=android.os.AsyncResult@440754e0 }
01-01 01:00:28.539 D/GSM     ( 1021): [GsmDataConnectionTracker] No APN 
found for carrier: 20810
01-01 01:00:28.539 D/GSM     ( 1021): [GsmDataConnectionTracker] setState: 
FAILED
01-01 01:00:28.539 D/GSM     ( 1021): [GsmDataConnectionTracker] Clean up 
connection due to null
01-01 01:00:28.539 D/GSM     ( 1021): [GsmDataConnectionTracker] setState: 
DISCONNECTING
01-01 01:00:28.539 D/GSM     ( 1021): [GsmDataConnectionTracker] 
cleanUpConnection: !tearDown, call conn.resetSynchronously
01-01 01:00:28.539 D/GSM     ( 1021): [GsmDataConnection-1] DcInactiveState: 
msg.what=EVENT_RESET, ignore we're already reset
01-01 01:00:28.539 D/GSM     ( 1021): [GsmDataConnection-1] 
NotifyDisconnectCompleted
01-01 01:00:28.539 D/GSM     ( 1021): [GsmDataConnection-1] clearSettings
01-01 01:00:28.539 D/GSM     ( 1021): [DataConnection] Stop poll NetStat
01-01 01:00:28.539 D/GSM     ( 1021): [GsmDataConnectionTracker] 
cleanupConnection: !notificationDeferred
01-01 01:00:28.539 D/GSM     ( 1021): [GsmDataConnectionTracker] 
gotoIdleAndNotifyDataConnection: reason=null
01-01 01:00:28.539 D/GSM     ( 1021): [GsmDataConnectionTracker] setState: 
IDLE
01-01 01:00:28.570 D/GSM     ( 1021): GSMDataConnTrack handleMessage { 
what=5 when=28549 obj=simLoaded }
01-01 01:00:28.570 D/GSM     ( 1021): [GsmDataConnectionTracker] 
***trySetupData due to simLoaded
01-01 01:00:28.570 D/GSM     ( 1021): [DSAC DEB] trySetupData with 
mIsPsRestricted=false
01-01 01:00:28.570 D/GSM     ( 1021): [GsmDataConnectionTracker] 
trySetupData: Not ready for data:  dataState=IDLE gprsState=1 sim=true 
UMTS=false phoneState=IDLE isDataAllowed=true dataEnabled=true roaming=false 
dataOnRoamingEnable=false ps restricted=false desiredPowerState=true 
MasterDataEnabled=true
01-01 01:00:39.000 D/AT      (  851): AT< +CREG: 1,"1901","2408"
01-01 01:00:39.000 I/RIL     (  851): !!!!!!!!!!!!!!!!!!!!!! 
 reference-ril.c onUnsolicited !!!!!!!!!!!!!!!!!!!!!!1
01-01 01:00:39.000 D/RILJ    ( 1021): [UNSL]< 
UNSOL_RESPONSE_NETWORK_STATE_CHANGED
01-01 01:00:39.000 D/RILJ    ( 1021): [0053]> OPERATOR
01-01 01:00:39.000 D/RIL     (  851): onRequest: OPERATOR
01-01 01:00:39.000 I/RIL     (  851): ##### Request operator
01-01 01:00:39.000 D/AT      (  851): AT> AT+COPS=3,0;+COPS?
01-01 01:00:39.000 D/RILJ    ( 1021): [0054]> GPRS_REGISTRATION_STATE
01-01 01:00:39.000 D/RILJ    ( 1021): [0055]> REGISTRATION_STATE
01-01 01:00:39.007 D/RILJ    ( 1021): [0056]> QUERY_NETWORK_SELECTION_MODE
01-01 01:00:39.023 D/AT      (  851): AT< +COPS: 0,0,"F SFR"
01-01 01:00:39.023 D/AT      (  851): AT< OK
01-01 01:00:39.023 I/RIL     (  851): ##### Request operator: had start
01-01 01:00:39.023 I/RIL     (  851): ##### Request operator: had first int
01-01 01:00:39.023 I/RIL     (  851): ##### Request operator: had next int
01-01 01:00:39.023 I/RIL     (  851): ##### Request operator: had next 
string
01-01 01:00:39.023 I/RIL     (  851): ##### Request operator: succeeded
01-01 01:00:39.023 D/RILJ    ( 1021): [0053]< OPERATOR {F SFR}
01-01 01:00:39.023 D/RIL     (  851): onRequest: GPRS_REGISTRATION_STATE
01-01 01:00:39.023 D/AT      (  851): AT> AT+CGREG?
01-01 01:00:39.031 D/AT      (  851): AT< +CGREG: 1,0
01-01 01:00:39.039 D/AT      (  851): AT< OK
01-01 01:00:39.039 D/RIL     (  851): onRequest: REGISTRATION_STATE
01-01 01:00:39.039 D/AT      (  851): AT> AT+CREG?
01-01 01:00:39.039 D/RILJ    ( 1021): [0054]< GPRS_REGISTRATION_STATE {0, 
ffffffff, ffffffff}
01-01 01:00:39.046 D/AT      (  851): AT< +CREG: 2,1,"1901","2408"
01-01 01:00:39.046 D/AT      (  851): AT< OK
01-01 01:00:39.046 D/RIL     (  851): onRequest: 
QUERY_NETWORK_SELECTION_MODE
01-01 01:00:39.046 I/RIL     (  851): ##### 
 requestQueryNetworkSelectionMode
01-01 01:00:39.046 D/AT      (  851): AT> AT+COPS?
01-01 01:00:39.046 D/RILJ    ( 1021): [0055]< REGISTRATION_STATE {1, 1901, 
2408}
01-01 01:00:39.062 D/AT      (  851): AT< +COPS: 0,0,"F SFR"
01-01 01:00:39.062 D/AT      (  851): AT< OK
01-01 01:00:39.062 D/RILJ    ( 1021): [0056]< QUERY_NETWORK_SELECTION_MODE 
{0}
01-01 01:00:39.062 E/GSM     ( 1021): Wrong network type: 0
01-01 01:00:39.062 E/GSM     ( 1021): Wrong network type: 0
01-01 01:00:39.062 D/GSM     ( 1021): Poll ServiceState done:  oldSS=[0 home 
null null null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: 
-1EmergOnly: false] newSS=[0 home null null null  Unknown CSS not supported 
-1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1 newGprs=1 
oldType=unknown newType=unknown
01-01 01:00:47.523 D/RILJ    ( 1021): [0057]> SIGNAL_STRENGTH
01-01 01:00:47.531 D/RIL     (  851): onRequest: SIGNAL_STRENGTH
01-01 01:00:47.531 D/AT      (  851): AT> AT+CSQ
01-01 01:00:47.539 D/AT      (  851): AT< +CSQ: 24,0
01-01 01:00:47.546 D/AT      (  851): AT< OK
01-01 01:00:47.546 D/RILJ    ( 1021): [0057]< SIGNAL_STRENGTH {24, 0, 0, 0, 
0, 0, 0}

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to