Hi all,
I'm running kernel 2.6.35-rc4 on my beagleboard (Rev C4).
I have problems with file_storage gadget (consider that all works fine
with kernel 2.6.31-omap1).
I have MMC with 4 primary partition:
- mmcblk0p1 (VFAT)
- mmcblk0p2 (EXT3)
- mmcblk0p3 (VFAT)
- mmcblk0p4 (EXT3)
Doing:
insmod /lib/modules/2.6.35-rc4/kernel/drivers/usb/gadget/
g_file_storage.ko file=/dev/mmcblk0
under /sys/devices/platform/musb_hdrc/gadget is created gadget-lun0
accordingly to file module parameter.
Plugging USB cable to windows host machine the device is enumerated.
Control panel show a USB Mass Storage Peripheral but no disk is added
to explorer's computer resources (while expecting the 2 VFAT
partitions).
Plugging USB cable to Linux host (Ubuntu virtual machine) no partition
is mounted.
Regards,
Andrea