I think you have to use ttys2...recheck with earlier posts on this group with the same matter
On Thu, May 12, 2011 at 4:30 PM, Adrien <[email protected]> wrote: > Hi, > > I'm facing problems whe nintegrating a sireaa wireless Q26 dev kit on > my IGEP board. > > I have succesfully linked the two parts with a RS232 serial link, but > now that the android kernel is able to communicate with the dev kit, > it won't (see logcat output) : > > I/RIL ( 847): Opening tty device /dev/ttyS0 > D/AT ( 847): AT> ATE0Q0V1 > D/AT ( 847): AT> ATE0Q0V1 > D/AT ( 847): AT> ATE0Q0V1 > D/AT ( 847): AT> ATE0Q0V1 > D/AT ( 847): AT> ATE0Q0V1 > D/AT ( 847): AT> ATE0Q0V1 > D/AT ( 847): AT> ATE0Q0V1 > D/AT ( 847): AT> ATE0Q0V1 > D/AT ( 847): AT> ATE0Q0V1 > I/PHONE ( 1006): Network Mode set to 0 > I/PHONE ( 1006): Cdma Subscription set to 1 > I/RILJ ( 1006): Connected to 'rild' socket > D/PHONE ( 1006): mDoesRilSendMultipleCallRing=true > D/PHONE ( 1006): mCallRingDelay=3000 > W/GSM ( 1006): Can't open /system/etc/voicemail-conf.xml > W/GSM ( 1006): Can't open /system/etc/spn-conf.xml > D/GSM ( 1006): [DSAC DEB] registerForPsRestrictedEnabled > D/GSM ( 1006): [DSAC DEB] registerForPsRestrictedDisabled > D/GSM ( 1006): [GsmDataConnection-1] DataConnection constructor E > D/GSM ( 1006): [GsmDataConnection-1] clearSettings > D/GSM ( 1006): [GsmDataConnection-1] DataConnection constructor X > D/GSM ( 1006): [GsmDataConnection-1] Made GsmDataConnection-1 > D/RILJ ( 1006): [0000]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING > D/STK ( 1006): StkService: StkService: is running > D/STK ( 1006): StkService: NEW sInstance > I/PHONE ( 1006): Creating GSMPhone > D/RILJ ( 1006): [0001]> GET_CURRENT_CALLS > E/GSM ( 1006): Wrong network type: 0 > E/GSM ( 1006): Wrong network type: 0 > D/GSM ( 1006): 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 ( 1006): GSMDataConnTrack handleMessage { what=12 when=13559 > obj=android.os.AsyncResult@44037c30 } > D/GSM ( 1006): [GsmDataConnectionTracker] Radio is off and clean > up all connection > D/GSM ( 1006): [GsmDataConnectionTracker] Clean up connection due > to radioTurnedOff > D/GSM ( 1006): [GsmDataConnectionTracker] setState: DISCONNECTING > D/GSM ( 1006): [GsmDataConnectionTracker] cleanUpConnection: ! > tearDown, call conn.resetSynchronously > D/GSM ( 1006): [GsmDataConnection-1] DcInactiveState: > msg.what=EVENT_RESET, ignore we're already reset > D/GSM ( 1006): [GsmDataConnection-1] NotifyDisconnectCompleted > D/GSM ( 1006): [GsmDataConnection-1] clearSettings > D/GSM ( 1006): [DataConnection] Stop poll NetStat > D/GSM ( 1006): [GsmDataConnectionTracker] cleanupConnection: ! > notificationDeferred > D/GSM ( 1006): [GsmDataConnectionTracker] > gotoIdleAndNotifyDataConnection: reason=radioTurnedOff > D/GSM ( 1006): [GsmDataConnectionTracker] setState: IDLE > D/GSM ( 1006): GSMDataConnTrack handleMessage { what=19 when=13559 > obj=android.os.AsyncResult@44037f80 } > D/GSM ( 1006): [DataConnection] Stop poll NetStat > D/GSM ( 1006): GSMDataConnTrack handleMessage { what=22 when=13559 > obj=android.os.AsyncResult@440380d0 } > D/GSM ( 1006): [GsmDataConnectionTracker] ***trySetupData due to > roamingOff > D/GSM ( 1006): [DSAC DEB] trySetupData with mIsPsRestricted=false > D/GSM ( 1006): [GsmDataConnectionTracker] trySetupData: Not ready > for data: dataState=IDLE gprsState=1 sim=false UMTS=false > phoneState=IDLE isDataAllowed=true dataEnabled=true roaming=false > dataOnRoamingEnable=false ps restricted=false desiredPowerState=true > MasterDataEnabled=true > D/GSM ( 1006): [IccCard] Broadcasting intent > ACTION_SIM_STATE_CHANGED NOT_READY reason null > D/RILJ ( 1006): WAKE_LOCK_TIMEOUT mReqPending=0 mRequestList=2 > D/RILJ ( 1006): 0: [0] RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING > D/RILJ ( 1006): 1: [1] GET_CURRENT_CALLS > > > What I did so far is change the init.rc file so that the ril-deamon > used the libreference-ril.so library and the /dev/ttyS0 (RS232). > > What i didn't do is configure the ttyS0 so that it communicates with > 115200n8 but as I use android, i don't have access to the setserial > command. > > Help would be greatly appreciated. > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
