Advertisement
Guest User

USB_GADGET

a guest
Aug 22nd, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. sudo zgrep USB_GADGET /proc/config.gz
  2. # CONFIG_USB_MUSB_GADGET is not set
  3. CONFIG_USB_GADGET=m
  4. # CONFIG_USB_GADGET_DEBUG is not set
  5. # CONFIG_USB_GADGET_DEBUG_FILES is not set
  6. # CONFIG_USB_GADGET_DEBUG_FS is not set
  7. CONFIG_USB_GADGET_VBUS_DRAW=2
  8. CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
  9. CONFIG_USB_GADGETFS=m
  10. # CONFIG_USB_GADGET_TARGET is not set
  11.  
  12.  
  13. sudo modinfo g_mass_storage
  14. filename: /lib/modules/4.12.8-2-custom/kernel/drivers/usb/gadget/legacy/g_mass_storage.ko.gz
  15. license: GPL
  16. author: Michal Nazarewicz
  17. description: Mass Storage Gadget
  18. depends: usb_f_mass_storage,libcomposite
  19. intree: Y
  20. vermagic: 4.12.8-2-custom SMP preempt mod_unload modversions
  21. parm: idVendor:USB Vendor ID (ushort)
  22. parm: idProduct:USB Product ID (ushort)
  23. parm: bcdDevice:USB Device version (BCD) (ushort)
  24. parm: iSerialNumber:SerialNumber string (charp)
  25. parm: iManufacturer:USB Manufacturer string (charp)
  26. parm: iProduct:USB Product string (charp)
  27. parm: file:names of backing files or devices (array of charp)
  28. parm: ro:true to force read-only (array of bool)
  29. parm: removable:true to simulate removable media (array of bool)
  30. parm: cdrom:true to simulate CD-ROM instead of disk (array of bool)
  31. parm: nofua:true to ignore SCSI WRITE(10,12) FUA bit (array of bool)
  32. parm: luns:number of LUNs (uint)
  33. parm: stall:false to prevent bulk stalls (bool)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement