This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB composite gadget file_storage and RNDIS on DM644x device

We are looking into developing an USB composite gadget which has both file_storage and RNDIS support on a DM644x device.

1. Is it possible to develop such a composite gadget?

2. If yes, could you please point us to the latest dm644x kernel that has composite gadget working?

3. It would be great if anyone could provide us with a link to the documentation/example of how to proceed with the development with the existing gadget code.

Appreciate your help on this.

Shilpa.

  • Any information on this please?

    Shilpa.

  • This is currently not possible on Linux kernel.  I think some development towards this has been started but not sure on latest status. Android does have such support which i think gets added by some android patches on top of linux. I would suggest you to follow up on linux-usb community list and post you query there.

    Ajay

  • If the Linux BSP for DM644x does not support USB composite gadget, you could still have some script/program to dynamically switch from one class to another. Build both gadgets as modules and insmod/rmmod them depending on the profile you want to give to your platform.

    Of course this means you can't mount both profiles at the same time, which may be what you really try to achieve here.

  • Thanks Adeneo and ajay.

    Ajay,

    I downloaded the latest kernel from http://processors.wiki.ti.com/index.php/DaVinci_PSP_Releases for DM644x. I found a gadget called cdc which has usb serial and usb ethernet functionalities in a composite framework. I was able to build and load the module. But I couldn't install it on an windows machine. We are looking something similar to this kind of gadget module that has file storage with ethernet gadget. I will try posting in the usb linux forum . If you know anything about installing and testing cdc gadget on windows machine, please do let me know.

    Adeneo,

    We cannot log on to hyperterminal from our board to dynamically load and unload the gadget modules. That's why we are looking for a module that has both functionalities in the gadget, so that we can use both through the same port.

    Shilpa.