>> > > > > > 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. >
Nice! thanks for checking; let's merge it to git master. -- Aleksander https://aleksander.es _______________________________________________ ModemManager-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
