file-backed storage driver doesn't enumerate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm running kernel 2.6.26 on a Freescale iMX27. I'm loading the
File-backed Storage Gadget (g_file_storage) like:

modprobe g_file_storage file=/etc/backing_file

The backing file is partitioned but not formatted. I have turned on
verbose debugging in the driver and in dmesg I see:

g_file_storage gadget-lun0: open backing file: /etc/backing_file
g_file_storage gadget: File-backed Storage Gadget, version: 7 August 2007
g_file_storage gadget: Number of LUNs=1
g_file_storage gadget-lun0: ro=0, file: /etc/backing_file
g_file_storage gadget: transport=Bulk-only (x50)
g_file_storage gadget: protocol=Transparent SCSI (x06)
g_file_storage gadget: VendorID=x0525, ProductID=xa4a5, Release=x0322
g_file_storage gadget: removable=0, stall=1, buflen=16384
g_file_storage gadget: I/O thread pid: 4177
fsl-usb2-udc: bind to driver g_file_storage
g_file_storage gadget: disconnect or port reset
g_file_storage gadget-lun0: fdatasync -> 0

But the device does not enumerate and I don't see any activity on the
bus at all. The device is not self powered so I can't unplug it and
plug it back in after the driver is loaded.

Any idea what's going on?
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux