其他分享
首页 > 其他分享> > USB DEVICE

USB DEVICE

作者:互联网

gadget
configfs.ko //fs/configfs
libcomposite.ko //driver/usb/gadget/libcomposite
U盘
usb_f_mass_storage.ko //driver/usb/gadget/function/usb_f_mass_storage
insmod g_mass_storage.ko file=/dev/ram0 removable=1 //driver/usb/gadget/legacy/g_mass_storage
mkfs /dev/ram0
mount /dev/ram0 mountpoint
网卡
u_ether.ko //driver/usb/gadget/function/
usb_f_rndis.ko
usb_f_ecm.ko
g_ether.ko //driver/usb/gadget/legacy/

标签:USB,ko,gadget,driver,ram0,mass,DEVICE,usb
来源: https://www.cnblogs.com/under/p/11505417.html