最終更新:2017-05-29 (月) 15:30:54 (1167d)  

g_mass_storage
Top / g_mass_storage

.config

メモ

ODROID

  • mount
    sudo umount /dev/mmcblk0p1
    sudo modprobe g_mass_storage file=/dev/mmcblk0p1
    dmesg
    [  304.312342] Number of LUNs=8
    [  304.312359] Mass Storage Function, version: 2009/09/11
    [  304.312366] LUN: removable file: (no medium)
    [  304.312381] Number of LUNs=1
    [  304.312469] LUN: file: /dev/mmcblk0p1
    [  304.312473] Number of LUNs=1
    [  304.312608] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
    [  304.312614] g_mass_storage gadget: userspace failed to provide iSerialNumber
    [  304.312618] g_mass_storage gadget: g_mass_storage ready
    
    sudo rmmod g_mass_storage

参考