[RFC PATCH] base-manager: quiet message about unsupported ports

Dan Williams dcbw at redhat.com
Mon Mar 9 09:38:39 PDT 2015


This message gets printed for all netdevs and ttys, including most
machines normal ethernet/Wi-Fi interfaces.  It seems a bit less critical
than 'warning' level would indicate.

ModemManager[32097]: <warn>  Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:19.0': not supported by any plugin
ModemManager[32097]: <warn>  Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0': not supported by any plugin

---

diff --git a/src/mm-base-manager.c b/src/mm-base-manager.c
index 3b9f34d..fdcd037 100644
--- a/src/mm-base-manager.c
+++ b/src/mm-base-manager.c
@@ -148,7 +148,7 @@ find_device_support_ready (MMPluginManager *plugin_manager,
     GError *error = NULL;
 
     if (!mm_plugin_manager_find_device_support_finish (plugin_manager, result, &error)) {
-        mm_warn ("Couldn't find support for device at '%s': %s",
+        mm_info ("Couldn't find support for device at '%s': %s",
                  mm_device_get_path (ctx->device),
                  error->message);
         g_error_free (error);




More information about the ModemManager-devel mailing list