From: Peter Hutterer Date: Wed, 2 Jul 2014 23:53:35 +0000 (+1000) Subject: touchpad: log the sysname of the device that looks like a bad clickpad X-Git-Tag: 0.5.0~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fccbe88f05d897add812864888fb2b26d69b6335;p=platform%2Fupstream%2Flibinput.git touchpad: log the sysname of the device that looks like a bad clickpad Signed-off-by: Peter Hutterer --- diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c index 2ac231c7..b84198ce 100644 --- a/src/evdev-mt-touchpad-buttons.c +++ b/src/evdev-mt-touchpad-buttons.c @@ -581,11 +581,13 @@ tp_init_buttons(struct tp_dispatch *tp, libevdev_has_event_code(device->evdev, EV_KEY, BTN_RIGHT)) { if (tp->buttons.is_clickpad) log_bug_kernel(libinput, - "clickpad advertising right button\n"); + "%s: clickpad advertising right button\n", + device->sysname); } else { if (!tp->buttons.is_clickpad) log_bug_kernel(libinput, - "non clickpad without right button?\n"); + "%s: non clickpad without right button?\n", + device->sysname); } absinfo_x = device->abs.absinfo_x;