Hi Aleksander,<br><br>Was this patch pushed into the master?<div><br></div><div>Thanks,</div><div>Roshan Pius</div><br><div class="gmail_quote">On Tue Dec 09 2014 at 9:55:57 AM Roshan Pius <<a href="mailto:rpius@chromium.org" target="_blank">rpius@chromium.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This patch increases the response timeout for the probe AT commands for<br>
altair modems.<br>
<br>
We've been noticing some altair modems taking upto 6 seconds to respond to the<br>
initial probe command after a reset which results in modem-manager<br>
timing out and sending a second probe command. The modem sends a response<br>
after about 6 seconds for the initial probe command which modem-manager<br>
treats as response to second probe command and this results in the<br>
modem-manager and modem going out of sync because the modem's second<br>
probe response is treated as response to the next initialization AT command<br>
sent by modem-manager and so on.<br>
<br>
Change-Id: Iad8b0786327b153fd95c8ee4516f3<u></u><u></u>52325a42cf7<br>
---<br>
 plugins/altair/mm-plugin-<u></u>alta<u></u>ir-lte.c | 16 ++++++++++++++++<br>
 1 file changed, 16 insertions(+)<br>
<br>
diff --git a/plugins/altair/mm-plugin-<u></u>alt<u></u>air-lte.c b/plugins/altair/mm-plugin-<u></u>alt<u></u>air-lte.c<br>
index 1e1ecef..4201548 100644<br>
--- a/plugins/altair/mm-plugin-<u></u>alt<u></u>air-lte.c<br>
+++ b/plugins/altair/mm-plugin-<u></u>alt<u></u>air-lte.c<br>
@@ -34,6 +34,21 @@ G_DEFINE_TYPE (MMPluginAltairLte, mm_plugin_altair_lte, MM_TYPE_PLUGIN)<br>
 int mm_plugin_major_version = MM_PLUGIN_MAJOR_VERSION;<br>
 int mm_plugin_minor_version = MM_PLUGIN_MINOR_VERSION;<br>
<br>
+/****************************<u></u><u></u>******************************<u></u><u></u>*******************/<br>
+/* Custom commands for AT probing */<br>
+<br>
+/* Increase the response timeout for probe commands since some altair modems<br>
+   take longer to respond after a reset.<br>
+ */<br>
+static const MMPortProbeAtCommand custom_at_probe[] = {<br>
+    { "AT",  7, mm_port_probe_response_<u></u>process<u></u>or_is_at },<br>
+    { "AT",  7, mm_port_probe_response_<u></u>process<u></u>or_is_at },<br>
+    { "AT",  7, mm_port_probe_response_<u></u>process<u></u>or_is_at },<br>
+    { NULL }<br>
+};<br>
+<br>
+/****************************<u></u><u></u>******************************<u></u><u></u>*******************/<br>
+<br>
 static MMBaseModem *<br>
 create_modem (MMPlugin *self,<br>
               const gchar *sysfs_path,<br>
@@ -65,6 +80,7 @@ mm_plugin_create (void)<br>
                       MM_PLUGIN_NAME,                "Altair LTE",<br>
                       MM_PLUGIN_ALLOWED_SUBSYSTEMS,<u></u>  subsystems,<br>
                       MM_PLUGIN_ALLOWED_PRODUCT_<u></u>IDS, products,<br>
+                      MM_PLUGIN_CUSTOM_AT_PROBE,     custom_at_probe,<br>
                       MM_PLUGIN_ALLOWED_SINGLE_AT,   TRUE,<br>
                       MM_PLUGIN_SEND_LF,             TRUE,<br>
                       NULL));<br>
--<br>
2.2.0.rc0.207.ga3a616c<br>
<br>
</blockquote></div>