[PATCH] build: require glib >= 2.60
by JongSeok Won
Build failure in the latest version has occurred with glib 2.56.4.
src/simutil.c: In function ‘validate_utf8_tlv’:
src/simutil.c:779:9: error: implicit declaration of function
‘g_utf8_validate_len’; did you mean ‘g_utf8_validate’?
[-Werror=implicit-function-declaration]
return g_utf8_validate_len((const char *)tlv + 2, len, NULL);
^~~~~~~~~~~~~~~~~~~
g_utf8_validate
According to glib documentation, "g_utf8_validate_len" is supported since
2.60
So, I sent this patch.
Regards,
JongSeok Won
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index d4efc8a8..f195c862 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,8 +63,8 @@ AC_CHECK_FUNC(signalfd, dummy=yes,
AC_CHECK_LIB(dl, dlopen, dummy=yes,
AC_MSG_ERROR(dynamic linking loader is required))
-PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.32, dummy=yes,
- AC_MSG_ERROR(GLib >= 2.32 is required))
+PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.60, dummy=yes,
+ AC_MSG_ERROR(GLib >= 2.60 is required))
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
--
1 year
Patches For MMSD
by chris@talbothome.com
Hello,
I am submitting some patches for mmsd. My apoligies for the last time, I messed up the email chain on sending it. I also looked through, and I think I have fixed the errors on my Patches.
I have a total of 9 patches. The first 8 are updates to the mmsd core, and the last one is a a plugin to have mmsd work with Modem Manager.
Chris Talbot
1 year, 2 months
[PATCH v2 0/4] oFono uBlox SARA R4 QMI
by Bing Jupiter
Hi Denis,
Hope it can be accepted.
Thank you.
Kind regards,
- Jupiter
Bing Jupiter (4):
SARA R4 QMI support
Enable SARA R4 vendor ID for gprs create
Add SARA R4 vendor ID
Make SARA R4 vendor ID conditional being attach and detach
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(-)
--
2.25.1
1 year, 2 months
[PATCH v1 0/5] oFono uBlox SARA R4 QMI support
by Bing Jupiter
Hi Denis,
Fixed taps,hope it satisfies your requirements.
Thank you.
Jupiter (1):
Use tabs as Denis required
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(-)
--
2.25.1
1 year, 2 months
[PATCH 0/4] SARA R4 patches
by Jupiter
From: jupiter <jupiter.hce(a)gmail.com>
Resubmit to write proper messages.
jupiter (4):
SARA R4 QMI support based on uBlox model vendor ID
Add OFONO_VENDOR_UBLOX_SARA_R4
Check SARA R4 vendor ID, need to make it conditional on the actions being attach and detach
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(-)
--
2.17.1
1 year, 2 months
[PATCH v3 0/4] SARA R4 patches
by Jupiter
From: jupiter <jupiter.hce(a)gmail.com>
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:
--- a/plugins/udevng.c
+++ b/plugins/udevng.c
@@ -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:
--- a/plugins/udevng.c
+++ b/plugins/udevng.c
@@ -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(-)
--
2.17.1
1 year, 2 months