On our devices the multiplexer was implemented in the kernel...
Do you intend to you your hardware for making telephone calls (ie is
it a phone)? If not, you could simply set up dialling and everything
within pppd scripts.

As for getting the script to run, it might be helpful to learn that
after cupcake, support for the gprs_pppd service goes away, so you may
decide to add a system("/bin/pppd /dev/ttyS1"); or the like in your
RIL (this is what we've done for donut & cupcake support, as some
releases of cupcake didn't support the gprs_pppd service properly
either)

-Jesse

On Nov 19, 4:59 am, Xingwen Huang <[email protected]> wrote:
> Thank you very much! Your advice is helpful.
> Today, I have worked on linux(ubuntu) to implement gprs with pppd.
> I have been aware of the process.
> The problem is that there is no at+cmux in my modem.
> any idea?
>
> On Wed, Nov 18, 2009 at 11:45 PM, hikeit <[email protected]> wrote:
> > I'm seeing two problems here.
> > First is that it can't start pppd:
> > -Possibly because you don't have /etc/init.gprs_pppd executable, as
> > kkw mentioned... grab the script from some other cupcake build and
> > modify it to point to the correct serial channel
> > -Also you do need to configure all the scripts and settings in /etc/
> > ppp (options.<serport>, pap-secrets, chap-secrets, ip-up, ip-down)
>
> > The second issue is separate. It looks like the PPP traffic is landing
> > in the current serial session, which will not work at all.
> > -There should be an AT command when setting up the connection to
> > redirect it to the modem's secondary serial channel... you'll need to
> > look at the GPRS spec for your modem to figure out the right command.
> > -The other possibility is that you haven't implemented the multiplexer
> > properly yet.
>
> > -Jesse
>
> > On Nov 17, 10:33 pm, simon <[email protected]> wrote:
> > > Hi, all
> > >     I want to start pppd in my system. So, I follow the advice in the
> > > maillist, but it still doesn't work. It said that Unable to start
> > > service ctl [pppd_gprs] uid: 1001.
> > >  I found my problem was in the list too, but hadn't soloved.
> > > What i have done:
> > > init.rc
> > >   setprop ro.radio.use-ppp yes (it works)
>
> > >          service pppd_gprs /etc/init.gprs_pppd
> > >          user root
> > >          group radio cache inet misc
> > >          disabled
> > > /system/core/init/property_service.c
> > >         struct {
> > >                 const char *service;
> > >                 unsigned int uid;
> > >         } control_perms[] = {
> > >                 {"pppd_gprs", AID_RADIO },
> > >                 {NULL, 0 }
> > >         };
> > > But it also happend :<3>init: sys_prop: Unable to start service ctl
> > > [pppd_gprs] uid: 1001 pid:97
>
> > > any idea please!
>
> > >    log:
> > > D/AT      (   42): AT> AT+CGQREQ=1
> > > D/AT      (   42): AT< OK
> > > D/AT      (   42): AT> AT+CGQMIN=1
> > > D/AT      (   42): AT< OK
> > > D/AT      (   42): AT> AT+CGEREP=1,0
> > > D/AT      (   42): AT< OK
> > > D/AT      (   42): AT> AT+CGACT=1,1
> > > D/AT      (   42): AT< OK
> > > D/AT      (   42): AT> ATD*99***1#
> > > <3>init: sys_prop: Unable to start service ctl [pppd_gprs] uid: 1001
> > > pid:97
> > > D/AT      (   42): AT< CONNECT
> > > D/RILJ    (   97): [0038]< SETUP_DEFAULT_PDP {1, ppp0}
> > > D/GSM     (   97): [PdpConnection] PDP setup on cid = 1
> > > D/AT      (   42): AT< ~ }# !}!}!} }2}"}&} }*} } }#}$ #}'}"}(}"U ~~ }
> > > # !}!}!} }2}"}&} }*} } }#}$ #}'}"}(}"U ~~ }# !}!}!} }2}"}&} }*} }"}
> > > (}"U ~~ }# !}!}!} }2}"}&} }*} } }#}$ #}'}"}(}"U ~~ }# !}!}!} }2}"}&} }
> > > *} } }#}$ #}'}"}(}"U ~~ }# !}!}!} }2}"}&} }*} } }#}$ #}'}"!}!}!} }2}"}
> > > &} }*} } }#}$ #}'}"}
> > > D/AT      (   42): AT< NO CARRIER
>
> > > Thanks & best regards
>
> > --
> > unsubscribe: 
> > [email protected]<android-porting%[email protected]>
> > website:http://groups.google.com/group/android-porting

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to