View Single Post
Old 05-08-2011, 11:40 AM   #132
h1uke
Zealot
h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.
 
Posts: 121
Karma: 82565
Join Date: Aug 2010
Location: Maryland, USA
Device: dxg, k3w,k4nt,kpw
Quote:
Originally Posted by kindle-hopes View Post
Update: the problem seems to be that the g_file_storage module gets loaded, but somehow does not get the info which directory to export to the USB gadget. Thus the computer sees a storage device, but no actual partition.
looks like the following command
Code:
echo /dev/mmcblk0p4 > /sys/devices/platform/arc_udc/gadget/gadget-lun0/file
solves the problem. It also looks like that it should be issued only once after the arc_udc gets loaded.
h1uke is offline   Reply With Quote