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.