Hi all,
I am trying to access USB2 in Device mode, in order to do that i am trying to insert g_mass_storage.ko module,
i am getting the following error when i am using the following command in terminal:
"insmod g_mass_storage.ko file=/dev/mmcblk1p1"
Error:
[ 119.620281] Number of LUNs=8
[ 119.623335] Mass Storage Function, version: 2009/09/11
[ 119.628871] LUN: removable file: (no medium)
[ 119.633395] Number of LUNs=1
[ 119.636537] LUN: file: /dev/mmcblk1p1
[ 119.640397] Number of LUNs=1
[ 119.643568] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[ 119.650948] g_mass_storage gadget: userspace failed to provide iSerialNumber
[ 119.658461] g_mass_storage gadget: g_mass_storage ready
[ 119.664951] dwc3 488d0000.usb: failed to enable ep0out
And it hangs after that
I have already inserted te dependent kernel modules usb_f_mass_storage,libcomposite.
Please help me to solve this problem...
Thanks in anticipation.
Regards,
Vijaykumar P