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/

上一篇:编写一款Shiro反序列化回显利用工具(GUI)


下一篇:尝试写gadget zero驱动