You can try to change permisson on /dev/ttyS0 to 777 in init.rc
Do you know what baud rate you modem runs? Per default the RIL is
hardcoded with 115200 baud, so you need to change that if the modem
supports another rate.

You can also take a look at the omapzoom.org tree... it has some
modifications to the ref ril that you might like.

Best regards,
Mikkel

On Jan 7, 7:27 am, "David Turner" <di...@android.com> wrote:
> that looks correct. can you show the whole radio log, there should be some
> RILD messages telling you if there was a failure opening the device file
> (which could be caused by permission problems). You can also try to hack the
> mainLoop() function in hardware/ril/reference-ril/reference-ril.c that does
> the opening, to give more diagnostics if needed.
>
> On Wed, Jan 7, 2009 at 12:43 PM, Nimit Manglick <nimitandr...@gmail.com>wrote:
>
>
>
>
>
> > I am running it from init.rc script as :-
>
> > /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyS0
>
> > My modem is connected to ttyS0 only.
>
> > On Wed, Jan 7, 2009 at 4:39 PM, David Turner <di...@android.com> wrote:
>
> >> you need to start the rild daemon in your init config/script
> >> have a look at the content of /system/etc/init*.(rc|sh) for examples
>
> >> On Wed, Jan 7, 2009 at 11:32 AM, Nimit Manglick 
> >> <nimitandr...@gmail.com>wrote:
>
> >>> Hi David,
>
> >>> Its showing me the following errors :-
>
> >>> *Can't open /system/etc/voicemail-conf.xml*
> >>> D/RILJ    (  681): [0000]> GET_CURRENT_CALLS
> >>> D/GSM     (  681): Poll ServiceState done:  oldSS=[1 home null null null
> >>> ] newSS=[1 home null null null ] oldGprs=1 newGprs=n
> >>> D/RILJ    (  681): [0000]< GET_CURRENT_CALLS error:
> >>> com.android.internal.telephony.gsm.CommandException: RADIO_NOT_AVAILABLE
> >>> D/GSM     (  681): [DataConnectionTracker] Radio is off and clean up all
> >>> connection
> >>> D/GSM     (  681): [DataConnectionTracker] Clean up connection due to
> >>> radioTurnedOff
> >>> D/GSM     (  681): [DataConnection] Stop poll NetStat
> >>> D/GSM     (  681): [DataConnection] Stop poll NetStat
> >>> D/GSM     (  681): [DataConnectionTracker] ***trySetupData due to
> >>> roamingOff
> >>> D/GSM     (  681): [DataConnectionTracker] trySetupData: Not ready for
> >>> data:  dataState=IDLE gprsState=1 sim=false UMTS=false
> >>> D/GSM     (  681): [GsmSimCard] Broadcasting intent
> >>> SIM_STATE_CHANGED_ACTION NOT_READY reason null
> >>> *I/RILJ    (  681): Couldn't find 'rild' socket; retrying after timeout*
> >>> D/RILJ    (  681): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=0
> >>> I/RILJ    (  681): Couldn't find 'rild' socket; retrying after timeout
>
> >>> I Think its not able to create the rild socket.
>
> >>> So in libril/ril.cpp I have enabled that piece of code where it stars to
> >>> listen to this socket.
>
> >>> Please give me soem pointers from where should i start.
>
> >>> Thanks & Regards
>
> >>> On Wed, Jan 7, 2009 at 3:14 PM, Nimit Manglick 
> >>> <nimitandr...@gmail.com>wrote:
>
> >>>> Hi All,
>
> >>>> I am trying to implement RIL and having OMAP 3530 EVM with GSM modem
> >>>> connected at /dev/ttyS0.
>
> >>>> I tried some suggestions but my dialer application is giving me the
> >>>> following error :-
>
> >>>> "Not Registered on Network" in message box where after pressing "OK"
> >>>> dialer application
>
> >>>>  goes off. There was not much info on logcat as well.
>
> >>>> Any pointer or suggestion would be appreciated.
>
> >>>> Thanks & Regards
> >>>> Nimit- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to