On 14-06-2020 19:36, J. Fahrner via Dng wrote:
> Am 2020-06-14 19:30, schrieb richard lucassen:
>> What tells "modinfo g_mass_storage"?
>
> $ sudo modinfo g_mass_storage
> filename:
> /lib/modules/3.16.82+/kernel/drivers/usb/gadget/g_mass_storage.ko
> license: GPL
> author: Michal Nazarewicz
> description: Mass Storage Gadget
> depends: usb_f_mass_storage,libcomposite
> intree: Y
> vermagic: 3.16.82+ SMP preempt mod_unload aarch64
> parm: idVendor:USB Vendor ID (ushort)
> parm: idProduct:USB Product ID (ushort)
> parm: bcdDevice:USB Device version (BCD) (ushort)
> parm: iSerialNumber:SerialNumber string (charp)
> parm: iManufacturer:USB Manufacturer string (charp)
> parm: iProduct:USB Product string (charp)
> parm: file:names of backing files or devices (array of charp)
> parm: ro:true to force read-only (array of bool)
> parm: removable:true to simulate removable media (array of
> bool)
> parm: cdrom:true to simulate CD-ROM instead of disk (array
> of bool)
> parm: nofua:true to ignore SCSI WRITE(10,12) FUA bit (array
> of bool)
> parm: luns:number of LUNs (uint)
> parm: stall:false to prevent bulk stalls (bool)
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
g_mass_storage is used in usb otg mode where the system mimicks a usb
gadget. Most likely the usb_storage module is compiled in the kernel.
Grtz.
Nick