On Fri, Oct 26, 2012 at 6:21 PM, Stefano Di Martino <stefan...@gmx.net> wrote: > Hi, > I have the strange problem, that when I'm using pyUSB with libusbx as backend > I get the error "Insufficient memory". > I tried to use then libusbx directly and it end up in an similar error: > > "ERROR in retrieving string descriptor: LIBUSB_ERROR_NO_MEM" > > I have extended listdev.c: > > // ... > char data[50]; > > ret = libusb_get_string_descriptor_ascii(handle, desc.iManufacturer, > (unsigned char*) data, 29); > > if (ret < 0) { > const char *error = libusb_error_name (ret); > printf("ERROR in retrieving string descriptor: %s\n", error); > exit(1); > } > > > I get an similar error when I'm using xusb.c: > > Reading string descriptors: > libusbx: warning [auto_claim] program assertion failed - autoclaim_count was > nonzero > libusbx: warning [auto_claim] program assertion failed - autoclaim_count was > nonzero > > I'm using the dll of libusbx-1.0.14 for Windows. > Any ideas?
The warnings are just a warning and may not be the real problem. You should post more debug logs. -- Xiaofan ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel