Hi all, i am usb modem for gsm/gprs. i have been following bellow links . https://gitorious.org/0xdroid/hardware_ril/commit/ee75708cc786531c853e9ec7ffc28dd03658 http://afewe.wordpress.com/android-arm-development/working-with-the-radio-layer-interface-ril-in-android/
please check my logcat message,and after some time over my modem USB port was disconnect usb 1-2.2: USB disconnect, address 8 please suggest me -- thanks&Regards k.v.raju -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
#logcat -b radio I/RIL ( 66): Opening tty device /dev/ttyACM0 I/RIL ( 66): Setting speed D/AT ( 66): AT> ATE0Q0V1 D/AT ( 66): AT< ^SYSSTART D/AT ( 66): AT< ATE0Q0V1 D/AT ( 66): AT< OK D/AT ( 66): AT> ATE0Q0V1 D/AT ( 66): AT< OK D/AT ( 66): AT> ATS0=0 D/AT ( 66): AT< OK D/AT ( 66): AT> AT+CMEE=1 D/AT ( 66): AT< OK D/AT ( 66): AT> AT+CREG=2 D/AT ( 66): AT< OK D/AT ( 66): AT> AT+CGREG=1 D/AT ( 66): AT< OK D/AT ( 66): AT> AT^SGAUTH=0 D/AT ( 66): AT< OK D/AT ( 66): AT> At+cgatt=1 D/AT ( 66): AT< +CME ERROR: 107 D/AT ( 66): AT> AT+CCWA=1 D/AT ( 66): AT< OK D/AT ( 66): AT> AT+CMUT=1 D/AT ( 66): AT< +CME ERROR: 256 D/AT ( 66): AT> AT+CSSN=0,1 D/AT ( 66): AT< OK D/AT ( 66): AT> AT+COLP=0 D/AT ( 66): AT< OK D/AT ( 66): AT> AT+CSCS="UCS2" D/AT ( 66): AT< OK D/AT ( 66): AT> AT+CUSD=1 D/AT ( 66): AT< OK D/AT ( 66): AT> AT+CMGF=0 D/AT ( 66): AT< OK D/AT ( 66): AT> AT+CFUN? D/AT ( 66): AT< +CFUN: 1 D/AT ( 66): AT< OK D/AT ( 66): AT> AT+CPIN? D/AT ( 66): AT< +CPIN: READY D/AT ( 66): AT< OK D/AT ( 66): AT> AT+CSMS=1 D/AT ( 66): atchannel: EOF reached I/RIL ( 66): ######### SIM READY !! I/RIL ( 66): AT channel closed I/RIL ( 66): Re-opening after close I/PHONE ( 163): Network Mode set to 0 I/PHONE ( 163): Cdma Subscription set to 1 I/RILC ( 66): libril: new connection I/RILC ( 66): RIL Daemon version: android reference-ril 1.0 I/RILJ ( 163): Connected to 'rild' socket D/RILJ ( 163): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_UNAVAILABLE I/PHONE ( 163): Creating GSMPhone D/PHONE ( 163): mDoesRilSendMultipleCallRing=true D/PHONE ( 163): mCallRingDelay=3000 W/GSM ( 163): Can't open /system/etc/voicemail-conf.xml W/GSM ( 163): Can't open /system/etc/spn-conf.xml D/GSM ( 163): [DSAC DEB] registerForPsRestrictedEnabled D/GSM ( 163): [DSAC DEB] registerForPsRestrictedDisabled D/GSM ( 163): [GsmDataConnection-1] DataConnection constructor E D/GSM ( 163): [GsmDataConnection-1] clearSettings D/GSM ( 163): [GsmDataConnection-1] DataConnection constructor X D/GSM ( 163): [GsmDataConnection-1] Made GsmDataConnection-1 D/RILJ ( 163): [0000]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING D/STK ( 163): StkService: StkService: is running D/STK ( 163): StkService: NEW sInstance E/RILJ ( 163): ERROR: mReqPending is NOT 0 but1 at TIMEOUT, reset! D/RIL ( 66): onRequest: REPORT_STK_SERVICE_IS_RUNNING I/RIL ( 66): onRequest func1 RIL_E_RADIO_NOT_AVAILABLE... D/RILJ ( 163): [0000]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE D/RILJ ( 163): [0001]> GET_CURRENT_CALLS E/RILJ ( 163): ERROR: mReqPending is NOT 0 but1 at TIMEOUT, reset! E/GSM ( 163): Wrong network type: 0 E/GSM ( 163): Wrong network type: 0 D/GSM ( 163): 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/RIL ( 66): onRequest: GET_CURRENT_CALLS I/RIL ( 66): onRequest func1 RIL_E_RADIO_NOT_AVAILABLE... D/RILJ ( 163): [0001]< GET_CURRENT_CALLS error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE D/GSM ( 163): [GsmDataConnection-1] DcInactiveState: msg.what=EVENT_RESET, ignore we're already reset D/GSM ( 163): [GsmDataConnection-1] NotifyDisconnectCompleted D/GSM ( 163): [GsmDataConnection-1] clearSettings D/GSM ( 163): [DataConnection] Stop poll NetStat D/GSM ( 163): [DataConnection] Stop poll NetStat D/GSM ( 163): [DSAC DEB] trySetupData with mIsPsRestricted=false D/GSM ( 163): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_READY reason null
