Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo zgrep USB_GADGET /proc/config.gz
- # CONFIG_USB_MUSB_GADGET is not set
- CONFIG_USB_GADGET=m
- # CONFIG_USB_GADGET_DEBUG is not set
- # CONFIG_USB_GADGET_DEBUG_FILES is not set
- # CONFIG_USB_GADGET_DEBUG_FS is not set
- CONFIG_USB_GADGET_VBUS_DRAW=2
- CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
- CONFIG_USB_GADGETFS=m
- # CONFIG_USB_GADGET_TARGET is not set
- sudo modinfo g_mass_storage
- filename: /lib/modules/4.12.8-2-custom/kernel/drivers/usb/gadget/legacy/g_mass_storage.ko.gz
- license: GPL
- author: Michal Nazarewicz
- description: Mass Storage Gadget
- depends: usb_f_mass_storage,libcomposite
- intree: Y
- vermagic: 4.12.8-2-custom SMP preempt mod_unload modversions
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement