Thanks Vishevar for the very useful pointer.

I still have a few doubts though....

My modem is an internal ZTE MF-212 one and when powered up (by GPIO 
switching in kernel) it immediately appears as /dev/ttyUSB0 to 
/dev/ttyUSB2, so, no need to use usb_modeswitch in my case.

I still have a few doubts though:

1) Thought not explicitly mentioned in your tutorial, should we remove the 
"no-RIL" option in init.rc?

     setprop ro.radio.noril yes

What is the effect of this? I've noticed AOSP devices haven't this set...

2) Any suggestion about debug-logging rild? I see no logcat message when 
powering up the 3G module, though /dev/ttyUSB* are there.

3) What are the most modem-specific customizations introduced in 
reference-ril? Anything that needs to be changed, for a different modem?

4) I see no phone signal icon at all on UI, though I do have the mobile 
network options (with an empty APN list... in spite the apns-conf.xml is 
there). I'm wondering if there's anything else requiring customizations, in 
the AOSP code, apart from the commits you list above. I haven't downloaded 
the full* **rowboat-jb* code, yet...
Thanks in advance
Fabio

On Friday, 10 May 2013 11:02:18 UTC+2, Vishveshwar wrote:
>
> On JB 3G-modem integration seems to have become easier.
> Refer this page on TI wiki:
> http://processors.wiki.ti.com/index.php/Android-USB-3G-Modem-Integration
>
> -Vishveshwar
>
> On Thursday, May 9, 2013 9:40:24 PM UTC+5:30, ffxx68 wrote:
>>
>> Hi,
>>
>> I’m porting a GB tablet firmware to JB (
>> https://groups.google.com/forum/#!forum/renesas-emev-osp) and I’m now 
>> stuck at the 3G modem integration. I missed what has been customized in GB 
>> (though I can access code), so I have to redo the work myself.
>>
>> I found Adrien's tutorial (
>> https://afewe.wordpress.com/android-arm-development/use-point-to-point-protocol-ppp-in-android)
>>  
>> very useful to this aim, though I still have a few doubts I’d like someone 
>> to clarify.
>>
>> 1) what needs to be done, in order to make the connection being triggered 
>> by the “appearance” of the ttyUSB* devices, when powering up the modem for 
>> example?
>> 2) the chat script invoked by pppd is apparently operator-specific. What 
>> should be done to make connection generic and APN-independent?
>> 3) If rild makes the “trick”, what are the parts that are typically 
>> customized and what type of info needs to be collected about the specific 
>> modem being used (btw, mine is a ZTE MF-212).
>>
>> Thanks in advance
>> Fabio
>>
>>
>> On Tuesday, 31 May 2011 16:08:43 UTC+2, Adrien Ferré wrote:
>>>
>>> Hi, 
>>>
>>> I need to use ppp in Froyo. I need some pointers on how to do this. 
>>>
>>> What i know for now: 
>>>
>>> === init.rc === 
>>>
>>> Need to add 
>>>     setprop ro.radio.use-ppp yes 
>>>
>>> service pppd_gprs /etc/ppp/init.gprs-pppd 
>>>         user root 
>>>         group radio cache inet misc 
>>>         disabled 
>>>
>>> Thing is i don't have init.gprs-pppd. I searched a bit and found 
>>> several scripts but i don't know which one i should use. 
>>>
>>> Plus when i try to launch ppp using /system/bin/pppd, i have this nice 
>>> error : 
>>> FIX ME! implement ttyname() bionic/libc/bionic/stubs.c:360 
>>>
>>> and when i use /dev/ppp as the device : 
>>>
>>> E/pppd    ( 1269): no device specified and stdin is not a tty 
>>> E/pppd    ( 1271): tcgetattr: Not a typewriter (line 909) 
>>>
>>> Any hints is appreciated 
>>>
>>>

-- 
-- 
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