Looks like your RIL HAL (libreferen-ril.so) was loaded but didn't open the serial connection with modem successfully.
Check mainLoop() in reference-ril.c, make sure you successfully open the serial port (i.e. fd >= 0). If that's true, put some log in initializeCallback() which will do some initialize communication (ATE0Q0V1 to disable echo, AT+CFUN? to check modem feature availability, etc). On Jun 17, 3:14 pm, cindy_king_1024 <[email protected]> wrote: > Hi. > I add the edge modules to my evm board ,but when I check the log it come > with: > > # logcat -b radio > I/RIL ( 691): Opening tty device /dev/ttyS1 > I/RILC ( 691): libril: new connection > I/RILC ( 691): RIL Daemon version: android reference-ril 1.0 > I/RILJ ( 748): Connected to 'rild' socket > D/RILJ ( 748): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED > RADIO_UNAVAILABLE > W/GSM ( 748): Can't open /system/etc/voicemail-conf.xml > D/RILJ ( 748): [0000]> GET_CURRENT_CALLS > D/RIL ( 691): onRequest: GET_CURRENT_CALLS > D/RILJ ( 748): [0000]< GET_CURRENT_CALLS error: > com.android.internal.telephony.gsm.CommandExcept > ion: RADIO_NOT_AVAILABLE > D/GSM ( 748): Poll ServiceState done: oldSS=[1 home null null null ] > newSS=[1 home null null n > ull ] oldGprs=1 newGprs=1 oldType=unknown newType=unknown > D/GSM ( 748): [DataConnectionTracker] Radio is off and clean up all > connection > D/GSM ( 748): [DataConnectionTracker] Clean up connection due to > radioTurnedOff > D/GSM ( 748): [DataConnection] Stop poll NetStat > D/GSM ( 748): [DataConnectionTracker] setState: IDLE > D/GSM ( 748): [DataConnection] Stop poll NetStat > D/GSM ( 748): [DataConnectionTracker] ***trySetupData due to roamingOff > D/GSM ( 748): [DataConnectionTracker] trySetupData: Not ready for data: > dataState=IDLE gprsSta > te=1 sim=false UMTS=false phoneState=IDLE dataEnabled=true roaming=false > dataOnRoamingEnable=true > D/GSM ( 748): [GsmSimCard] Broadcasting intent SIM_STATE_CHANGED_ACTION > NOT_READY reason null > D/STK ( 748): StkAppService$ServiceHandler: OP_BOOT_COMPLETED > > Can you give me some advice ? What's the matter? > > 在2009-05-20?20:33:45,dannychi?<[email protected]>?写道: > > > > > > >Hi?all, > >In?ril.h > >/** > >?*?RIL_REQUEST_SETUP_DEFAULT_PDP > >?* > >?*?Configure?and?activate?PDP?context?(CID?1)?for?default?IP > >connection > >?* > >?*?Android?Telephony?layer?will?start?up?pppd?process?on?specified > >?*?tty?when?this?request?responded?to. > >Does?this?mean?PPP?is?required?for?GPRS?data?connection? > >Does?android?support?raw?IP?GPRS?interface?like?NDIS?in?Windows > >mobile? > >Can?GPRS?work?if??ro.radio.use-ppp=no? > >Thanks --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
