I have got anrdoid rowboat with android version 2.3.4 on TI AM37x
board. Now i want attache usb gsm modem(sierra wireless ariprime
SL8082). When i attache it and restart android than i see in android
"no service" - i cant send sms, or call. When i go to settings >
Wireless & networks > Mobile networks > Network operator i see "Error
while searching for network"

# logcat -b radio
logcat -b radio
I/PHONE   ( 1285): Network Mode set to 0
I/PHONE   ( 1285): Cdma Subscription set to 1
I/PHONE   ( 1285): Creating GSMPhone
D/PHONE   ( 1285): mDoesRilSendMultipleCallRing=true
D/PHONE   ( 1285): mCallRingDelay=3000
W/GSM     ( 1285): Can't open /system/etc/voicemail-conf.xml
W/GSM     ( 1285): Can't open /system/etc/spn-conf.xml
D/GSM     ( 1285): [DSAC DEB] registerForPsRestrictedEnabled
D/GSM     ( 1285): [DSAC DEB] registerForPsRestrictedDisabled
D/GSM     ( 1285): [GsmDataConnection-1] DataConnection constructor E
D/GSM     ( 1285): [GsmDataConnection-1] clearSettings
D/GSM     ( 1285): [GsmDataConnection-1] DataConnection constructor X
D/GSM     ( 1285): [GsmDataConnection-1] Made GsmDataConnection-1
D/RILJ    ( 1285): [0000]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING
D/STK     ( 1285): StkService: StkService: is running
D/STK     ( 1285): StkService: NEW sInstance
E/RILJ    ( 1285): ERROR: mReqPending is NOT 0 but1 at TIMEOUT, reset!
D/RILJ    ( 1285): [0000]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING
error: com.android.internal.telephony.CommandException:
RADIO_NOT_AVAILABLE
D/RILJ    ( 1285): [0001]> GET_CURRENT_CALLS
E/RILJ    ( 1285): ERROR: mReqPending is NOT 0 but1 at TIMEOUT, reset!
D/RILJ    ( 1285): [0001]< GET_CURRENT_CALLS error:
com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
E/GSM     ( 1285): Wrong network type: 0
E/GSM     ( 1285): Wrong network type: 0
D/GSM     ( 1285): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported 0 0RoamInd: 0DefRoamInd: 0EmergOnly:
false] newSS=
[1 home null null null  Unknown CSS not supported -1 -1RoamInd:
-1DefRoamInd: -1EmergOnly: false] oldGprs=1 newGprs=1 oldType=unknown
newType=unknown
D/GSM     ( 1285): [GsmDataConnection-1] DcInactiveState:
msg.what=EVENT_RESET, ignore we're already reset
D/GSM     ( 1285): [GsmDataConnection-1] NotifyDisconnectCompleted
D/GSM     ( 1285): [DataConnection] Stop poll NetStat
D/GSM     ( 1285): [GsmDataConnection-1] clearSettings
D/GSM     ( 1285): [DataConnection] Stop poll NetStat
D/GSM     ( 1285): [DSAC DEB] trySetupData with mIsPsRestricted=false
D/GSM     ( 1285): [IccCard] Broadcasting intent
ACTION_SIM_STATE_CHANGED NOT_READY reason null
I/RILJ    ( 1285): Couldn't find 'rild' socket; retrying after timeout
I/RILJ    ( 1285): Couldn't find 'rild' socket; retrying after timeout
I/RILJ    ( 1285): Couldn't find 'rild' socket; retrying after timeout
I/RILJ    ( 1285): Couldn't find 'rild' socket; retrying after timeout
I/RILJ    ( 1285): Couldn't find 'rild' socket; retrying after timeout
I/RILJ    ( 1285): Couldn't find 'rild' socket; retrying after timeout
I/RILJ    ( 1285): Couldn't find 'rild' socket; retrying after timeout
E/RILJ    ( 1285): Couldn't find 'rild' socket after 8 times,
continuing to retry silently

i try send AT command to gsm modem:

#adb shell
#echo "AT+MODE?" > /dev/ttyO[0-3] or /dev/ttyS[0-3]

but with any response

when i attache gsm modem to ubuntu i can send sms.

I see that android ril create socket form rild:
# ls -l socket
ls -l socket
srw-rw-rw- root     root              2000-01-01 00:56 zygote
srw-rw-rw- root     root              2000-01-01 00:00 keystore
srw------- system   system            2000-01-01 00:00 installd
srw-rw---- bluetooth bluetooth          2000-01-01 00:00 dbus
srw-rw---- root     radio             2000-01-01 00:00 rild
srw-rw---- radio    system            2000-01-01 00:00 rild-debug
srw-rw---- root     system            2000-01-01 00:00 netd
srw-rw---- root     mount             2000-01-01 00:00 vold
srw-rw-rw- root     root              2000-01-01 00:00
property_service

i try to modify android source with the instruction in
http://afewe.wordpress.com/android-arm-development/working-with-the-radio-layer-interface-ril-in-android/
but with any resut.

I will very happy with any suggestion what is incorrect or what i do
incorrect.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to