Equipment info without SIM installed
Dan Williams
dcbw at redhat.com
Tue Dec 5 16:40:45 UTC 2017
On Tue, 2017-12-05 at 09:08 -0600, Dan Williams wrote:
> On Tue, 2017-12-05 at 10:54 +0100, Aleksander Morgado wrote:
> > Hey Dan,
> >
> > > > > >
> > > > > > In the case above none of the commands we have was
> > > > > > successful
> > > > > > determining capabilities :/ But we could improve the +CPIN?
> > > > > > check and
> > > > > > also assume that if it's telling us "SIM not inserted" then
> > > > > > it means
> > > > > > it requires a SIM and therefore it's at least GSM/UMTS.
> > > > >
> > > > > I should see if any of my older CDMA or dual-mode Gobis
> > > > > respond
> > > > > to
> > > > > that. I suspect that some of the older CDMA Huawei devices
> > > > > might.
> > > > >
> > > >
> > > > Oh, let's see what happens with those, yes.
> > > >
> > > > > There's also RUIM (the CDMA SIM-type card that was really
> > > > > only
> > > > > used in
> > > > > Russia and China) but I've never come across a device that
> > > > > uses
> > > > > one,
> > > > > and MM doesn't support them anyway.
> > > > >
> > > >
> > > > Yes, we should probably not worry much about those I guess.
> > > >
> > >
> > > Is the patch that Aleksander posted in this thread going to go in
> > > anytime soon? It seems useful to me, and fixes a minor Chrome OS
> > > issue.
> >
> > Were you able to test the patch with old CDMA modems?
>
> Bah. I'll try to do that today.
The Huawei EC121 reports "SIM NOT INSERTED" for CPIN?, but it also
reports the correct +GCAP so MM handles it correctly. IIRC every CDMA
modem I've come across (even phones) reports a usable +GCAP, so I think
we can rely on that to do the right thing for CDMA devices that also
report CPIN.
As long as we always keep GCAP before CPIN, of course...
Anyway, patch works fine on a bunch of CDMA and GSM devices I have.
Dan
More information about the ModemManager-devel
mailing list