• [^] # Re: Linux gadget

    Posté par . En réponse au message Emuler une clef USB avec un PC Linux. Évalué à 4.

    Dans la config du noyau:

    config USB_FILE_STORAGE
    tristate "File-backed Storage Gadget"
    depends on BLOCK
    help
    The File-backed Storage Gadget acts as a USB Mass Storage
    disk drive. As its storage repository it can use a regular
    file or a block device (in much the same way as the "loop"
    device driver), specified as a module parameter.

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