Thanks much for the pointers, we are certainly missing some of the
setprop's. I will try those. However, we are using Donut (1.6) and I
wonder if they will work there.
More detail:
I've not been able to see my way clear to setting up the data call via
the RIL. I think I could spawn ppp (via sys
Here is a copy of the console log. I did the setprop's suggested
above, checked the ping, cleared the logs, the pressed the browser
icon. Then did a logcat which resulted in this. (Thanks!) Mike
# setprop net.interface.defaultrout gprs
# setprop net.gprs.dns1 172.16.7.167
# setprop net.gprs.
Hi Stich,
Please keep the list on copy - then everybody will learn from this :-)
Anyway, I think your problem is in the line:
LOGD(" --- PPPD started successfully; IP local : %s Retry count :
%d",response[3],retry);
In fact response[] is only three elements big, and you refer to index 3 inste
Yes, I noticed that shortly after I sent the message. Fixing it did not
change anything.
It appears that readRilMessage in RIL.java is executing before the response
is sent. I don't understand why this should happen.
I was going to clear the net.gprs.local-ip property in the ip-down script so
t
Hi Mike,
I still think the RIL crashes if you get the two lines:
E/RILJ( 929): Hit EOS reading message length
I/RILJ( 929): Disconnected from 'rild' socket
The log message is confusing because the java process somehow finishes its
ongoing function call through JNI when
Hi Henrik,
Removing all variables from the LOGD calls did not change anything.
After multiple experiments with the placement of LOGD's, I believe it is
crashing whenever property_get is executed. Can never get by that:
len = property_get("net.gprs.local-ip",response[2], NULL);
I printed
Hi Mike,
I suspect I have had the same problems. I can see that I use a two-step
solution to ensure that the string containing the IP is sufficiently big and
does not get overwritten when the function exits (as would normally be the case
with variables local to a function).
static char addres
Hi Henrik,
Thanks much for your help. Got the data call up and running, seems stable.
Seems like you just can't put the response[2] pointer into the property_get
call for some reason. Thought I had it initialized large enough also. Oh
well.
Now the web browser seems to hang, log msgs indicate it
Hi Henrik
First response element is "1", the context ID (CID) of the modem.
Second is "gprs", since we found places in the RIL.java where is uses this
for the center element of the properties, i.e. net.gprs.dns1 and others.
Third is the local-ip
Ping does work, including with DNS, i.e. ping www.go
Hi Mike,
Maybe you're experiencing a race condition. If your RIL call completes the
instant local-ip is set, upper layers in Android may conclude that
net.grps.dns1, etc. is not set (because the shell script was suspended by the
lowlevel RIL process). Try making sure that the local-ip property
Hi Henrik,
ip-up sets a custom property last (only does some logging after that) that
triggers the ril to send a response. The ril waits 2 sec for the property,
then times out and returns an error. Android then tries again shortly
thereafter, and the ril does not have to wait at all, everything i
Hi Mike!
I bet 2 seconds is not near enough.. I have a timeout of 15 seconds to wait for
the PPP to get up properly - in average it takes around 7-8 seconds. Then
probably what goes wrong next is the fact that the needed properties were set
in the last run, so your SETUP_DATA_CALL finishes quic
Hi Mike,
Hehe... I had the same feeling.
My DEACTIVATE does not work 100% smooth, but it works. I basically set
AT+CGACT=0,1 and wait for PPPD to die from natural causes. As far as I
remember, it does in fact call ip-down. I do not attempt to stop the service
manually (via init.svc.pppd_gprs),
I am following this thread with great interest as I recently have
tried to setup a 3G connection though a Huawei USB modem. I succeded
in doing this from both an Android-x86 and a Beagleboard. However this
was using a manual startup of the PPP daemon, where I have modified
the chat script to use th
Hi Henrik,
Well, I'm getting pretty close. The ppp connections starts and stops
gracefully. The radio log looks pretty clean, but I just cannot get
the browser to start. It often pops up a window saying unable to find
web page, or "Data connectivity problem". Here is the end of the log
when I
Hi Mike,
Am I right in assuming that you cannot use the browser no matter how you supply
internet connectivity for Android? Even if it is USB Ethernet, manual PPP, etc.?
Normally Android wants to do a Google login (probably to integrate nicely with
all the Google services), but in the source bu
Hi,
This could also be a DNS problem. If the DNS is not configured in the
Android property system the browser wont work.
Please run "getprop" in the console and post the result here. You
should see some DNS servers configured.
Best regards,
Mikkel
On May 28, 11:20 am, Uhrenfeldt Henrik
wrote:
Hi Henrik,
I tried the nocheckin property, I think it eliminated the messages about
failing to login, but did not fix the fundamental problem. Not trying to do
a Google login is good (thanks for the pointer), but not sufficient. I
suspect I do not have the Google login service, nor a provider for
Hi Mike,
I'm beginning to run out of ideas here. It may be a long shot, but try wiping
your cache & data partition if you do not do so on a regular basis; there may
be stale data here causing the browser activity to fail..
I really think you have to verify that you can actually transfer data ov
Hello
Will the result of the implementation work reflected in this thread be
released for the Android community either as an extension to the
generic RIL or as an alternative RIL implementation ?
Please, any howto!!!
On 2 июн, 16:40, "M&M stich" wrote:
> Well it is working now, many thanks to all
When the browser hangs/errors, can you take a bugreport or capture the logs?
That may shed light on the issue.
R
On Mon, May 10, 2010 at 9:44 AM, ms12 wrote:
> Thanks much for the pointers, we are certainly missing some of the
> setprop's. I will try those. However, we are using Donut (1.6)
Hi,
On Mon, May 10, 2010 at 6:44 PM, ms12 wrote:
> Thanks much for the pointers, we are certainly missing some of the
> setprop's. I will try those. However, we are using Donut (1.6) and I
> wonder if they will work there.
>
> More detail:
> I've not been able to see my way clear to setting up
j 10,
DK-9220 Aalborg Ø, Denmark
mobile +45 4030 2607
email: henrik.uhrenfe...@ixonos.com
http://www.ixonos.com
-Original Message-
From: android-porting@googlegroups.com
[mailto:android-port...@googlegroups.com] On Behalf Of ms12
Sent: 10. maj 2010 18:44
To: android-porting
Subject: [an
Software Engineer
Ixonos Denmark ApS
Niels Jernes Vej 10,
DK-9220 Aalborg Ø, Denmark
mobile +45 4030 2607
email: henrik.uhrenfe...@ixonos.com
http://www.ixonos.com-Original Message-----
From: M&M stich [mailto:mstic...@gmail.com]
Sent: 11. maj 2010 16:40
To: Uhrenfeldt Henrik
Subject:
24 matches
Mail list logo