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 system 2000-01-01 00:00 installd
srw-rw---- bluetooth bluetooth 2000-01-01 00:00 dbus
srw-rw-rw- root root 2000-01-01 00:00 zygote
srw-rw---- root radio 2000-01-01 00:00 rild
srw-rw---- radio system 2000-01-01 00:00 rild-debug
srw-rw---- root mount 2000-01-01 00:00 mountd
srw-rw-rw- root root 2000-01-01 00:00 property_service
and ls -l /dev/ttyS0 are :-
crw------- root root 4, 64 2000-01-01 00:00 ttyS0
I am trying to change teh permissions from the init.rc script for ttyS0 as
chmod 777 /dev/ttyS0 but its not reflecting
Also my init.rc contains the folowing for rild daemon :-
chmod 777 /dev/ttyS0
service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyS0
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc
Any pointers will be much helpful. As i am in total soup now.
Thanks & Regards
NimitOn Fri, Jan 9, 2009 at 11:23 AM, Nimit Manglick <nimita...@gmail.com> wrote:
Hi,
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 give me some pointers so that i can proceed further.
Thanks & Regards
Nimit
Hi Nimit,
Even I changed the permission of /dev/ttyS0 as 777.
i am getting following log messages from logcat -b radio,
E/RILC ( 554): RIL_register: RIL_RadioFunctions * null or invalid
version (expected 2)
W/GSM ( 609): Can't open /system/etc/voicemail-conf.xml
D/RILJ ( 609): [0000]> GET_CURRENT_CALLS
D/RILJ ( 609): [0000]< GET_CURRENT_CALLS error:
com.android.internal.telephony.gsm.CommandException:D/GSM ( 609): Poll ServiceState done: oldSS=[1 home null null
RADIO_NOT_AVAILABLE
null ] newSS=[1 home null null null ] oldGprs=1 newGprs=1
oldType=unknown newType=unknown
D/GSM ( 609): [DataConnectionTracker] Radio is off and clean up
all connection
D/GSM ( 609): [DataConnectionTracker] Clean up connection due to
radioTurnedOff
D/GSM ( 609): [DataConnection] Stop poll NetStat
D/GSM ( 609): [DataConnection] Stop poll NetStat
D/GSM ( 609): [DataConnectionTracker] ***trySetupData due to
roamingOff
D/GSM ( 609): [DataConnectionTracker] trySetupData: Not ready for
data: dataState=IDLE gprsState=1 sim=false UMTS=false phoneState=IDLE
dataEnabled=true roaming=false dataOnRoamingEnable=false
D/GSM ( 609): [GsmSimCard] Broadcasting intent
SIM_STATE_CHANGED_ACTION NOT_READY reason nullI/RILJ ( 609): Couldn't find 'rild' socket; retrying after timeout
D/RILJ ( 609): WAKE_LOCK_TIMEOUT mReqPending=0 mRequestList=0
I/RILJ ( 609): Couldn't find 'rild' socket; retrying after timeout
I/RILJ ( 609): Couldn't find 'rild' socket; retrying after timeout
I/RILJ ( 609): Couldn't find 'rild' socket; retrying after timeout
I/RILJ ( 609): Couldn't find 'rild' socket; retrying after timeout
I/RILJ ( 609): Couldn't find 'rild' socket; retrying after timeout
I/RILJ ( 609): Couldn't find 'rild' socket; retrying after timeout
E/RILJ ( 609): Couldn't find 'rild' socket after 8 times,
continuing to retry silently
Any suggest will helpful to resolve this problem since you are faced
same problem...
Thanks and regards
Mallesh
On Jan 9, 2:00 pm, "Nimit Manglick" <nimitandr...@gmail.com> wrote:
> 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 system 2000-01-01 00:00 installd
> srw-rw---- bluetooth bluetooth 2000-01-01 00:00 dbus
> srw-rw-rw- root root 2000-01-01 00:00 zygote
> *srw-rw---- root radio 2000-01-01 00:00 rild*
> srw-rw---- radio system 2000-01-01 00:00 rild-debug
> srw-rw---- root mount 2000-01-01 00:00 mountd
> srw-rw-rw- root root 2000-01-01 00:00 property_service
>
> and ls -l /dev/ttyS0 are :-
>
> crw------- root root 4, 64 2000-01-01 00:00 ttyS0
>
> I am trying to change teh permissions from the init.rc script for ttyS0 as
>
> chmod 777 /dev/ttyS0 but its not reflecting
>
> Also my init.rc contains the folowing for rild daemon :-
>
> chmod 777 /dev/ttyS0
> service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so -- -d
> /dev/ttyS0
> socket rild stream 660 root radio
> socket rild-debug stream 660 radio system
> user root
> group radio cache inet misc
>
> Any pointers will be much helpful. As i am in total soup now.
>
> Thanks & Regards
> Nimit
>
> On Fri, Jan 9, 2009 at 12:44 PM, Nimit Manglick <nimitandr...@gmail.com>wrote:
>
> > 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 system 2000-01-01 00:00 installd
> > srw-rw---- bluetooth bluetooth 2000-01-01 00:00 dbus
> > srw-rw-rw- root root 2000-01-01 00:00 zygote
> > *srw-rw---- root radio 2000-01-01 00:00 rild*
> > srw-rw---- radio system 2000-01-01 00:00 rild-debug
> > srw-rw---- root mount 2000-01-01 00:00 mountd
> > srw-rw-rw- root root 2000-01-01 00:00 property_service
>
> > and ls -l /dev/ttyS0 are :-
>
> > crw------- root root 4, 64 2000-01-01 00:00 ttyS0
>
> > I am trying to change teh permissions from the init.rc script for ttyS0 as
>
> > chmod 777 /dev/ttyS0 but its not reflecting
>
> > Also my init.rc contains the folowing for rild daemon :-
>
> > chmod 777 /dev/ttyS0
> > service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so --
> > -d /dev/ttyS0
> > socket rild stream 660 root radio
> > socket rild-debug stream 660 radio system
> > user root
> > group radio cache inet misc
>
> > Any pointers will be much helpful. As i am in total soup now.
>
> > Thanks & Regards
> > Nimit
>
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 (anyone knows
if this has changed?)
- Using a x86 image for eeepc, I have not been able to use qemu,
because the framebuffer didn't start correctly (and I would have the
same problem as the next point)
- Using a x86 image for eeepc, I have tried to use it on Sun
Virtualbox. With this one, the image started correctly, Android showed
up and I have been able to check that my serial devices are on /dev/
and the kernel seems to be working ok, but...
Now, rild is correctly configured on init.rc and the system properties
should be correctly set. The sockets appear on the /dev/socket/ dir,
but Android always launches the Modem Emulator (instead of using the
USB dongle), fakes the modem and says that I'm on roaming and data
connected. If I restart the whole android (killing system-services or
killing zygote), it launches the Modem emulator. If I kill just rild,
I see some activity on the USB icon of VirtualBox, but Android does
not switch from the emulator to rild... and if I restart android
again, rild is again not used...
I can't understand what's happening as I think I have no more things
to test... Is it familiar this problem to you?
Thank you very much, kind regards,
On 9 ene, 11:00, "Nimit Manglick" <nimitandr...@gmail.com> wrote:
> 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 system 2000-01-01 00:00 installd
> srw-rw---- bluetooth bluetooth 2000-01-01 00:00 dbus
> srw-rw-rw- root root 2000-01-01 00:00 zygote
> *srw-rw---- root radio 2000-01-01 00:00 rild*
> srw-rw---- radio system 2000-01-01 00:00 rild-debug
> srw-rw---- root mount 2000-01-01 00:00 mountd
> srw-rw-rw- root root 2000-01-01 00:00 property_service
>
> and ls -l /dev/ttyS0 are :-
>
> crw------- root root 4, 64 2000-01-01 00:00 ttyS0
>
> I am trying to change teh permissions from the init.rc script for ttyS0 as
>
> chmod 777 /dev/ttyS0 but its not reflecting
>
> Also my init.rc contains the folowing for rild daemon :-
>
> chmod 777 /dev/ttyS0
> service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so -- -d
> /dev/ttyS0
> socket rild stream 660 root radio
> socket rild-debug stream 660 radio system
> user root
> group radio cache inet misc
>
> Any pointers will be much helpful. As i am in total soup now.
>
> Thanks & Regards
> Nimit
>
> On Fri, Jan 9, 2009 at 12:44 PM, Nimit Manglick <nimitandr...@gmail.com>wrote:
>
> > 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 system 2000-01-01 00:00 installd
> > srw-rw---- bluetooth bluetooth 2000-01-01 00:00 dbus
> > srw-rw-rw- root root 2000-01-01 00:00 zygote
> > *srw-rw---- root radio 2000-01-01 00:00 rild*
> > srw-rw---- radio system 2000-01-01 00:00 rild-debug
> > srw-rw---- root mount 2000-01-01 00:00 mountd
> > srw-rw-rw- root root 2000-01-01 00:00 property_service
>
> > and ls -l /dev/ttyS0 are :-
>
> > crw------- root root 4, 64 2000-01-01 00:00 ttyS0
>
> > I am trying to change teh permissions from the init.rc script for ttyS0 as
>
> > chmod 777 /dev/ttyS0 but its not reflecting
>
> > Also my init.rc contains the folowing for rild daemon :-
>
> > chmod 777 /dev/ttyS0
> > service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so --
> > -d /dev/ttyS0
> > socket rild stream 660 root radio
> > socket rild-debug stream 660 radio system
> > user root
> > group radio cache inet misc
>
> > Any pointers will be much helpful. As i am in total soup now.
>
> > Thanks & Regards
> > Nimit
>
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 (anyone knows
if this has changed?)
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 can
send one AT command which launches an internal PPP and shows on the
system a network interface. For this task I need to have the whole
device supported on the virtual machine (with kernel drivers compiled
and so all).
I have been able to set up my connection manually, sending AT commands
with a small C program, then setting up by hand the network interface,
DNS and the default route through that device. But my problem has been
with rild/the rest of the system, because it seems to launch the modem
emulator instead of using the attached device.
Any hint? :)