aboutsummaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2013-04-25broadband-modem-icera: fix issues checking supported bandsDan Williams
Icera devices include bands that the modem doesn't support in the %IPBM=? list, so the plugin sets the band to its current enabled/disabled value to test whether that band is supported. There were two problems with this approach: 1) Setting an already-enabled band to be enabled apparently isn't a NOP; it might take more than the 3 seconds given, and if the response comes after 3 seconds, this greatly confuses ModemManager because the AT command/reply sequence is now messed up. So increase the timeout to 10 seconds. 2) Why bother checking bands that are already enabled anyway? We already know they are supported, so just don't check those bands at all. This requires some parkour because we use the parsed band array from %IPBM=? to track whether bands are enabled/disabled by indexing into the array, so instead just use two separate arrays. This actually makes the fix for #1 un-needed (because we never enable any bands) but it's good to have #1 anyway.
2013-04-25sierra: handle probing ERROR response betterDan Williams
The USB305 (Icera-based) apparently has a port that replies to everything with ERROR, and that port is unusable. Make sure it's ignored, otherwise MM may claim it as the primary AT port since it technically speaks AT.
2013-04-25huawei: only expect custom inits to be run on tty portsAleksander Morgado
2013-04-25zte: ensure error is set when +ZSNT response parser doesn't matchAleksander Morgado
2013-04-25x22x: ensure error is set when +SYSSEL response parser doesn't matchAleksander Morgado
2013-04-25sierra: ensure error is set when !SELRAT response parser doesn't matchAleksander Morgado
2013-04-25novatel: ensure error is set when $NWRAT response parser doesn't matchAleksander Morgado
2013-04-25huawei: ensure error is set when ^CPIN response parser doesn't matchAleksander Morgado
2013-04-24x22x: add Archos G9 device tagsDan Williams
2013-04-24altair-lte: minor coding style fixesAleksander Morgado
2013-04-24altair-lte: Add SIM unlock retries query to the Altair plugin.ori inbar
2013-04-24x22x: fix regex when parsing +SYSSEL responseAleksander Morgado
The numbers reported by +SYSSEL may have more than one digit, e.g.: +SYSSEL: 14,2,0,0 https://bugzilla.gnome.org/show_bug.cgi?id=698774
2013-04-17mbm: allow MBIM devicesAleksander Morgado
2013-04-17sierra: allow MBIM modems handled by the pluginAleksander Morgado
2013-04-17generic: allow MBIM devicesAleksander Morgado
2013-04-17huawei: allow MBIM devicesAleksander Morgado
2013-04-17plugin: allow plugins to require MBIM probing of cdc-wdm portsAleksander Morgado
2013-04-16novatel: ignore USB551LDan Williams
Just like the E362, which the USB551L is quite similar to.
2013-04-11huawei: fix up udev rules file nameDan Williams
2013-04-09huawei: increase the connection timeout to 60sAleksander Morgado
2013-04-09huawei: plug memleakAleksander Morgado
2013-04-09huawei: add port type rules for modemsFranko Fang
2013-04-09huawei: flag modems which support NDISDUPFranko Fang
2013-04-08huawei: use a 3s timeout as after-sim-unlock stepAleksander Morgado
Huawei e220 may fail miserably (rebooting itself) if we issue commands just after having unlocked the PIN.
2013-04-05icera: create generic bearer when no net port availableAleksander Morgado
https://bugzilla.gnome.org/show_bug.cgi?id=697374
2013-04-05mbm: plug memleaksAleksander Morgado
2013-04-05mbm: don't pass (null) as string when either user or password is emptyAleksander Morgado
E.g. instead of: (ttyACM1): --> 'AT*EIAAUW=2,1,"(null)","vodafone"<CR>' (ttyACM1): <-- '<CR><LF>OK<CR><LF>' Better pass: (ttyACM1): --> 'AT*EIAAUW=2,1,"","vodafone"<CR>' (ttyACM1): <-- '<CR><LF>OK<CR><LF>'
2013-04-04sierra: implement PIN/PUK retry count loadingAleksander Morgado
Not all Sierra modems support it, but those which do reply like this: AT+CPINC=? OK AT+CPINC? +CPINC: 3,3,10,10
2013-04-04sierra: early detect non-AT portsAleksander Morgado
Detect the parser filter errors during our custom_init(), and set the port as not being AT if the error found.
2013-04-04sierra: too many timeout errors during custom init means non-AT portAleksander Morgado
Reduces probing time of the modem in ~10s.
2013-04-04mbm: ignore *ESTKSMS unsolicited messagesAleksander Morgado
https://bugzilla.gnome.org/show_bug.cgi?id=697280
2013-04-04sierra: 'data' may be NULL if the parent dialling failsAleksander Morgado
2013-04-04sierra: plug memleakAleksander Morgado
2013-04-04altair-lte: minor style changesAleksander Morgado
2013-04-04altair-lte: initial altair lte pluginori inbar
2013-04-02pantech: skip WMC portsAleksander Morgado
WMC ports will return "ERROR" to all AT commands, except for "AT" itself. So just provide a custom AT probing logic, which uses "ATE0" instead, and assumes the port is not an AT port if an error is returned.
2013-04-02pantech: fully skip the SIM storage in the messaging interfaceAleksander Morgado
Seems that trying to use the SIM storage hangs a UMW190 modem, so just fully ignore it for now. https://bugzilla.gnome.org/show_bug.cgi?id=696724
2013-04-01mbm: fix udev rule tagging logicAleksander Morgado
2013-04-01x22x: Fix problem in set allowed modeDavid Castellanos
NM attempts to set allowed and preferred mode during the connection process. The plugin x220x does not handle properly when NM request allowed mode to '2g, 3g' and the preferred mode to 'none'. This commit attempts to solve the problem described above. When this situation happens, establish the mode of the modem has 'ANY' (which seems the safest one) instead of just throwing an error. Signed-off-by: David Castellanos <dcastellanos@indra.es>
2013-04-01mbm: don't tag only tty ports, and also grab cdc-wdm portsAleksander Morgado
We also need to tag cdc-wdm ports, so that they get grabbed but ignored and not QMI-probed. https://bugzilla.gnome.org/show_bug.cgi?id=696701
2013-03-29mbm: wait for unlock reporting READY after PIN/PUK unlockAleksander Morgado
MBM modems will lie about the unlock status just after having sent a correct PIN or PUK. So, explicitly wait to get in READY state after having sent the PIN or PUK, before keeping on. https://bugzilla.gnome.org/show_bug.cgi?id=696702
2013-03-29broadband-modem-novatel: implement CDMA time API (bgo #696739)Dan Williams
Use AT$NWLTIME to get current time and UTC offset.
2013-03-29port-probe: don't reschedule next probing step when serial port buffer fullAleksander Morgado
When the serial port buffer gets full of non-AT garbage during port probing, we were re-scheduling the next probing step, which is completely wrong, as we then would be processing the same probing task twice. If we get a buffer full, just cancel the AT probing cancellable, which would cancel not only the possible AT probings, but also the custom init if there is any. Also, make sure that the custom_init() of the plugins out there don't return an error if the GCancellable is cancelled. Cancelling the GCancellable means we should just stop the custom_init(), and actually sending an error in custom_init() means that the port should be set as unsupported by the plugin, so completely different things. Should fix https://bugzilla.gnome.org/show_bug.cgi?id=696695
2013-03-28option: don't apply both vendor and product filters at the same timeAleksander Morgado
The probing logic expects either one or the other right now. In this case, it is just simpler to include the Nozomi-related VID in the vendor filter, and remove the product filter.
2013-03-28option: ignore PH_SIM facility lock in 'nozomi' based modemsAleksander Morgado
https://bugzilla.gnome.org/show_bug.cgi?id=696593
2013-03-28broadband-modem-icera: make CME 3 errors fail power-up (bgo #696742)Dan Williams
+CME ERROR: 3 (Not Allowed) means airplane mode, at least for the Samsung Yxxxx devices that I've got. And if we get this error on any other devices, chances are they'll fail to power up too.
2013-03-28plugin: explicitly request QMI probingAleksander Morgado
Plugins which may support QMI ports need to explicitly request QMI probing in cdc-wdm devices. This should also avoid probing cdc-wdm ports when we know that the plugin doesn't support them (e.g. with Ericsson MBM devices). https://bugzilla.gnome.org/show_bug.cgi?id=696701
2013-03-28novatel: try to flip secondary ports to AT as soon as possibleAleksander Morgado
So do it during port probing. If we send this command early enough in the first AT port being probed, it should flip the secondary ports to AT mode before their port probing is finished. https://bugzilla.gnome.org/show_bug.cgi?id=696696
2013-03-27broadband-modem-sierra: fix trivial copy & paste errorDan Williams
2013-03-25broadband-modem-sierra: add after-sim-unlock delayDan Williams
Older devices may crash if asked to connect right after sending the PIN and unlocking the SIM; they simply stop responding to AT commands around the first request for access technology and then reboot. A delay seems prevents this behavior. Since it's not uncommon to require a delay after SIM unlock, add one for newer sierra_net devices as well, even though we're not quite sure if they need one or not. It doesn't hurt, at least.