[Libusbx-devel] libusb_get_config_descriptor() returns error

2012-12-14 Thread Stefano Di Martino
Hi, I extended the listdevs example with libusb_get_config_descriptor() and in most cases I get the error "LIBUSB_ERROR_NOT_FOUND". As far as I know, every USB device should support this feature. Try it yourself. I'm using Windows XP and libusbx 1.0.14.10586. Best regards Stefano /* * libusbx e

Re: [Libusbx-devel] libusb_get_config_descriptor() returns error

2012-12-14 Thread Xiaofan Chen
On Fri, Dec 14, 2012 at 9:32 PM, Stefano Di Martino wrote: > Hi, > I extended the listdevs example with libusb_get_config_descriptor() and in > most cases I get the error "LIBUSB_ERROR_NOT_FOUND". As far as I know, every > USB device should support this feature. > Try it yourself. > I'm using Wi

Re: [Libusbx-devel] libusb_get_config_descriptor() returns error

2012-12-14 Thread Pete Batard
> On Fri, Dec 14, 2012 at 9:32 PM, Stefano Di Martino wrote: >> Try it yourself. Don't take it the wrong way, but some of us are a bit busy here. How about you provide us with a debug log instead? libusb_set_debug() is your friend [1]. Regards, /Pete ---

Re: [Libusbx-devel] libusb_get_config_descriptor() returns error

2012-12-14 Thread Pete Batard
[1] http://libusbx.sourceforge.net/api-1.0/group__lib.html#ga5f8376b7a863a5a8d5b8824feb8a427a -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide insta

Re: [Libusbx-devel] libusb_get_config_descriptor() returns error

2012-12-14 Thread Xiaofan Chen
On Sat, Dec 15, 2012 at 8:18 AM, Pete Batard wrote: >> On Fri, Dec 14, 2012 at 9:32 PM, Stefano Di Martino >> wrote: >>> Try it yourself. > > Don't take it the wrong way, but some of us are a bit busy here. > How about you provide us with a debug log instead? > libusb_set_debug() is your friend