Re: [Libusbx-devel] Can not get the configuration descriptor on WinXP

2012-06-29 Thread Jach Fong
On 28 Jun 2012 Pete Batard Wrote: > To eliminate the compiler, can you please download the > libusbx-1.0.12-win.7z from > http://sourceforge.net/projects/libusbx/files/releases/1.0.12/Windows/ > and run the xusb.exe you find there in examples/bin32, prerablly with > LIBUSB_DEBUG=4. If you get

Re: [Libusbx-devel] Can not get the configuration descriptor on WinXP

2012-06-27 Thread Jach Fong
On 27 Jun 2012 15:12:39 Pete Batard wrote: > > According to the error returned (LIBUSB_ERROR_NOT_FOUND) that seems to > be the case. This is the error the Windows backend returns if it was > unable to cache a config descriptor durin enum. > > Jach, if you're running a console application, can you

[Libusbx-devel] Can not get the configuration descriptor on WinXP

2012-06-27 Thread Jach Fong
. libusb_get_device_descriptor(dev, &dev_desc); So far so good. 5. libusb_get_config_descriptor(dev, 0, &conf_desc) get a return value -5. It seems that I always encounter problems which looks silly:-( Best Regards, Jach Fong ---

Re: [Libusbx-devel] A stupid mistake

2012-06-19 Thread Jach Fong
Hi! Xiaofan, The open() function works after changing to release 1.0.12. What a stupid mistake I had made!! Thanks for help. Best Regards, Jach 2012/6/18 PM 06:14, Xiaofan Chen said: > On Mon, Jun 18, 2012 at 6:08 PM, Jach Fong wrote: >> I test it today on using the Borlan

[Libusbx-devel] A stupid mistake

2012-06-16 Thread Jach Fong
an USB flash driver, but all get the same error. I don't think it is a bug/issue of the libusbx. It's just a stupid mistake somewhere I had make. But, where? Thank you in advance for pointing it out. Best Regards, Jach Fong --