Hi Simon,

I meanI use MUX daemon to create two virtual channels on one real port. So
PPP daemon can set one virtual channel to line discipline. MUXD is a
multiplexer, you can find source code on Android git.


Herman

2009/11/25 simon <[email protected]>

> hi, Herman
> what's the MUXD function to make you set to PPP line discipline?
> I'm working on this.
>
> On 11月9日, 下午5时01分, Herman <[email protected]> wrote:
> > I use network manager, it can be set to PPP line discipline now. After I
> use
> > MUXD function. I think the reason of previous is AT control and PPP use
> the
> > same port. So it caused fail.
> >
> > 2009/11/7 tommy tommy <[email protected]>
> >
> > > hi!
> > > you just use pppd or networkmanager ?
> > > pppd haven't "ATH' problem,you should ask modem engineer to ensure AT
> port
> > > or ppp port .
> >
> > > and please post your pppd full command line
> >
> > > 2009/11/6 Herman <[email protected]>
> >
> > >> Thanks, Tommy! So after I use "ATD*99***1#" dial command, I must send
> > >> "ATH" to modem immediately?
> >
> > >> 2009/11/6 tommy tommy <[email protected]>
> >
> > >>>  it is HW issue ,i guess your modem is under uncorrect state,i met
> > >>> similiar problem a few days ago!
> >
> > >>> please check you use  AT port or PPP network dial port ,or you need
> "ATH"
> > >>> after the first time exit to let modem RESET!
> >
> > >>> 2009/11/6 Herman <[email protected]>
> >
> > >>>>  Hi Eric,
> >
> > >>>> I have already chosen that. But it has the same result.
> >
> > >>>> Br,
> > >>>> Herman
> >
> > >>>> 2009/11/5 Eric.Wang <[email protected]>
> >
> > >>>> confirm your kernel menuconfig and try again
> > >>>>> (*) PPP support for async serial ports
> > >>>>> (*) PPP support for sync tty ports
> >
> > >>>>> On Oct 21, 4:44 pm, Herman <[email protected]> wrote:
> > >>>>> > Hi all,
> >
> > >>>>> > I try to enable data connection function through external modem.
> It
> > >>>>> can dial
> > >>>>> > but data connection failed. PPPD can't work well. In PPP daemon,
> it
> > >>>>> showed
> > >>>>> > "Couldn't set tty to PPP discipline: m". I used 2.6.26 kernel
> before,
> > >>>>> but
> > >>>>> > now I used 2.6.29 kernel. In kernel configuration, I have already
> > >>>>> enabled
> > >>>>> > "Device Drivers->Network device support->PPP support". They have
> same
> > >>>>> result
> > >>>>> > in io control "TIOCSETD", it seems that it can't set to data
> > >>>>> discipline. I
> > >>>>> > use USB to Serial converter interface, below is log of radio and
> > >>>>> pppd. Does
> > >>>>> > anyone have suggestions? Thanks.
> >
> > >>>>> > D/AT      (  606): AT> ATD*99***1#
> > >>>>> > D/AT      (  606): AT< ATD*99***1#
> > >>>>> > D/AT      (  606): AT< CONNECT 115200
> > >>>>> > D/RILJ    (  662): [0041]< SETUP_DEFAULT_PDP {1, ppp0}
> > >>>>> > D/GSM     (  662): [PdpConnection] PDP setup on cid = 1
> > >>>>> > I/pppd    (  806): Starting pppd
> > >>>>> > E/pppd    (  807): Couldn't set tty to PPP discipline: m
> > >>>>> > D/AT      (  606): AT< ~ }# !}!}!} }<}!}$}% }"}&} } } } }%}&} } }
> > >>>>> }}'}"}(}"}#}$ # U~
> >
> > >>>>> > D/AT      (  606): AT< OK
> > >>>>> > I/pppd    (  812): pppd exited with 1
> > >>>>> > I/pppd    (  816): Starting pppd
> > >>>>> > E/pppd    (  817): Couldn't set tty to PPP discipline: m
> > >>>>> > I/pppd    (  820): pppd exited with 1
> > >>>>> > I/pppd    (  824): Starting pppd
> > >>>>> > E/pppd    (  825): Couldn't set tty to PPP discipline: m
> > >>>>> > I/pppd    (  828): pppd exited with 1
> > >>>>> > I/pppd    (  832): Starting pppd
> > >>>>> > E/pppd    (  833): Couldn't set tty to PPP discipline: m
> > >>>>> > I/pppd    (  836): pppd exited with 1
> >
> > >>>>> > Best regards,
> > >>>>> > Herman
> >
> > >>>>> --
> > >>>>> unsubscribe: 
> > >>>>> [email protected]<android-porting%[email protected]>
> <android-porting%[email protected]<android-porting%[email protected]>
> >
> > >>>>> website:http://groups.google.com/group/android-porting
> >
> > >>>> --
> > >>>> unsubscribe: 
> > >>>> [email protected]<android-porting%[email protected]>
> <android-porting%[email protected]<android-porting%[email protected]>
> >
> > >>>> website:http://groups.google.com/group/android-porting
> >
> > >>> --
> > >>>   unsubscribe: 
> > >>> [email protected]<android-porting%[email protected]>
> <android-porting%[email protected]<android-porting%[email protected]>
> >
> > >>> website:http://groups.google.com/group/android-porting
> >
> > >> --
> > >> unsubscribe: 
> > >> [email protected]<android-porting%[email protected]>
> <android-porting%[email protected]<android-porting%[email protected]>
> >
> > >> website:http://groups.google.com/group/android-porting
> >
> > >  --
> > > unsubscribe: 
> > > [email protected]<android-porting%[email protected]>
> <android-porting%[email protected]<android-porting%[email protected]>
> >
> > > website:http://groups.google.com/group/android-porting
>
> --
> 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