[android-porting] Re: RIL implementation

2009-01-07 Thread David Turner
adb logcat -b radio will print the radio log, which includes the AT commands/responses that go through the RIL hope this helps On Wed, Jan 7, 2009 at 10:44 AM, Nimit Manglick wrote: > Hi All, > > I am trying to implement RIL and having OMAP 3530 EVM with GSM modem > connected at /dev/ttyS0. > >

[android-porting] Re: RIL implementation

2009-01-07 Thread David Turner
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 wrote: > Hi David, > > Its showing me the following errors :- > > *Can't open /system/etc/voicemail-conf.xml* > D/RILJ

[android-porting] Re: RIL implementation

2009-01-07 Thread Nimit Manglick
Hi David, Its showing me the following errors :- *Can't open /system/etc/voicemail-conf.xml* D/RILJ( 681): []> 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): []< GET_CU

[android-porting] Re: RIL implementation

2009-01-07 Thread Nimit Manglick
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 wrote: > you need to start the rild daemon in your init config/script > have a look at the content o

[android-porting] Re: RIL implementation

2009-01-07 Thread David Turner
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 doe

[android-porting] Re: RIL implementation

2009-01-07 Thread Nimit Manglick
Hi David / Mikkel, /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyS0 is not executing from init.rc So i manually tried to start it, it has thrown error as :- *# /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyS0 opening AT interface. retrying...: Permission

[android-porting] Re: RIL implementation

2009-01-07 Thread Mikkel Christensen
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 modificatio

[android-porting] Re: RIL implementation

2009-01-07 Thread Nimit Manglick
*In ril.cpp i have enabled that piece of code which is trying to create a rild socket.* *ret = socket_local_server (SOCKET_NAME_RIL, ANDROID_SOCKET_NAMESPACE_ABSTRACT, SOCK_STREAM);* *So after that i have commented #else also because i think after opening teh socket it needs to call*

[android-porting] Re: RIL implementation

2009-01-08 Thread Nimit Manglick
Now i am getting the following error :- * Couldn't find 'rild' socket; retrying after timeout* So I think the rild daemon is not able to open the socket for its clients like dialer. Hence when i click on the dialer app it crashes throwing me the error *"Not registered on Network"* So please giv

[android-porting] Re: RIL implementation

2009-01-08 Thread David Turner
it's more likely that this messages comes from a client that tries to connect to the rild socket. I suspect a permission problem, what is the content of "adb shell ls -l /dev/socket/*" ? On Fri, Jan 9, 2009 at 6:02 AM, Nimit Manglick wrote: > > Now i am getting the following error :- > * > Could

[android-porting] Re: RIL implementation

2009-01-09 Thread Nimit Manglick
Yes the message comes from the dialer client only from frameworks/base/telephony/java/com/android/internal/telephony/gsm/RIL.java file. To my surprise the rild socket also gets created because the contents of /dev/sockets are :- # ls -l srw--- system system2000-01-01 00:00 ins

[android-porting] Re: RIL implementation

2009-03-11 Thread Nimit Manglick
Hi.. Try changing :- #if 0 --> #if 1 at line no 1701 in ril.cpp And commenting corresponding #else at line no 1713 in ril.cpp. Regards Nimit On Tue, Mar 10, 2009 at 3:07 PM, Mallesh wrote: > Hi Nimit, > > Even I changed the permission of /dev/ttyS0 as 777. > i am getting following log messa

[android-porting] Re: RIL implementation

2009-04-28 Thread RajaniKanth
Hi , I was trying out to create an Android Application which will use PhoneFactory.makeDefaultPhones(mContext); mGSMPhone = (GSMPhone) PhoneFactory.getDefaultPhone(); to get the GSMPhone instance, But when i try this i get "Couldn't find 'rild' socket; retrying after timeout

[android-porting] Re: RIL implementation

2009-05-06 Thread Daniel Baeyens
Hi Nimit (and all the list), How did you solve this problem? I think now I'm facing a similar problem. I'm trying to test a 3G USB dongle with Android. For this: - I've needed to discard Android emulator because it doesn't allow to attach USB devices with -qemu -usb -usbdevice parameters (anyon

[android-porting] Re: RIL implementation

2009-05-07 Thread David Turner
On Wed, May 6, 2009 at 11:00 AM, Daniel Baeyens wrote: > > Hi Nimit (and all the list), > > How did you solve this problem? > > I think now I'm facing a similar problem. I'm trying to test a 3G USB > dongle with Android. For this: > > - I've needed to discard Android emulator because it doesn't al

[android-porting] Re: RIL implementation

2009-05-07 Thread Daniel Baeyens
Hi, Thanks for the info -radio already worked perfect :D . Previously I have been using this parameter for testing some AT commands, but for data connections, my USB dongle can work in two ways. You can send the correct AT commands to call and stablish a data connection ("classic" mode) or you c

[android-porting] Re: RIL implementation

2009-05-07 Thread David Turner
On Thu, May 7, 2009 at 12:23 PM, Daniel Baeyens wrote: > > Hi, > > Thanks for the info > > -radio already worked perfect :D . Previously I have been using this > parameter for testing some AT commands, but for data connections, my > USB dongle can work in two ways. You can send the correct AT com

[android-porting] Re: RIL implementation

2009-05-07 Thread Daniel Baeyens
Hi, On Thu, May 7, 2009 at 1:37 PM, David Turner wrote: > On Thu, May 7, 2009 at 12:23 PM, Daniel Baeyens wrote: >> >> Hi, >> >> Thanks for the info >> >> -radio already worked perfect :D . Previously I have been using this >> parameter for testing some AT commands, but for data connections, my

[android-porting] Re: RIL implementation

2009-05-07 Thread Daniel Baeyens
Hi again, On Thu, May 7, 2009 at 2:59 PM, Daniel Baeyens wrote: > Hi, > > On Thu, May 7, 2009 at 1:37 PM, David Turner wrote: >> On Thu, May 7, 2009 at 12:23 PM, Daniel Baeyens wrote: >>> >>> Hi, >>> >>> Thanks for the info >>> >>> -radio already worked perfect :D . Previously I have been usin

[android-porting] Re: RIL implementation on snowball with external STE modem

2012-01-31 Thread Chaitanya
Hi Amit, If your modem is a GSM modem then try with the existing code itself. For getting Signal Strength,Operator info,sending SMS and making voice calls the existing code might work as it is. The reference-ril folder is from where your ril library is b uilt .rild is for daemon.look into the makef

[android-porting] Re: RIL implementation on snowball with external STE modem

2012-02-02 Thread Chaitanya
.Its your choice.If you build the entire source it will be compiled as well. IF you want to build just the ril, run mm or mmm in it's sub directory. On Feb 1, 10:36 am, Amit kumar Bag wrote: > Hi Chaitanya, > > I am using ST-Ericcson GSM modem. Thanks for the valuable information. I > have one mo

Re: [android-porting] Re: RIL implementation on snowball with external STE modem

2012-02-01 Thread Amit kumar Bag
Hi Chaitanya, I am using ST-Ericcson GSM modem. Thanks for the valuable information. I have one more doubt, how can I creating the libril.so library. Is it created when I compile the total code or i need to do it separately. Can you please tell me the procedure of creating the libril.so library f

[android-porting] Re: RIL implementation on omap 3530x EVM with external modem

2009-01-01 Thread Hemant
libril ---> Modem hardware specific layer. Here one has to implement ril.h commands. reference-ril implementation is example of libril which can be used if modem have serial interface (may be pseudo also) and understands AT commands (TS 27.007 standard). You may change the name to ... but not need