Re: Patch on unsupported AT command

2009-11-13 Thread Marcel Holtmann
Hi Yang, > If some unsupported AT command is issued, different modem may have > their own response. Now at my hand is a Huawei modem (EM770W), and it returns > "COMMAND NOT SUPPORT". In my case, this modem doesn't support "AT+CGAUTO=0" > in atmodem/gprs.c. Current oFono will hang there fo

Re: ppp

2009-11-13 Thread Rémi Denis-Courmont
On Thu, 12 Nov 2009 12:37:30 -0600, Denis Kenzior wrote: > Unfortunately it is not that simple. pppd requires a proper kernel file > descriptor to hand off to the kernel ppp line discipline. In our > userspace implementation that is not the case. 1 kernel file descriptor > is shared by potenti

Re: ppp

2009-11-13 Thread Rémi Denis-Courmont
On Thu, 12 Nov 2009 19:39:40 + (GMT), Chris Pitchford wrote: > I'm not sure if the requirements of ppp in the kernel have chagned, but > couldn't something like this be repeated in this situation.. allowing pppd > to speak to a local socket/fifo/pair of pipes that is terminated in user > spac

Re: ppp

2009-11-13 Thread Chris Pitchford
Quoting Rémi Denis-Courmont : On Thu, 12 Nov 2009 19:39:40 + (GMT), Chris Pitchford wrote: I'm not sure if the requirements of ppp in the kernel have chagned, but couldn't something like this be repeated in this situation.. allowing pppd to speak to a local socket/fifo/pair of pipes th

Re: ppp

2009-11-13 Thread Marcel Holtmann
Hi Chris, > > Unfortunately it is not that simple. pppd requires a proper kernel file > > descriptor to hand off to the kernel ppp line discipline. In our userspace > > implementation that is not the case. 1 kernel file descriptor is shared by > > potentially many GAtChat channels using a multi

Re: ppp

2009-11-13 Thread Chris Pitchford
Quoting Marcel Holtmann : Hi Chris, > Unfortunately it is not that simple. pppd requires a proper kernel file > descriptor to hand off to the kernel ppp line discipline. In our userspace > implementation that is not the case. 1 kernel file descriptor is shared by > potentially many GAt

Re: ppp

2009-11-13 Thread Marcel Holtmann
Hi Chris, > >> > Unfortunately it is not that simple. pppd requires a proper kernel file > >> > descriptor to hand off to the kernel ppp line discipline. In our > >> userspace > >> > implementation that is not the case. 1 kernel file descriptor is > >> shared by > >> > potentially many GAtC

Re: Patch on unsupported AT command

2009-11-13 Thread Denis Kenzior
Hi Marcel, > I think this might need a GAtChat quirk function where we can add extra > terminator responses that will be recognized. And maybe even translated > into something meaningful. Originally I had the terminators freely definable on the GAtChat + some hardcoded ones, but abandoned that a

Re: Patch on unsupported AT command

2009-11-13 Thread Marcel Holtmann
Hi Denis, > > I think this might need a GAtChat quirk function where we can add extra > > terminator responses that will be recognized. And maybe even translated > > into something meaningful. > > Originally I had the terminators freely definable on the GAtChat + some > hardcoded ones, but aband

Re: Patch on unsupported AT command

2009-11-13 Thread Denis Kenzior
Hi Marcel, > Hi Denis, > > > > I think this might need a GAtChat quirk function where we can add extra > > > terminator responses that will be recognized. And maybe even translated > > > into something meaningful. > > > > Originally I had the terminators freely definable on the GAtChat + some > >