Hi.
I use omapl138 evaluation module and want to use usb file-backed storage gadget. The gadget module is compiled and inserted successfully, but PC doesn't even notice plugging of the device.
Message :
# insmod g_file_storage.ko file=/dev/loop0 stall=0 removable=1
g_file_storage gadget: No serial-number string provided!
g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
g_file_storage gadget: Number of LUNs=1
g_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/loop0
root@arago:/mnt/device# usb 2-1: new high speed USB device using dummy_hcd and address 3
g_file_storage gadget: high speed config #1
usb 2-1: selecting invalid altsetting 1
usb-storage 2-1:1.0: Quirks match for vid 0525 pid a4a5: 10000
scsi2 : usb-storage 2-1:1.0
scsi 2:0:0:0: Direct-Access Linux File-Stor Gadget 0302 PQ: 0 ANSI: 2
sd 2:0:0:0: Attached scsi generic sg0 type 0
sd 2:0:0:0: [sda] 40960 512-byte logical blocks: (20.9 MB/20.0 MiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Assuming drive cache: write through
sda:
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI removable disk
So module inserts succesfully, so why PC cannot see it?