[RFC] TI Calypso / HTC firmware support
laforge at openmoko.org
Fri Mar 30 09:35:01 CEST 2007
On Wed, Mar 28, 2007 at 09:04:06PM +0200, pHilipp Zabel wrote:
> >yes. As usual, my time is limited. So for the time being, it will
> >probably be the two different multiplexes...
> Ok, fine. This leaves me wondering how to select the line discipline.
> The CGMI/CGMM queries below obviously can't be used until we have the
> AT communication channel set up. A command line parameter? Reading
> /proc/cpuinfo? Different implementations with similar behaviour using
> the same N_GSM ldisc number?
well, the difference between standards-compliant mux and the htc mux
seems to be that the standards-compliant mux is backwards compatible.
i.e. you can use the UART for AT commands until you issue AT+CMUX, after
which you have to attach the line discipline.
This fits nicely in the control flow model that I have thought about
Now in the case of HTC (or IIRC even motorola EZX phone) mux, we'll need
to have a line discipline even before starting to talk to the modem.
So I guess, we cannot really do auto-detection :(
Something like a per-machine-plugin pre-init callback (before we send the init
strings) should take care of attaching the ldisc.
> I hope you will be able to give the P1 models some meaningful replies here
I hope, too.
- Harald Welte <laforge at openmoko.org> http://openmoko.org/
Software for the world's first truly open Free Software mobile phone
More information about the gsmd-devel