aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-07-02 12:12:03 +0200
committerAleksander Morgado <aleksander@aleksander.es>2014-07-02 12:28:56 +0200
commit40cdf3bac4e21f20d881f16de38141f66a4b32a1 (patch)
tree2059a188db7ec10f1707757953c5ac963418aabd
parentd43363ef14de14bb944c531ad7a00894f650bcb3 (diff)
option,hso: print port type before parsing
-rw-r--r--plugins/option/mm-plugin-hso.c1
1 files changed, 1 insertions, 0 deletions
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);