On Tue, Oct 30, 2012 at 1:59 PM, Stefano Di Martino wrote:
> Hi Pete,
> I'm not sure, if the bug is completely fixed.
> pyUSB uses a different method to retrieve the string descriptor. It's doing 
> it with ctrl_transfer() and the appropriate request and I'm getting an 
> overflow error.
> I tried to port this method to C and instead of getting a string, I get 
> cryptic characters, which indicated indead an overflow.

The cryptic characters show up because you print the descriptor data
as if it was a C string, whereas it is UTF-16 encoded.

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
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to