According to the manual, when using CMUX on the UC15, it outputs
unsolicited indications on port 2 (i.e. /dev/gsmtty2), so the quectel
plugin must use this when registering for such.
---
 plugins/quectel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/quectel.c b/plugins/quectel.c
index ccfc6c5f..dea23bdd 100644
--- a/plugins/quectel.c
+++ b/plugins/quectel.c
@@ -849,8 +849,8 @@ static void cmux_cb(gboolean ok, GAtResult *result, 
gpointer user_data)
         * the kernel does not yet support mapping the underlying serial device
         * to its virtual gsm ttys, so hard-code gsmtty1 gsmtty2 for now
         */
-       ofono_modem_set_string(modem, "Aux", "/dev/gsmtty1");
-       ofono_modem_set_string(modem, "Modem", "/dev/gsmtty2");
+       ofono_modem_set_string(modem, "Modem", "/dev/gsmtty1");
+       ofono_modem_set_string(modem, "Aux", "/dev/gsmtty2");
 
        /* wait for gsmtty devices to appear */
        if (!l_timeout_create_ms(100, mux_ready_cb, modem, NULL)) {
-- 
2.22.1

_______________________________________________
ofono mailing list
ofono@ofono.org
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to