Just to updated i got it working 2-3 days back. communication between rild and socket was not proper and telephony needed default network show flag.
Thanks & Regards On Jul 6, 5:48 pm, mri158 <mri...@gmail.com> wrote: > Hi all, > > I am runningandroidon TI AM1808 Controller and it is working fine, > now i want to interface a quectelgsmmodem to it via a usb to serial > cable. > I have added the usb-to serial driver to the kernel and i can > communicate with modem. > > I have added following to build.prop > rild.libpath=/system/lib/libreference-ril.so > > rild.libargs=-d /dev/ttyUSB0 > > Also i have changed > external/am1808evm/BoardConfig.mk > TARGET_NO_RADIOIMAGE=false > > My init entry for RILD is as follows. > loglevel 4 > > service ril-daemon /system/bin/rild > socket rild stream 666 root radio > socket rild-debug stream 666 radio system > user root > group radio cache inet misc audio > > the log i am getting is as follows > / # logcat -b radio > D/RILD ( 720): overriding with -d /dev/ttyUSB0 > I/RIL ( 720): Opening tty device /dev/ttyUSB0 > D/AT ( 720): AT> ATE0Q0V1 > D/AT ( 720): AT< OK > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> ATE0Q0V1 > D/AT ( 720): AT> ATS0=0 > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CSQ > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CMEE=1 > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CREG=2 > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CREG=1 > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CGREG=1 > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CCWA=1 > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CMOD=0 > D/AT ( 720): AT< OK > D/AT ( 720): AT> AT+CMUT=0 > D/AT ( 720): AT< OK > D/AT ( 720): AT> AT+CSSN=0,1 > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+COLP=0 > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CSCS="HEX" > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CUSD=1 > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CGEREP=1,0 > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CMGF=0 > D/AT ( 720): AT< ERROR > D/AT ( 720): AT> AT+CFUN? > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > D/AT ( 720): AT< ERROR > . > ........ > > if i try to call from the prompt with > > at > /dev/ttyUSB0 or ATDxxxxxxxxxx;> /dev/ttyUSB0 it works fine. > > but one thins i could not understand though myandroidafter boot > shows baseband version as UNKNOWN ? > > why is so? do i need to set it manually ? > > and where do i need to modify the modem's initial commands? > (referances-ril.c) > > Also Can anybody tell me how to change/check Airplane mode setting > forandroidfrom source code? > > Timely help will be appreciated!!!..... > > Regards -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting