From 40cdf3bac4e21f20d881f16de38141f66a4b32a1 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 2 Jul 2014 12:12:03 +0200 Subject: [PATCH] option,hso: print port type before parsing --- plugins/option/mm-plugin-hso.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/option/mm-plugin-hso.c b/plugins/option/mm-plugin-hso.c index 1cc2bd7b..94400c15 100644 --- a/plugins/option/mm-plugin-hso.c +++ b/plugins/option/mm-plugin-hso.c @@ -70,6 +70,7 @@ hso_custom_init (MMPortProbe *probe, hsotype_path = g_build_filename (sysfs_path, "hsotype", NULL); if (g_file_get_contents (hsotype_path, &contents, NULL, NULL)) { + mm_dbg ("HSO port type %s: %s", hsotype_path, contents); if (g_str_has_prefix (contents, "Control")) { g_object_set_data (G_OBJECT (probe), TAG_HSO_AT_CONTROL, GUINT_TO_POINTER (TRUE)); mm_port_probe_set_result_at (probe, TRUE);