Z-Pocket Game Pro(ZPG Pro)
legacy gadget(mass storage)
參考資訊:
1. Mass_storage
ZPG Pro
$ sudo insmod libcomposite.ko $ sudo insmod usb_f_mass_storage.ko $ sudo insmod g_mass_storage.ko file=/dev/mmcblk0p3
PC
[ 4982.612034] usb 2-2: new high-speed USB device number 19 using xhci_hcd [ 4982.760820] usb 2-2: New USB device found, idVendor=0525, idProduct=a4a5, bcdDevice= 4.04 [ 4982.760824] usb 2-2: New USB device strings: Mfr=3, Product=4, SerialNumber=0 [ 4982.760825] usb 2-2: Product: Mass Storage Gadget [ 4982.760827] usb 2-2: Manufacturer: Linux 4.4.189 with ff300000.usb [ 4982.761631] usb-storage 2-2:1.0: USB Mass Storage device detected [ 4982.761767] usb-storage 2-2:1.0: Quirks match for vid 0525 pid a4a5: 10000 [ 4982.761864] scsi host6: usb-storage 2-2:1.0 [ 4983.788858] scsi 6:0:0:0: Direct-Access Linux File-Stor Gadget 0404 PQ: 0 ANSI: 2 [ 4983.789191] sd 6:0:0:0: Attached scsi generic sg2 type 0 [ 4983.789786] sd 6:0:0:0: Power-on or device reset occurred [ 4983.790539] sd 6:0:0:0: [sdb] 110138623 512-byte logical blocks: (56.4 GB/52.5 GiB) [ 4983.893690] sd 6:0:0:0: [sdb] Write Protect is off [ 4983.893694] sd 6:0:0:0: [sdb] Mode Sense: 0f 00 00 00 [ 4983.997733] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4984.413771] sd 6:0:0:0: [sdb] Attached SCSI disk