diff --git a/src/usb_hidapi.c b/src/usb_hidapi.c index b6dc3d33..4ad372b1 100644 --- a/src/usb_hidapi.c +++ b/src/usb_hidapi.c @@ -133,8 +133,9 @@ static int usbhid_open(const char *port, union pinfo pinfo, union filedescriptor dev = hid_open(pinfo.usbinfo.vid, pinfo.usbinfo.pid, NULL); if (dev == NULL) { - pmsg_error("no device found\n"); - return -1; + pmsg_warning("USB device with VID: 0x%04x and PID: 0x%04x not found\n", + pinfo.usbinfo.vid, pinfo.usbinfo.pid); + return -1; } }