HI
AM335X EVM board can’t emulate as U-DISK after plug in OTG port to PC. and ADB function is workable.
so can you give me some information ?
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.
hi
bin liu
i have compiled and loaded the g_mass_storage.ko ,and insmod g_mass_storage.ko file=/dev/block/vold/179:3 in the android console. And then the data disk can be expose as a removable media. But at this time ,the adb can not work.Becauset in the menuconfig ,we can not select g_mass_storage and android_gadget simultaneously.
And then ,i modify the kernel/drivers/usb/gadget/Kconfig file.
config USB_G_ANDROID
tristate "Android Gadget"
compile the modules g_mass_storage.ko and the g_android.ko,and we can not insmod both of them simultaneously?
No, you cannot load both simultaneously. I don't know much about the Android Gadget driver, but in general, only one gadget module can be loaded. Or g_multi.ko can be used if AOSP has patched g_multi to include the Android gadget. I just doubt it...