Re: [Libusbx-devel] winusb, can't open device

2013-04-18 Thread Daniel Goertzen
I plugged the device into a linux box and got some better error messages. "bConfigurationValue" above should be 1 instead of 0, and I was not respected wLength from the GET_DESCRIPTOR setup packet. And I had a struct padding problem. After fixing all those things I can now libusb_open() under cy

Re: [Libusbx-devel] winusb, can't open device

2013-04-18 Thread Daniel Goertzen
Thanks Tim. Descriptors below. I have no endpoints; I want to fool with control transactions first(little steps). Total length is 18. Dan. static const configuration_descriptor_t static_config = { sizeof(configuration_descriptor_t), // bLength 0x02, // bDescriptorType 0, // wTotalLength (calcu

Re: [Libusbx-devel] winusb, can't open device

2013-04-18 Thread Tim Roberts
Daniel Goertzen wrote: > I have libusbx compiling under cygwin now and can look at the device > descriptors for all attached devices, but I cannot libusb_open() my > device. The error given is -12 (LIBUSB_ERROR_NOT_SUPPORTED). > > I ran zadig and bound my device to WinUSB, but still no luck (I hav

[Libusbx-devel] winusb, can't open device

2013-04-18 Thread Daniel Goertzen
I have libusbx compiling under cygwin now and can look at the device descriptors for all attached devices, but I cannot libusb_open() my device. The error given is -12 (LIBUSB_ERROR_NOT_SUPPORTED). I ran zadig and bound my device to WinUSB, but still no luck (I have to admit, I don't exactly unde