Gadget Filesystem

modulename: gadgetfs.ko

configname: CONFIG_USB_GADGETFS

Linux Kernel Configuration
└─>Device Drivers
└─>USB support
└─>USB Gadget Support
└─>USB Gadget precomposed configurations
└─>Gadget Filesystem
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
This driver provides a filesystem based API that lets user mode
programs implement a single-configuration USB device, including
endpoint I/O and control requests that don't relate to enumeration.
All endpoints, transfer speeds, and transfer types supported by
the hardware are available, through read() and write() calls.

Say "y" to link the driver statically, or "m" to build a
dynamically linked module called "gadgetfs".

source code: