Skip to content

SARA R4 patches

Jupiter ofono 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest4 patches 0 repliesNew

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Change 1: SARA R4 QMI supportplugins/udevng.c+41 -00 replies
2/4Change 2: Add SARA R4 vendor IDdrivers/atmodem/vendor.h+1 -00 replies
3/4Change 3: Check SARA R4 vendor ID, need to make it conditional on the actions being attach and detachdrivers/qmimodem/gprs.c+15 -00 replies
4/4Change 4: Add SARA R4 vendor and enable vendor in gprs createplugins/gobi.c+10 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] SARA R4 patches

From: jupiter <[email protected]>

Hi Jonas,

Is any reason you need to add ofono_modem_set_string(modem->modem, "Quirk", "SARAR4"); to static gboolean setup_sim7x00 rather than directly in static gboolean setup_ubloxqmi(struct modem_info *modem) ?

Your patch:

plugins/udevng.c +0 -0
@@ -1366,6 +1366,11 @@ static gboolean setup_sim7x00(struct modem_info

*modem)

                ofono_modem_set_string(modem->modem, "Audio", audio);
        }

+ if ((g_strcmp0(modem->vendor, "0xffff") == 0) &&
+ (g_strcmp0(modem->model, "0xffff") == 0)) {
+ ofono_modem_set_string(modem->modem, "Quirk", "SARAR4");
+ }
+

My patch:

plugins/udevng.c +1 -0
@@ -1194,6 +1194,45 @@ static gboolean setup_ublox(struct modem_info *modem)
    return TRUE;
 }
 
+static gboolean setup_ubloxqmi(struct modem_info *modem) {

..........

+   ofono_modem_set_string(modem->modem, "Device", qmi);
+   ofono_modem_set_string(modem->modem, "NetworkInterface", net);
+   ofono_modem_set_string(modem->modem, "Quirk", "SARAR4");
+   ofono_modem_set_driver(modem->modem, "gobi");

+
+ return TRUE;
+}

Thanks.

- jupiter

jupiter (4):
Change 1: SARA R4 QMI support
Change 2: Add SARA R4 vendor ID
Change 3: Check SARA R4 vendor ID, need to make it conditional on the
actions being attach and detach
Change 4: Add SARA R4 vendor and enable vendor in gprs create

 drivers/atmodem/vendor.h |  1 +
 drivers/qmimodem/gprs.c  | 15 +++++++++++++++
 plugins/gobi.c           | 11 ++++++++++-
 plugins/udevng.c         | 41 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 67 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.1