Linux USB gadget with 2 usable ports


I want to build a device which exposes one USB port as a mass storage device to the computer plugged into it while the other can still be used to accept usb mass storage.
Linux USB gadget API can be used for the former purpose, but it requires direct PHY connection (and not via USB hub). Can BeagleBone Black be used for this purpose or there are some HW limitations?

Hi Konrads,

have you succeeded in your first part (connecting the bbb as a usb-mass storage device)? If so, could you please tell me how you did it? Thanks.