I got the same problem when working with HuaWei E180 USB dongle. With
some debugging, it seems that it stuck in kernel code "tty_set_ldisc",
i.e. when pushing PPP line discipline.

No root cause identified yet. But I workaround this by using ttyUSB1
for AT and ttyUSB0 for PPP.  In most case, modem will expose different
ports for AT and data. Check your modem configuration.

On Jul 4, 3:58 pm, Ash <ashwathga...@gmail.com> wrote:
> Hi,
>   My pppd stuck in ioctl(tty_fd, TIOCSETD, &ppp_disc) call in
> tty_establish_ppp function.
>
> i am using same serial interface(/dev/ttymxc2) forgsmandgprs.
>
> if i disablegsmand run only pppd it will not hang in  ioctl(tty_fd,
> TIOCSETD, &ppp_disc) call.
>
> if i run bothgsmandgprs(gprswill start pppd using same serial
> inteface) pppd will hang in ioctl(tty_fd, TIOCSETD, &ppp_disc) call.
>
>  whether we can use same serial interface forgsmandgprsor
> different serial interface(/dev/ttymxc2 and /dev/ttymxc3)..?
>
> Ash
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to