[FSO] add QCT msm7* modem support

Michael 'Mickey' Lauer mickey at openmoko.org
Sat Nov 22 20:23:46 CET 2008


Heya,

Am Saturday 22 November 2008 17:01:40 schrieb Stefan Schmidt:
> > > Modem is, as always, a bit more difficult. Does the modem support
> > > standard TS 07.10 muxer support on these devices?
> >
> > Afaik we don't have any muxing here because all the data goes through
> > different serial channels. That was also the first thing mickey asked
> > about the msm7* modems. I don't know exactly how the 3g stuff works,
> > because in angstrom I only use gprs on the kaiser. Never tried the
> > other data connections. But it must be very similar.
>
> So it is:
> /dev/smd0 for AT commands. (Any restriction, or all all comand allowed?)
> /dev/smd1 for GPRS
> /dev/smd7 for GPS
>
> What it about about /dev/smd{2,3,4,5,6} ? does they exist? If yes it could
> good be that we really need to userspace muxer for this as it is all
> handled inside the kernel. We have a similar setup for EZX. The kernel
> driver already does the multiplexing, a heavily modified variant of TS07.10
> from Moto, and just exports the char devices to userspace.

Let me add on that -- it is always desirable to have more than just one 
channel for usual AT commands, that way you can drastically simplify the gsm 
server logic. I would prefer three independent homogenous command channels, 
if we can have them, one for call control, one for unsolicited responses, and 
one for everything else.

> > ATZE0S0=0Q0V0X3&C1&D1|+GTKC=2
> > +CMEE=1
> > +CRC=1
> > +CR=1
> > +CREG=1
> > +FCLASS=0
> > +CMGF=0
> > +CSCS="HEX"
> > +CSSN=0,1
> > +CLIP=1
> > +COLP=0
> > +CCWA=1
> > +CMUT=0
> > +CLIR=0
> > +CNMI=1,2,2,2,0
> > +CGREG=1
> > +CUSD=1

Pretty standard.

> > +CPPP=1|@v

That one is special, choses PAP vs. CHAP?

> > +RADIOVER|@HTCCSQ=1
> > +ENCSQ=1|@HTCDIS=1
> > @HTCSAP=1|

No idea about these.

> The three above are for sure HTC specific. Mickey, can you comment on the
> others?
>
> > # Send the modem init and access point name
> > /bin/echo -e "AT+CGDCONT=1,\"IP\",\"$1\",\"\",0,0\r" > /dev/smd0
>
> Mickey, normal?

Completely standard.

> > As you can see we send the AT commands to smd0 and pppd is ran on smd1
> > where the gprs data flows.

Good. Again, if we can have three independent channels I'd be glad. If not, we 
have to take what we can get :)

-- 
:M:



More information about the devel mailing list