Alan Stern wrote:

usb_string() is moved up in the file to right after usb_get_string(),
putting it together with all the other descriptor-reading utilities. More importantly, it no longer tries to read a string's length before
transferring the string. In this respect it's more like it used to be
back in 2.4.


....

I realize that we have discussed making this sort of change before,
although I don't remember coming to any definite conclusion. Does anyone feel very strongly about not applying this?

No, though I wish I knew more about why it was changed.

The only thing that sticks in my memory is that some devices
had bugs that prevented the "read all bytes at once" sort
of strategy from working properly.

Probably the most compatible approach would be to keep
one strategy as a fallback.  I know that until I modified
"lsusb" to know about both strategies, there were devices
that wouldn't deliver strings to it.

- Dave



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to