Hi

The problem with the ip scripts was that i had to name them like this
ip-up-ppp0
ip-down-ppp0
so that the ppp deamon knows where to find them.

So now, pppd starts along with ip-scripts and they allow me to pass the ips 
to Android's higher level layers (using system properties). 

BUT, it stops right afterwards, because data gets disabled for some reason 
and I can't find out why. 

Below are my radio and main logcat files

main: http://pastebin.com/67mM3ta9

radio: http://pastebin.com/mqSTwuEv

As you can see, disableAPNType(default) gets called somehow, and this causes 
the gsmconnectiontracker to remove the data connection.


   1. 01-01 01:00:55.796 D/GSM     ( 1051): [GsmDataConnectionTracker] 
   setState: CONNECTED
   2. 01-01 01:00:55.812 D/GSM     ( 1051): [DataConnection] Start poll 
   NetStat
   3. 01-01 01:00:55.812 D/GSM     ( 1051): preRx -1 preTx -1
   4. 01-01 01:00:55.812 D/GSM     ( 1051): newRx 3 newTx 3
   5. 01-01 01:00:55.835 D/GSM     ( 1051): GSMDataConnTrack handleMessage { 
   what=23 when=55843 }
   6. 01-01 01:00:55.843 D/GSM     ( 1051): [GsmDataConnectionTracker] Clean 
   up connection due to dataDisabled
   7. 01-01 01:00:55.843 D/GSM     ( 1051): [GsmDataConnectionTracker] 
   setState: DISCONNECTING
   

i have been reading the telephony framwork code for some time, and i can't 
figure where the cause of this problem is. Any help is appreciated.


-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to