Yes,

I have checked and can confirm that these are enabled. I've looked at the 
logcat -b radio output (see snippet below) and can see the call 
"trySetupData".
I think this is where an attempt is being made to bring up the data 
connection. So I think the system is trying to start the data connection 
but is failing for some reasons. I am attempting to do a debug build to get 
more information on this but I am experiencing some build problems. When I 
get these fixed I will hopefully know a bit more. 

I/RILR    ( 1976): CoreRadioPower() - Turn Radio ON 
I/RILR    ( 1976): CoreRadioPower() - Turning the Radio ON 
I/RILR    ( 1976): CRequestInfoTable::GetRequestInfo() - RequestID 0x16: 
Timeout [120000]   Retries [0] 
D/GSM     ( 2071): [GsmDataConnection-1] DcInactiveState: 
msg.what=EVENT_RESET, ignore we're already reset 
D/GSM     ( 2071): [GsmDataConnection-1] NotifyDisconnectCompleted 
I/RILR    ( 1976): CChannelBase::WriteToPort() - INFO: chnl=[0] TX 
[AT+CFUN=1<cr>] 
I/RILR    ( 1976): CChannelBase::ProcessModemData() - INFO: chnl=[0] 
size=[6] RX [<cr><lf>OK<cr><lf>] 
D/GSM     ( 2071): [DataConnection] Stop poll NetStat 
D/GSM     ( 2071): [DataConnection] Stop poll NetStat 
D/GSM     ( 2071): [DSAC DEB] *trySetupData* with mIsPsRestricted=false 
D/GSM     ( 2071): [GsmDataConnection-1] clearSettings 
D/GSM     ( 2071): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED 
NOT_READY reason null 
D/RILJ    ( 2071): [0003]> BASEBAND_VERSION 


Bruno

On Saturday, December 14, 2013 2:27:39 PM UTC, Subodh Nijsure wrote:
>
> You are sure you have enabled these options in your kernel config?
>
> CONFIG_PPP=y
> CONFIG_PPP_BSDCOMP=y
> CONFIG_PPP_DEFLATE=y
> CONFIG_PPP_ASYNC=y
> CONFIG_PPP_SYNC_TTY=y
>
>
> On Friday, December 13, 2013 2:46:04 AM UTC-8, Bruno De Paoli wrote:
>>
>> Hi,
>>
>> I've ported a third-party RIL driver to our platform which is running 
>> Gingerbread. The GSM functionality appears to be basically working in that 
>> the device registers with the network but, as far as I can see, the data 
>> connection is not being setup. My understanding is that PPP does not start 
>> automatically but only on certain events (such as an attempt to start 
>> browsing). However when I start the browser it does not connect and I do 
>> not see any obvious attempts to start the connection and no error events 
>> when I do logcat -b radio.
>>
>> I've included here what I believe to be the relevant part from the 
>> init.rc script.  init.gprs-pppd is marked as disabled and I think this is 
>> correct because it is not started automatically but is started by another 
>> event.
>>
>> # Prepare  RIL repository
>> service rril-repo /system/bin/rril-repo.sh
>>     user root
>>     group radio
>>     oneshot
>>
>> # Load RIL 
>> service ril-daemon /system/bin/rild -l /system/lib/librapid-ril-core.so 
>> -- -a /dev/ttyACM0 -n /dev/ttyACM1
>>    socket rild stream 660 root radio
>>    socket rild-debug stream 660 radio system
>>    user root
>>    group radio cache inet misc audio
>>
>> service pppd_gprs /system/bin/init.gprs-pppd
>>    user root radio
>>    group radio cache inet misc
>>    disabled
>>    oneshot
>>
>> service pppd_term /system/bin/stop_pppd 15
>>    disabled
>>    oneshot
>>
>> service pppd_kill /system/bin/stop_pppd 9
>>    disabled
>>    oneshot
>>
>>
>> Can anyone explain how this is supposed to work and suggest where I might 
>> look for the problem. What starts the data session and what/where can I 
>> look to see why it is not starting. I've had a look around some of the 
>> forums but could not find any obvious answers. I'm relatively new to 
>> Android so your help would be appreciated. 
>>
>> Thanks,
>> Bruno
>>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to