Hello community, here is the log from the commit of package ModemManager for openSUSE:Factory checked in at 2012-08-22 12:13:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ModemManager (Old) and /work/SRC/openSUSE:Factory/.ModemManager.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ModemManager", Maintainer is "tambet@novell.com" Changes: -------- --- /work/SRC/openSUSE:Factory/ModemManager/ModemManager.changes 2012-03-16 13:19:17.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ModemManager.new/ModemManager.changes 2012-08-22 12:13:21.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Aug 20 10:08:13 UTC 2012 - vuntz@opensuse.org + +- Add ModemManager-unsupported-qmi_wwan-ports.patch: fix calls to + pppd when using the qmi_wwan. Fix bnc#776520. + +------------------------------------------------------------------- New: ---- ModemManager-unsupported-qmi_wwan-ports.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ModemManager.spec ++++++ --- /var/tmp/diff_new_pack.kBSwRP/_old 2012-08-22 12:13:25.000000000 +0200 +++ /var/tmp/diff_new_pack.kBSwRP/_new 2012-08-22 12:13:25.000000000 +0200 @@ -24,6 +24,8 @@ Group: Productivity/Networking/System Url: http://cgit.freedesktop.org/ModemManager/ModemManager Source0: http://download.gnome.org/sources/ModemManager/0.5/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM ModemManager-unsupported-qmi_wwan-ports.patch bnc#776520 vuntz@opensuse.org -- Ignore unsupported qmi_wwan ports, taken from git +Patch0: ModemManager-unsupported-qmi_wwan-ports.patch BuildRequires: dbus-1-glib-devel BuildRequires: hicolor-icon-theme BuildRequires: intltool @@ -52,6 +54,7 @@ %prep %setup -q +%patch0 -p1 %build pppddir=`ls -1d %{_libdir}/pppd/2*` ++++++ ModemManager-unsupported-qmi_wwan-ports.patch ++++++
From 8b5985a99e1f5a05e1a194d54515bc3421035a6e Mon Sep 17 00:00:00 2001 From: Dan Williams
Date: Tue, 17 Jul 2012 14:07:40 +0000 Subject: core: ignore unsupported qmi_wwan ports (rh #835153)
These ports require QMI commands to start, and MM < 0.7 doesn't support QMI, so we can't use these yet. They get recognized as ether ports, but since we can't drive them as ether ports yet, wierd things happen. --- diff --git a/src/mm-plugin-base.c b/src/mm-plugin-base.c index 5248181..8acfd08 100644 --- a/src/mm-plugin-base.c +++ b/src/mm-plugin-base.c @@ -1136,6 +1136,12 @@ supports_port (MMPlugin *plugin, if (!driver) goto out; + /* Hack for QMI-based ethernet interfaces: we don't support them yet */ + if (g_strcmp0 (driver, "qmi_wwan") == 0 || g_strcmp0 (driver, "qmi-wwan") == 0) { + mm_dbg ("(%s/%s): QMI WWAN port found but unsupported, ignoring...", subsys, name); + goto out; + } + task = supports_task_new (self, port, physdev_path, driver, callback, callback_data); g_assert (task); g_hash_table_insert (priv->tasks, g_strdup (key), g_object_ref (task)); -- cgit v0.9.0.2-2-gbebe -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org