From: Francesco <f18...@ya...> - 2010-02-07 23:26:57
|
Hi Frans! 2010/2/6 Francesco <f18...@ya...>: > In the libusb-1.0 branch I see tons of: > > ... > USB GET DESCRIPTOR Request INTERFACE > GET DESCRIPTOR Response INTERFACE[Malformed Packet] > ... > actually these continuous requests were the result of my (partially erraneous) 0.1=>1.0 porting :/ basically the endpointMode() function was continuosly asking for the INTERFACE descriptor to the hw before each read/write done by the readString() and writeString() methods of Hardware class. I've now fixed the code to never ask any interface/endpoint descriptor. In fact checking the firmware I've seen that GET_DESCRIPTOR packets for the INTERFACE descriptor are not handled. This explains why wireshark always reported malformed packets as replies. Hopefully the branch should now be ready for everyday use... Francesco |