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.

dm3730 gadget g_filstorage.ko



您好!我按照UserGuideUsbDriver PSP 03.00.00.05配置设备(dm3s730)为gadget,生成g_file_storage.ko ;在终端挂载ti提供的文件系统,执行insmod g_file_storage.ko file=/dev/mmcblk0p2 stall=0 removable=1  或者insmod g_file_storage.ko file=/dev/mtdblock4 stall=0 removable=1  ,然后把设备通过转接线插入到pc端的usb端口,pc端提示无法识别数据。利用bushound抓取到的数据位,分析数据,发现 Request Sense Command 的Response 为

 70 00 02 00  00 00 00 0a           
 00 00 00 00  3a 00 00 00                                              
  00 00     
根据sense key 得出结论the logical unit addressed cannot be accessed. Operator intervention may be required to correct this condition. 但是我登陆文件系统时是以root权限,而且对g_file_storage.ko模块的执行了 chmod  777。请问我分析的是否正确,如何实现gadget功能?