On Fri, Oct 26, 2012 at 10:40 AM, Stefano Di Martino wrote:
>
> unsigned char *data = malloc(30);
> ret = libusb_get_string_descriptor_ascii(handle, desc.iManufacturer, data,
> 29);
>
> if (ret < 0) {
> const char *error = libusb_error_name(ret);
> printf("ERROR in retrieving string descriptor: %s\n", error);
> exit(1);
> }
>
>
> The error message:
> "ERROR in retrieving string descriptor: LIBUSB_ERROR_NO_MEM"
What is the value of device.iManufacturer or desc.iManufacturer?
Tormod
------------------------------------------------------------------------------
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
_______________________________________________
pyusb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyusb-users