From 19071663997b8f15fde06b3dddf44acd294f2817 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Sat, 26 May 2007 14:17:22 +0000 Subject: [PATCH] Log to debug whenever one property (e.g. serial number) was found but not the others (model/vendor) --- src/hal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hal.c b/src/hal.c index 2af3106..e75ed2a 100644 --- a/src/hal.c +++ b/src/hal.c @@ -174,6 +174,8 @@ char *pusb_hal_find_item(LibHalContext *ctx, if (!pusb_hal_check_property(ctx, devices[i], key, value)) { + log_debug("%s did match, but property %s didn't (expecting \"%s\")\n", + property, key, value); match = 0; break; }