First connection attempt via F3507g fails
Bug #416418 reported by
Chris Jones
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
modemmanager (Ubuntu) |
Fix Released
|
Medium
|
Alexander Sack |
Bug Description
Binary package hint: modemmanager
After booting my machine, or unblocking the wwan rfkill, the first time I try to connect to the 3G network, it fails. The second attempt is able to initialise the modem correctly.
Attached is the output of modem-manager --debug.
To post a comment you must log in.
please try this patch against mm:
just apply it on top of the unpacked mm package for testing and build it.
diff --git a/plugins/ mm-modem- mbm.c b/plugins/ mm-modem- mbm.c mm-modem- mbm.c mm-modem- mbm.c
mm_serial_ port_add_ unsolicited_ msg_handler (MM_SERIAL_PORT (port), regex, mbm_ciev_received, modem, NULL);
g_regex_ unref (regex); port_add_ unsolicited_ msg_handler (MM_SERIAL_PORT (port), regex, NULL, modem, NULL);
index 6dfba3a..3c9e2be 100644
--- a/plugins/
+++ b/plugins/
@@ -709,6 +709,10 @@ grab_port (MMModem *modem,
regex = g_regex_new ("\\r\\n\\+CIEV: (\\d),(\\d)\\r\\n", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL);
+
+ regex = g_regex_new ("\\r\\n\\ *ESTKSMENU: .* \\r\\n", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL);
+ mm_serial_
+ g_regex_unref (regex);
}
return TRUE;