[libhid-discuss] sending control message failed
Adrian Parker
adrian.l.parker at gmail.com
Fri May 23 16:39:32 UTC 2008
Hey all, I'm calling the following:
hid = hid_new_HIDInterface();
matcher.vendor_id = HID_ID_MATCH_ANY;
matcher.product_id = HID_ID_MATCH_ANY;
matcher.matcher_fn = device_iterator; // This function is in fact returning
true for both of my USB devices
while ( (ret = hid_force_open(hid, 0, 0, &matcher, 2)) !=
HID_RET_DEVICE_NOT_FOUND)
For all of my devices with a HID interface I see the following:
WARNING_PRINT: hid_prepare_hid_descriptor(): failed to get HID descriptor
for USB device bus-0/\\.\libusb0-0004--0x045e-0À';:usb_control_msg: sending
control message failed, win error: A device attached to the system is not
functioning.
Then at the while loop exits I see:
WARNING_PRINT: hid_find_usb_device(): no matching USB device found.
I'm running as an Admin account on Windows XP. The devices are usable by
other programs (but not currently in use as far as I can tell). What can
cause that warning about the failure to send a USB Control Message? It
seems like hid_force_open is not finding any matching devices, when I
definatley have two plugged in (one of them is even a Microsoft device).
Also, will the mail discussion list archives ever be searchable?
--
Adrian Parker
Senior Programmer Analyst
More information about the libhid-discuss
mailing list