From 030a0d51c16c941b17f17f1922f33098c0bf4759 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Thu, 23 Jun 2022 14:43:58 -0500 Subject: [PATCH] trivial: quiet the modem manager error about unable to probe We don't show messages in the logs about unable to probe other device types by default, MM should be no different. This gets rid of this message coming up every fwupd startup on a EM05-G: "failed to probe MM device: modem cannot be put in programming mode" --- plugins/modem-manager/fu-plugin-modem-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modem-manager/fu-plugin-modem-manager.c b/plugins/modem-manager/fu-plugin-modem-manager.c index 7b5bbd833..b338bb622 100644 --- a/plugins/modem-manager/fu-plugin-modem-manager.c +++ b/plugins/modem-manager/fu-plugin-modem-manager.c @@ -99,7 +99,7 @@ fu_plugin_mm_udev_device_ports_timeout(gpointer user_data) fu_device_get_physical_id(FU_DEVICE(priv->shadow_device))); if (dev != NULL) { if (!fu_device_probe(FU_DEVICE(dev), &error)) { - g_warning("failed to probe MM device: %s", error->message); + g_debug("failed to probe MM device: %s", error->message); } else { fu_plugin_device_add(plugin, FU_DEVICE(dev)); }