From: Xiaofan C. <xia...@gm...> - 2010-04-27 23:34:06
|
On Wed, Apr 28, 2010 at 2:27 AM, Jason Kotzin <jas...@gm...> wrote: > // Claim our interface > libusb_claim_interface (handle, 1); > > unsigned char data[1]; > result = libusb_control_transfer(handle, > LIBUSB_REQUEST_TYPE_VENDOR | LIBUSB_RECIPIENT_ENDPOINT | LIBUSB_ENDPOINT_IN, > PEEK, > address, > 0, > (char *)data, > sizeof(data), > 5000); > This is probably not necessarily the real problem. But I am not sure why you keep using the incorrect LIBUSB_RECIPIENT_ENDPOINT instead of the correct LIBUSB_RECIPIENT_INTERFACE. Please try again. Thanks. -- Xiaofan http://mcuee.blogspot.com |