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.

CDC Composite Device (ACM and mass storage) not working

Hi, 

I am using jellybean kernel of am335x, and enabling CDC Composite Device (ACM and mass storage) mode in USB Gadget instead of android gadget but i am not able to get detect neither serial device nor mass storage device at host PC. I have also refer http://processors.wiki.ti.com link for USB. Can you please help me out to make it workable? 

Regards

Viral

  • I'm not sure if the android userspace is capable of supporting the native USB gadget modes other than the Android composite gadget.

    You should be able to use ACM and Mass Storage mode by configuring the appropriate sysfs entries for android gadget. Currently we have configured adb, mtp and ptp modes. See init.am335xevm.usb.rc at device/ti/am335xevm

    Note the Mass Storage mode is not recommended for use due to possible issues with data partition mounting/unmounting and security. MTP is the recommended method to transfer files.