diff --git a/.ModemManager.metadata b/.ModemManager.metadata new file mode 100644 index 0000000..2deac4c --- /dev/null +++ b/.ModemManager.metadata @@ -0,0 +1 @@ +d870fc3eef6f52ee9e599be2fb36e1b3f39e8a56 SOURCES/ModemManager-1.6.10.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ba250fd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ModemManager-1.6.10.tar.xz diff --git a/SOURCES/0001-Revert-build-bump-required-gettext-version-to-0.19.3.patch b/SOURCES/0001-Revert-build-bump-required-gettext-version-to-0.19.3.patch new file mode 100644 index 0000000..f65836b --- /dev/null +++ b/SOURCES/0001-Revert-build-bump-required-gettext-version-to-0.19.3.patch @@ -0,0 +1,27 @@ +From d568355ee4e5e5fc102d6ac7d89fa9f2718c4936 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Wed, 22 Jun 2016 15:22:45 +0200 +Subject: [PATCH] Revert "build: bump required gettext version to 0.19.3" + +This reverts commit e00fd54a200f97aa5ae44e981da152669521f83c. +--- + .gitignore | 3 --- + configure.ac | 2 +- + 2 files changed, 1 insertion(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 1065f08..ad7baba 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -84,7 +84,7 @@ dnl + IT_PROG_INTLTOOL([0.40.0]) + + AM_GNU_GETTEXT([external]) +-AM_GNU_GETTEXT_VERSION([0.19.3]) ++AM_GNU_GETTEXT_VERSION([0.17]) + + GETTEXT_PACKAGE=ModemManager + AC_SUBST(GETTEXT_PACKAGE) +-- +2.7.4 + diff --git a/SOURCES/0001-base-bearer-fix-check-for-cancellation.patch b/SOURCES/0001-base-bearer-fix-check-for-cancellation.patch new file mode 100644 index 0000000..09d3cf1 --- /dev/null +++ b/SOURCES/0001-base-bearer-fix-check-for-cancellation.patch @@ -0,0 +1,32 @@ +From 811e7a71fe574884e454807fb59393acc182555c Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Fri, 3 May 2019 18:45:22 +0200 +Subject: [PATCH 1/4] base-bearer: fix check for cancellation + +If we cancel connect_cancellable, the connect task will return a +G_IO_ERROR_CANCELLED. We may need to do some cleanup (like, disconnect +if the connection went far enough to actually start the network +connection), thus it's important we check for cancellation correctly. +--- + src/mm-base-bearer.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/src/mm-base-bearer.c b/src/mm-base-bearer.c +index 854fbc2..e1dd989 100644 +--- a/src/mm-base-bearer.c ++++ b/src/mm-base-bearer.c +@@ -576,9 +576,8 @@ connect_ready (MMBaseBearer *self, + mm_dbg ("Couldn't connect bearer '%s': '%s'", + self->priv->path, + error->message); +- if (g_error_matches (error, +- MM_CORE_ERROR, +- MM_CORE_ERROR_CANCELLED)) { ++ if ( g_error_matches (error, MM_CORE_ERROR, MM_CORE_ERROR_CANCELLED) ++ || g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { + /* Will launch disconnection */ + launch_disconnect = TRUE; + } else +-- +1.8.3.1 + diff --git a/SOURCES/0001-port-qmi-increase-qmi_device_open-retries.patch b/SOURCES/0001-port-qmi-increase-qmi_device_open-retries.patch new file mode 100644 index 0000000..7f3580f --- /dev/null +++ b/SOURCES/0001-port-qmi-increase-qmi_device_open-retries.patch @@ -0,0 +1,29 @@ +From 6258223522b5352e1f2226ed60bfe88156fb011c Mon Sep 17 00:00:00 2001 +From: Daniele Palmas +Date: Fri, 22 Feb 2019 13:44:29 +0100 +Subject: [PATCH] port-qmi: increase qmi_device_open retries + +Telit modems LM940/960 need more time for becoming responsive +to qmi requests after device appearance. + +(cherry picked from commit 301bdcfef7e3407a675b37b99d2c57ddb249baa8) +--- + src/mm-port-qmi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/mm-port-qmi.c b/src/mm-port-qmi.c +index 58925c28..ac785b17 100644 +--- a/src/mm-port-qmi.c ++++ b/src/mm-port-qmi.c +@@ -391,7 +391,7 @@ port_open_context_step (PortOpenContext *ctx) + qmi_device_open (ctx->device, + (QMI_DEVICE_OPEN_FLAGS_VERSION_INFO | + QMI_DEVICE_OPEN_FLAGS_PROXY), +- 10, ++ 20, + ctx->cancellable, + (GAsyncReadyCallback) qmi_device_open_first_ready, + ctx); +-- +2.21.0 + diff --git a/SOURCES/0001-sierra-do-not-grab-cdc_ether-devices.patch b/SOURCES/0001-sierra-do-not-grab-cdc_ether-devices.patch new file mode 100644 index 0000000..256661f --- /dev/null +++ b/SOURCES/0001-sierra-do-not-grab-cdc_ether-devices.patch @@ -0,0 +1,71 @@ +From 40043de96524c61d1f8b4cc25c171924c4f312a6 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Fri, 17 May 2019 16:42:47 +0200 +Subject: [PATCH] sierra: do not grab cdc_ether devices + +The Sierra modems may have more network interfaces than just the modem data +one, such as the SoC management interface or an application specific ones +created via one of the network USB gadget drivers. + +We grab them even they're not DEVTYPE=wwan. Let's not do that. Also, to stay on +the safe side, keep grabbing qmi_wwan. +--- + plugins/sierra/mm-plugin-sierra.c | 37 +++++++++++++++++++++++++++++++ + 1 file changed, 37 insertions(+) + +diff --git a/plugins/sierra/mm-plugin-sierra.c b/plugins/sierra/mm-plugin-sierra.c +index 03a06bd8..01e753fa 100644 +--- a/plugins/sierra/mm-plugin-sierra.c ++++ b/plugins/sierra/mm-plugin-sierra.c +@@ -80,6 +80,42 @@ create_modem (MMPlugin *self, + product)); + } + ++gboolean ++grab_port (MMPlugin *self, ++ MMBaseModem *modem, ++ MMPortProbe *probe, ++ GError **error) ++{ ++ MMPortSerialAtFlag pflags = MM_PORT_SERIAL_AT_FLAG_NONE; ++ GUdevDevice *port; ++ const gchar *subsys; ++ const gchar *name; ++ ++ port = mm_port_probe_peek_port (probe); ++ subsys = mm_port_probe_get_port_subsys (probe); ++ name = mm_port_probe_get_port_name (probe); ++ ++ if (g_strcmp0 (g_udev_device_get_subsystem (port), "net") == 0 && ++ g_strcmp0 (g_udev_device_get_property (port, "DEVTYPE"), "wwan") != 0 && ++ g_strcmp0 (mm_device_utils_get_port_driver (port), "qmi_wwan") != 0) { ++ g_set_error (error, ++ MM_CORE_ERROR, ++ MM_CORE_ERROR_UNSUPPORTED, ++ "Cannot add port '%s/%s', not the QMI data interface", ++ subsys, ++ name); ++ return FALSE; ++ } ++ ++ return mm_base_modem_grab_port (modem, ++ subsys, ++ name, ++ mm_port_probe_get_parent_path (probe), ++ mm_port_probe_get_port_type (probe), ++ pflags, ++ error); ++} ++ + /*****************************************************************************/ + + G_MODULE_EXPORT MMPlugin * +@@ -113,4 +149,5 @@ mm_plugin_sierra_class_init (MMPluginSierraClass *klass) + MMPluginClass *plugin_class = MM_PLUGIN_CLASS (klass); + + plugin_class->create_modem = create_modem; ++ plugin_class->grab_port = grab_port; + } +-- +2.18.1 + diff --git a/SOURCES/0002-bearer-qmi-unsolicited-events-might-not-be-enabled-o.patch b/SOURCES/0002-bearer-qmi-unsolicited-events-might-not-be-enabled-o.patch new file mode 100644 index 0000000..15d2425 --- /dev/null +++ b/SOURCES/0002-bearer-qmi-unsolicited-events-might-not-be-enabled-o.patch @@ -0,0 +1,54 @@ +From 31f108aee1f328c8889b00547b212c4e3cb27fa2 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Fri, 3 May 2019 18:07:33 +0200 +Subject: [PATCH 2/4] bearer-qmi: unsolicited events might not be enabled on + disconnect + +If a disconnection fails (because stop_network() failed), base-bearer +flips the state back to CONNECTED. Oops. At that point something is +clearly messed up, but it seems correct to assume the bearer is +connected. + +Nevertheless, we will have already have unhooked the unsolicited eventsx +reporting. A subsequent attempt to disconnect the bearer will trip the +assertion: + + #0 0x00007ffff75f2eb5 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 + #1 0x00007ffff75dd895 in __GI_abort () at abort.c:79 + #2 0x00007ffff77beb53 in g_assertion_message + (domain=, file=, line=, func=0x5088e0 <__FUNCTION__.56253> "cleanup_event_report_unsolicited_events", message=) at ../glib/gtestutils.c:2878 + #3 0x00007ffff781a96f in g_assertion_message_expr + (domain=domain@entry=0x0, file=file@entry=0x507aad "mm-bearer-qmi.c", line=line@entry=1138, func=func@entry=0x5088e0 <__FUNCTION__.56253> "cleanup_event_report_unsolicited_events", expr=expr@entry=0x507ae5 "*indication_id != 0") at ../glib/gtestutils.c:2904 + #4 0x00000000004a0c49 in cleanup_event_report_unsolicited_events (client=, indication_id=0x5bb30c, self=) + at mm-bearer-qmi.c:1138 + #5 0x00000000004a0c49 in cleanup_event_report_unsolicited_events + (client=, indication_id=indication_id@entry=0x5bb30c, self=0x5bb420 [MMBearerQmi]) at mm-bearer-qmi.c:1132 + #6 0x00000000004a0ee3 in disconnect_context_step (task=0x7fffe8012100 [GTask]) at mm-bearer-qmi.c:1854 + #7 0x000000000046e889 in disconnect_auth_ready (self=, res=, ctx=ctx@entry=0x654630) + at mm-iface-modem-simple.c:865 + #8 0x00007ffff79cfa9a in g_task_return_now (task=0x7fffe8012640 [GTask]) at ../gio/gtask.c:1209 + ... +--- + src/mm-bearer-qmi.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/src/mm-bearer-qmi.c b/src/mm-bearer-qmi.c +index c75d5e4..f8c6544 100644 +--- a/src/mm-bearer-qmi.c ++++ b/src/mm-bearer-qmi.c +@@ -970,7 +970,11 @@ cleanup_event_report_unsolicited_events (MMBearerQmi *self, + { + QmiMessageWdsSetEventReportInput *input; + +- g_assert (*indication_id != 0); ++ if (*indication_id == 0) { ++ mm_warn ("Reporting of unsolicited events already cleared"); ++ return; ++ } ++ + g_signal_handler_disconnect (client, *indication_id); + *indication_id = 0; + +-- +1.8.3.1 + diff --git a/SOURCES/0003-bearer-qmi-do-not-pass-a-cancellable-to-start_networ.patch b/SOURCES/0003-bearer-qmi-do-not-pass-a-cancellable-to-start_networ.patch new file mode 100644 index 0000000..b249c94 --- /dev/null +++ b/SOURCES/0003-bearer-qmi-do-not-pass-a-cancellable-to-start_networ.patch @@ -0,0 +1,37 @@ +From 9eac385cf0c0cdcdf6a8764133e3569a68e665d2 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Fri, 3 May 2019 19:40:16 +0200 +Subject: [PATCH 3/4] bearer-qmi: do not pass a cancellable to start_network() + +If we cancel start_network(), we'll lose the network handle. That means +we won't ever be able to stop the network again, and reconnect the modem +again. +--- + src/mm-bearer-qmi.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/mm-bearer-qmi.c b/src/mm-bearer-qmi.c +index f8c6544..10664a8 100644 +--- a/src/mm-bearer-qmi.c ++++ b/src/mm-bearer-qmi.c +@@ -1171,7 +1171,7 @@ connect_context_step (ConnectContext *ctx) + qmi_client_wds_start_network (ctx->client_ipv4, + input, + 45, +- ctx->cancellable, ++ NULL, /* Disallow cancellation */ + (GAsyncReadyCallback)start_network_ready, + ctx); + qmi_message_wds_start_network_input_unref (input); +@@ -1274,7 +1274,7 @@ connect_context_step (ConnectContext *ctx) + qmi_client_wds_start_network (ctx->client_ipv6, + input, + 45, +- ctx->cancellable, ++ NULL, /* Disallow cancellation */ + (GAsyncReadyCallback)start_network_ready, + ctx); + qmi_message_wds_start_network_input_unref (input); +-- +1.8.3.1 + diff --git a/SOURCES/0004-bearer-qmi-don-t-throw-away-packet-data-handles-on-c.patch b/SOURCES/0004-bearer-qmi-don-t-throw-away-packet-data-handles-on-c.patch new file mode 100644 index 0000000..efe5f18 --- /dev/null +++ b/SOURCES/0004-bearer-qmi-don-t-throw-away-packet-data-handles-on-c.patch @@ -0,0 +1,41 @@ +From a32f0e0e4457d561b1aebaf5e8b3390e7868ef90 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Fri, 3 May 2019 19:36:37 +0200 +Subject: [PATCH 4/4] bearer-qmi: don't throw away packet data handles on + cancellation + +If the connection attempt is cancelled, the base bearer will attempt a +disconnection because it could reach the point after it connected the +network. However, for that to work we must not forget the packet data +handles, and the ip client instances. +--- + src/mm-bearer-qmi.c | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +diff --git a/src/mm-bearer-qmi.c b/src/mm-bearer-qmi.c +index 10664a8..a5d6d29 100644 +--- a/src/mm-bearer-qmi.c ++++ b/src/mm-bearer-qmi.c +@@ -1047,6 +1047,19 @@ connect_context_step (ConnectContext *ctx) + MM_CORE_ERROR, + MM_CORE_ERROR_CANCELLED, + "Connection setup operation has been cancelled"); ++ if (ctx->data) { ++ ctx->self->priv->data = g_object_ref (ctx->data); ++ /* If we managed to succeed at connecting, we need to preserve the client ++ * and the handle, so that subsequent disconnection can destroy them. */ ++ if (ctx->client_ipv4) { ++ ctx->self->priv->client_ipv4 = g_object_ref (ctx->client_ipv4); ++ ctx->self->priv->packet_data_handle_ipv4 = ctx->packet_data_handle_ipv4; ++ } ++ if (ctx->client_ipv6) { ++ ctx->self->priv->client_ipv6 = g_object_ref (ctx->client_ipv6); ++ ctx->self->priv->packet_data_handle_ipv6 = ctx->packet_data_handle_ipv6; ++ } ++ } + connect_context_complete_and_free (ctx); + return; + } +-- +1.8.3.1 + diff --git a/SPECS/ModemManager.spec b/SPECS/ModemManager.spec new file mode 100644 index 0000000..1c471d2 --- /dev/null +++ b/SPECS/ModemManager.spec @@ -0,0 +1,535 @@ +%global glib2_version 2.32 + +%global _hardened_build 1 + +Summary: Mobile broadband modem management service +Name: ModemManager +Version: 1.6.10 +Release: 3%{?dist} +Source: https://www.freedesktop.org/software/ModemManager/%{name}-%{version}.tar.xz +Patch0: 0001-Revert-build-bump-required-gettext-version-to-0.19.3.patch +Patch1: 0001-port-qmi-increase-qmi_device_open-retries.patch +Patch2: 0001-base-bearer-fix-check-for-cancellation.patch +Patch3: 0002-bearer-qmi-unsolicited-events-might-not-be-enabled-o.patch +Patch4: 0003-bearer-qmi-do-not-pass-a-cancellable-to-start_networ.patch +Patch5: 0004-bearer-qmi-don-t-throw-away-packet-data-handles-on-c.patch +Patch6: 0001-sierra-do-not-grab-cdc_ether-devices.patch + +License: GPLv2+ +Group: System Environment/Base + +URL: http://www.freedesktop.org/wiki/Software/ModemManager/ +Requires: glib2 >= %{glib2_version} +# For mbim-proxy and qmi-proxy +Requires: libmbim-utils +Requires: libqmi-utils +Requires: %{name}-glib%{?_isa} = %{version}-%{release} + +Requires(post): systemd +Requires(postun): systemd +Requires(preun): systemd + +BuildRequires: glib2-devel >= %{glib2_version} +BuildRequires: libgudev1-devel >= 143 +BuildRequires: automake autoconf intltool libtool +BuildRequires: intltool +BuildRequires: libxslt gtk-doc +BuildRequires: libqmi-devel >= 1.16.0 +BuildRequires: libmbim-devel >= 1.14.0 +BuildRequires: gobject-introspection-devel >= 1.38 +BuildRequires: vala-tools vala-devel +BuildRequires: dbus +BuildRequires: systemd-devel + +%global __provides_exclude ^libmm-plugin- + +%description +The ModemManager service manages WWAN modems and provides a consistent API for +interacting with these devices to client applications. + +%package devel +Summary: Libraries and headers for adding ModemManager support to applications +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description devel +This package contains various headers for accessing some ModemManager functionality +from applications. + +%package glib +Summary: Libraries for adding ModemManager support to applications that use glib. +Group: Development/Libraries +Requires: glib2 >= %{glib2_version} + +%description glib +This package contains the libraries that make it easier to use some ModemManager +functionality from applications that use glib. + +%package glib-devel +Summary: Libraries and headers for adding ModemManager support to applications that use glib. +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Requires: %{name}-glib%{?_isa} = %{version}-%{release} +Requires: glib2-devel >= %{glib2_version} +Requires: pkgconfig + +%description glib-devel +This package contains various headers for accessing some ModemManager functionality +from glib applications. + +%package vala +Summary: Vala bindings for ModemManager +Group: Development/Libraries +Requires: vala +Requires: %{name}-glib%{?_isa} = %{version}-%{release} + +%description vala +Vala bindings for ModemManager + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 + +%build +intltoolize --force +autoreconf -i --force +intltoolize --force +%configure \ + --with-suspend-resume=systemd \ + --enable-more-warnings=no \ + --with-udev-base-dir=%{_prefix}/lib/udev \ + --enable-gtk-doc \ + --with-qmi=yes \ + --with-mbim=yes \ + --disable-static \ + --with-polkit=no \ + --with-dist-version=%{version}-%{release} + +make %{?_smp_mflags} + +%check +make check + +%install +make install DESTDIR=%{buildroot} + +rm -f %{buildroot}%{_libdir}/*.la +rm -f %{buildroot}%{_libdir}/%{name}/*.la + +%find_lang %{name} + +%post +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : +%systemd_post ModemManager.service + +%preun +%systemd_preun ModemManager.service + +%postun +/sbin/ldconfig +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi +%systemd_postun + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + +%post glib -p /sbin/ldconfig +%postun glib -p /sbin/ldconfig + +%files -f %{name}.lang +%doc COPYING README +%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf +%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager1.service +%attr(0755,root,root) %{_sbindir}/ModemManager +%attr(0755,root,root) %{_bindir}/mmcli +%dir %{_libdir}/%{name} +%attr(0755,root,root) %{_libdir}/%{name}/*.so* +%{_udevrulesdir}/* +%{_unitdir}/ModemManager.service +%{_datadir}/icons/hicolor/22x22/apps/*.png +%{_datadir}/bash-completion +%{_mandir}/man8/* + +%files devel +%{_includedir}/ModemManager/*.h +%dir %{_datadir}/gtk-doc/html/%{name} +%{_datadir}/gtk-doc/html/%{name}/* +%{_libdir}/pkgconfig/%{name}.pc +%{_datadir}/dbus-1/interfaces/*.xml + +%files glib +%{_libdir}/libmm-glib.so.* +%{_libdir}/girepository-1.0/*.typelib + +%files glib-devel +%{_libdir}/libmm-glib.so +%dir %{_includedir}/libmm-glib +%{_includedir}/libmm-glib/*.h +%{_libdir}/pkgconfig/mm-glib.pc +%dir %{_datadir}/gtk-doc/html/libmm-glib +%{_datadir}/gtk-doc/html/libmm-glib/* +%{_datadir}/gir-1.0/*.gir + +%files vala +%{_datadir}/vala/vapi/libmm-glib.* + +%changelog +* Tue May 21 2019 Lubomir Rintel - 1.6.10-3 +- Don't grab cdc_ether devices on Sierra QMI modems (rh #1712031) + +* Mon May 13 2019 Lubomir Rintel - 1.6.10-2 +- Increase QMI open timeout +- Fix a race on WDS Start Network cancellation (rh #1676808) + +* Tue Oct 24 2017 Lubomir Rintel - 1.6.10-1 +- Update to 1.6.10 release (rh #1483051) + +* Tue Aug 29 2017 Lubomir Rintel - 1.6.8-1 +- Update to 1.6.8 release (rh #1483051) + +* Tue Jul 26 2016 Lubomir Rintel - 1.6.0-2 +- Disallow mixing different ModemManager and libmm-glib versions (rh #1352041) + +* Tue Jul 26 2016 Lubomir Rintel - 1.6.0-1 +- Update to the 1.6 release + +* Fri Jul 08 2016 Lubomir Rintel - 1.6.0-0.1.rc4 +- Update to a 1.6 snapshot + +* Thu Aug 13 2015 Lubomir Rintel - 1.1.0-8.git20130913 +- rfcomm: don't open the ttys until NetworkManager connects them (rh #1251954) + +* Thu Jul 9 2015 Jiří Klimeš - 1.1.0-7.git20130913 +- iface-modem: fix MODEM_STATE_IS_INTERMEDIATE macro (rh #1200958) + +* Wed Mar 12 2014 Dan Williams - 1.1.0-6.git20130913 +- Fix hardened build (rh #1065046) + +* Fri Jan 24 2014 Daniel Mach - 1.1.0-5.git20130913 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 1.1.0-4.git20130913 +- Mass rebuild 2013-12-27 + +* Fri Oct 11 2013 Dan Williams - 1.1.0-3.git20130913 +- Main RPM requires ModemManager-glib +- Vala RPM does not require main ModemManager RPM + +* Fri Sep 13 2013 Dan Williams - 1.1.0-2.git20130913 +- Build with MBIM support +- Enable Vala bindings + +* Fri Sep 6 2013 Dan Williams - 1.1.0-1.git20130906 +- Update to latest git snapshot + +* Mon Aug 26 2013 Dan Williams - 1.0.1-2.git20130723 +- Fix udev rules file paths +- Remove 'dia' from BuildRequires + +* Tue Jul 23 2013 Dan Williams - 1.0.1-1.git20130723 +- Update to 1.0.1 release +- Enable QMI support + +* Wed Jul 10 2013 Dan Williams - 0.7.991-2.git20130710 +- Handle PNP connected devices +- Fall back to AT for messaging if QMI modem doesn't support the WMS service +- Fix IPv6 bearer creation for HSO devices +- Fix detection of supported modes on Icera-based modems +- Fix handling of some Icera-based modems with limited capability ports +- Add support for Olivetti Olicard 200 + +* Fri Jun 7 2013 Dan Williams - 0.7.991-1.git20130607 +- Update to 0.7.991 snapshot +- Fix SMS validity parsing +- Allow registration changes to 'searching' without disconnecting +- Fix reading SMS messages from some QMI-based devices +- Increase connection timeout for Novatel E362 +- Fix PIN retries checking when unlocking Ericsson devices +- Better handling of supported and preferred modes (eg 2G, 3G, 4G preference) + +* Wed May 22 2013 Kalev Lember - 0.7.990-3.git20130515 +- Install the libmm-glib.so symlink in -glib-devel +- Include the /usr/share/libmm-glib directory in -glib-devel +- Make sure -glib-devel subpackage depends on the base -glib package + +* Thu May 16 2013 Bruno Wolff III - 0.7.990-2.git20130515 +- Removed epoch macro references + +* Wed May 15 2013 Dan Williams - 0.7.990-1.git20130515 +- Update to 0.8 snapshot + +* Thu Jan 31 2013 Tom Callaway - 0.6.0.0-3 +- blacklist common arduino devices (rh #861620) + +* Tue Nov 27 2012 Jiří Klimeš - 0.6.0.0-2 +- core: fix a crash in g_utf8_validate() (rh #862341) + +* Tue Sep 4 2012 Dan Williams - 0.6.0.0-1 +- Update to 0.6.0 +- core: fix SMS notifications on many Qualcomm devices +- core: use SMS PDU mode by default (more compatible) +- novatel: fix CDMA roaming indication +- zte: support more devices +- zte: power down modems when disabled +- mbm: power down modems when disabled +- mbm: add support for Ericsson H5321 +- sierra: fix detection of secondary ports +- sierra: more reliable connections with USB 305/AT&T Lightning + +* Fri Jul 20 2012 Dan Williams - 0.5.3.96-1 +- Update to 0.5.3.96 (0.5.4-rc2) +- core: fix SMS handling on a number of devices +- zte: support for devices that use Icera chipsets +- core: ignore unsupported QMI WWAN ports (rh #835153) + +* Wed Mar 14 2012 Dan Williams - 0.5.2.0-1 +- Update to 0.5.2 +- core: retry sending SMS in PDU mode if text fails +- hso: fix connection regression due to Nokia device fixes + +* Sat Feb 25 2012 Dan Williams - 0.5.1.97-1 +- Update to 0.5.2-rc1 +- core: fix a few crashes +- nokia: fix issues with various Nokia devices +- huawei: fix modem crashes with older Huawei devices (like E220) + +* Tue Feb 7 2012 Dan Williams - 0.5.1.96-1 +- Update to git snapshot of 0.5.2 +- option: fix handling of access technology reporting +- cdma: fix handling of EVDO registration states +- mbm: fix problems reconnecting on Ericsson F5521gw modems +- gsm: fix connections using the Motorola Flipout +- gsm: better detection of registration state when connecting +- mbm: add support for more Ericsson modems +- gobi: ensure rebranded Gobi devices are driven by Gobi +- gsm: fix SMS multipart messages, PDU-only mode, and text-mode message listing +- huawei: fix USSD handling +- nokia: add support for Nokia Internet Sticks +- gsm: fix registration response handling on some newer devices +- sierra: add support for Icera-based devices (USB305, AT&T Lightning) + +* Thu Jan 12 2012 Fedora Release Engineering - 0.4.998-2.git20110706 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Jul 7 2011 Dan Williams - 0.4.998-1.git20110706 +- Update to 0.5-beta4 +- gsm: various USSD fixes +- samsung: support for Y3400 module and various other fixes +- gobi: support access technology reporting while disconnected +- nokia: fix issues with N900 USB connected operation (rh #583691) + +* Mon Jun 6 2011 Dan Williams - 0.4.997-1 +- Update to 0.5-beta3 +- samsung: only support Y3300 (fixes issues with other Samsung modems) +- longcheer: restrict to only supported devices +- simtech: add support for Prolink PH-300 +- gsm: various SMS cleanups and fixes +- x22x: add support for access technology reporting and the Alcatel X200 modem + +* Wed Apr 27 2011 Dan Williams 0.4-8.git20110427 +- samsung: add support for Samsung Y3300 GSM modem +- huawei: fixes for probing and handling various Huawei devices +- wavecom: add support for some Wavecom modems +- zte: fix crashes with Icera-based devices +- mbm: add support for Lenovo F5521gw module +- core: add support for basic SMS reception +- core: faster probing for devices that support it (option, samsung) + +* Fri Feb 25 2011 Rex Dieter 0.4-7.git20110201.1 +- hack around FTBFS on sparc + +* Mon Feb 07 2011 Fedora Release Engineering - 0.4-7.git20110201 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Feb 1 2011 Dan Williams - 0.4-6.git20110201 +- Attempt to fix Icera plugin crash on second dial + +* Tue Feb 1 2011 Dan Williams - 0.4-5.git20110201 +- core: add device and SIM identifier properties +- dbus: fix property access permissions via D-Bus (rh #58594) +- cdma: better detection of EVDO registration +- cdma: recognize dual-mode devices as CDMA instead of GSM +- gsm: better handling of wrong PIN entry +- gsm: allow usage of older GSM character encoding schemes +- gsm: preliminary USSD support +- gsm: fix handling of modems that report signal strength via +CIND +- sierra: fix handling of Sierra CnS ports mistakenly recognized as QCDM +- sierra: ensure packet-switched network attachment before dialing +- zte: add support for T-Mobile Rocket 2.0 +- mbm: add support for HP-branded Ericsson devices +- linktop: add support for Linktop/Teracom LW273 +- x22x: add support for various Alcatel devices (like the X220D) + +* Tue Jul 20 2010 Dan Williams - 0.4-4.git20100720 +- gsm: fix location services API signals +- gsm: fix issue with invalid operator names (rh #597088) +- novatel: fix S720 signal strength reporting +- novatel: detect CDMA home/roaming status + +* Wed Jun 30 2010 Dan Williams - 0.4-3.git20100630 +- gsm: enable the location services API + +* Mon Jun 28 2010 Dan Williams - 0.4-2.git20100628 +- core: fix crash during probing when a plugin doesn't support all ports (rh #603294) +- gsm: better registration state checking when devices don't support AT+CREG (Blackberries) +- gsm: add support for getting remaining unlock retry counts + +* Tue Jun 22 2010 Dan Williams - 0.4-1.git20100622 +- core: fix occasional crash when device is unplugged (rh #591728) +- core: ensure errors are correctly returned when device is unplugged +- core: ensure claimed ports don't fall back to Generic (rh #597296) +- gsm: better compatibility with various phones +- mbm: better detection of connection errors +- simtech: add plugin for Simtech devices (like Airlink 3GU) +- sierra: fix CDMA roaming detection + +* Fri May 7 2010 Dan Williams - 0.3-13.git20100507 +- core: fix crash when plugging in some Sierra and Option NV devices (rh #589798) +- gsm: better compatibility with various Sony Ericsson phones +- longcheer: better support for Alcatel X060s modems + +* Tue May 4 2010 Dan Williams - 0.3-12.git20100504 +- core: fix data port assignments (rh #587400) + +* Sun May 2 2010 Dan Williams - 0.3-11.git20100502 +- core: ignore some failures on disconnect (rh #578280) +- core: add support for platform serial devices +- gsm: better Blackberry DUN support +- gsm: periodically poll access technology +- cdma: prevent crash on modem removal (rh #571921) +- mbm: add support for Sony Ericsson MD400, Dell 5541, and Dell 5542 modems +- novatel: better signal strength reporting on CDMA cards +- novatel: add access technology and mode preference support on GSM cards +- zte: fix mode preference retrieval +- longcheer: add support for Zoom modems (4595, 4596, etc) +- longcheer: add access technology and mode preference support + +* Fri Apr 30 2010 Matthias Clasen - 0.3-10.git20100409 +- Silence %%post +- Update scripts + +* Fri Apr 9 2010 Dan Williams - 0.3-9.git20100409 +- gsm: fix parsing Blackberry supported character sets response + +* Thu Apr 8 2010 Dan Williams - 0.3-8.git20100408 +- mbm: fix retrieval of current allowed mode +- gsm: fix initialization issues with some devices (like Blackberries) + +* Mon Apr 5 2010 Dan Williams - 0.3-7.git20100405 +- core: fix detection of some generic devices (rh #579247) +- core: fix detection regression of some Huawei devices in 0.3-5 +- cdma: periodically poll registration state and signal quality +- cdma: really fix registration detection on various devices (rh #569067) + +* Wed Mar 31 2010 Dan Williams - 0.3-6.git20100331 +- core: fix PPC/SPARC/etc builds + +* Wed Mar 31 2010 Dan Williams - 0.3-5.git20100331 +- core: only export a modem when all its ports are handled (rh #540438, rh #569067, rh #552121) +- cdma: handle signal quality requests while connected for more devices +- cdma: handle serving system requests while connected for more devices +- gsm: determine current access technology earlier +- huawei: work around automatic registration issues on some devices + +* Tue Mar 23 2010 Dan Williams - 0.3-4.git20100323 +- core: ensure enabled modems are disabled when MM stops +- core: better capability detection for Blackberry devices (rh #573510) +- cdma: better checking of registration states (rh #540438, rh #569067, rh #552121) +- gsm: don't block modem when it requires PIN2 +- option: fix access technology updates + +* Wed Mar 17 2010 Dan Williams - 0.3-3.git20100317 +- mbm: add device IDs for C3607w +- mbm: fail earlier during connection failures +- mbm: fix username/password authentication when checked by the network +- hso: implement asynchronous signal quality updates +- option: implement asynchronous signal quality updates +- novatel: correctly handle CDMA signal quality +- core: basic PolicyKit support +- core: fix direct GSM registration information requests +- core: general GSM PIN/PUK unlock fixes +- core: poll GSM registration state internally for quicker status updates +- core: implement GSM 2G/3G preference +- core: implement GSM roaming allowed/disallowed preference +- core: emit signals on access technology changes +- core: better handling of disconnections +- core: fix simple CDMA status requests + +* Thu Feb 11 2010 Dan Williams - 0.3-2.git20100211 +- core: startup speed improvements +- core: GSM PIN checking improvements +- huawei: fix EVDO-only connections on various devices (rh #553199) +- longcheer: add support for more devices + +* Tue Jan 19 2010 Dan Williams - 0.3-1.git20100119 +- anydata: new plugin for AnyData CDMA modems (rh #547294) +- core: fix crashes when devices are unplugged during operation (rh #553953) +- cdma: prefer primary port for status/registration queries +- core: fix probing/detection of some PIN-locked devices (rh #551376) +- longcheer: add plugin for Alcatel (X020, X030, etc) and other devices +- gsm: fix Nokia N80 network scan parsing + +* Fri Jan 1 2010 Dan Williams - 0.2.997-5.git20100101 +- core: fix apparent hangs by limiting retried serial writes +- gsm: ensure modem state is reset when disabled + +* Fri Dec 18 2009 Dan Williams - 0.2.997-4.git20091218 +- sierra: fix CDMA registration detection in some cases (rh #547513) + +* Wed Dec 16 2009 Dan Williams - 0.2.997-3.git20091216 +- sierra: ensure CDMA device is powered up when trying to use it +- cdma: better signal quality parsing (fixes ex Huawei EC168C) +- zte: handle unsolicited messages better during probing + +* Mon Dec 14 2009 Dan Williams - 0.2.997-2.git20091214 +- cdma: fix signal strength reporting on some devices +- cdma: better registration state detection when dialing (ex Sierra 5275) +- option: always use the correct tty for dialing commands + +* Mon Dec 7 2009 Dan Williams - 0.2.997-1 +- core: fix reconnect after manual disconnect (rh #541314) +- core: fix various segfaults during registration +- core: fix probing of various modems on big-endian architectures (ie PPC) +- core: implement modem states to avoid duplicate operations +- hso: fix authentication for Icera-based devices like iCON 505 +- zte: use correct port for new devices +- nozomi: fix detection + +* Thu Nov 5 2009 Dan Williams - 0.2-4.20091105 +- Update to latest git +- core: fix pppd 2.4.5 errors about 'baudrate 0' +- cdma: wait for network registration before trying to connect +- gsm: add cell access technology reporting +- gsm: allow longer-running network scans +- mbm: various fixes for Ericsson F3507g/F3607gw/Dell 5530 +- nokia: don't power down phones on disconnect +- hso: fix disconnection/disable + +* Wed Aug 26 2009 Dan Williams - 0.2-3.20090826 +- Fixes for Motorola and Ericsson devices +- Fixes for CDMA "serving-system" command parsing + +* Fri Jul 31 2009 Matthias Clasen +- Fix a typo in one of the udev rules files + +* Fri Jul 24 2009 Fedora Release Engineering - 0.2-2.20090707 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Jul 7 2009 Dan Williams - 0.2-1.20090707 +- Fix source repo location +- Fix directory ownership + +* Tue Jul 7 2009 Dan Williams - 0.2-0.20090707 +- Initial version +