usbftdi needs to support the BeagleBone
The BeagleBone is a small ARM evaluation board with an on-board FTDI2232C chip that provides a JTAG adapter on interface 0 and a serial console on interface 1. The JTAG adapter part is already handled correctly by usb_mid, but usbftdi doesn't currently attach to interface 1.
Usbftdi already supports the 2232C, but it doesn't know about it. The code where it checks the vendor/product IDs must be extended to include the 2232C.
Updated by Hans Rosenfeld almost 8 years ago
- % Done changed from 0 to 100
While at it I also eliminated a TODO about the buffer sizes: instead of the minimal default of 64 bytes supported by all usbftdi devices, get the buffer sizes from the endpoints and use them for bulk transfers.
This fixes an issue that I saw when the BeagleBone would output text at the default speed of 115200. The driver would get a buffer overrun, and the cua device had to be closed and reopened to make it work again. Handling of errors like this seems to be missing from the driver and should be added eventually, but that would be a different bug.