On Sun, Jun 26, 2011 at 7:32 PM, Алексей Косилин <[email protected]> wrote: > Hi! > > As i have discovered, in some cases (at least in my hw config) the function > reports zero max packet size. I'm not sure what exactly happens (i'm not a > expert in libusb and low-level USB programming), but i definitely see, that > field wMaxPacketSize of the first device endpoint is "0" while second > endpoint has normal packet size - 64. > > So, i suggest to cycle through all endpoints of the given device config / > interface / altsetting to find first non-zero max packet size instead of > just using wMaxPacketSize of the first endpoint. > Patch file with the changes i've attached to this mail. > lsusb output: > Bus 003 Device 005: ID 0403:6001 Future Technology Devices International, > Ltd FT232 USB-Serial (UART) IC >
What does "lsusb -vvv" say about the device? You can post the output of "lsusb -vvv -d 0403:6001" of your device. -- Xiaofan -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
