Lines Matching refs:config
2 mount configfs none /config
3 mkdir /config/usb_gadget/g1 0770 shell shell
4 mkdir /config/usb_gadget/g1/strings/0x409 0770 shell shell
5 write /config/usb_gadget/g1/bcdUSB 0x0200
6 write /config/usb_gadget/g1/driver_match_existing_only 0
7 write /config/usb_gadget/g1/idVendor 0x18d1
8 write /config/usb_gadget/g1/bcdDevice 0x0223
9 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
10 write /config/usb_gadget/g1/strings/0x409/manufacturer "HISILICON"
11 write /config/usb_gadget/g1/strings/0x409/product "ADB Gadget"
12 mkdir /config/usb_gadget/g1/functions/accessory.gs2
13 mkdir /config/usb_gadget/g1/functions/audio_source.gs3
14 mkdir /config/usb_gadget/g1/functions/midi.gs5
15 mkdir /config/usb_gadget/g1/functions/ffs.adb
16 mkdir /config/usb_gadget/g1/functions/ffs.mtp
17 mkdir /config/usb_gadget/g1/functions/ffs.ptp
18 mkdir /config/usb_gadget/g1/configs/b.1 0770 shell shell
19 mkdir /config/usb_gadget/g1/configs/b.1/strings/0x409 0770 shell shell
20 write /config/usb_gadget/g1/os_desc/b_vendor_code 0x1
21 write /config/usb_gadget/g1/os_desc/qw_sign "MSFT100"
22 write /config/usb_gadget/g1/configs/b.1/MaxPower 500
33 symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1
35 on property:sys.usb.config=none && property:sys.usb.configfs=1
36 write /config/usb_gadget/g1/os_desc/use 0
38 on property:sys.usb.config=mtp && property:sys.usb.configfs=1
39 write /config/usb_gadget/g1/idProduct 0x4ee1
40 write /config/usb_gadget/g1/os_desc/use 1
41 symlink /config/usb_gadget/g1/functions/ffs.mtp /config/usb_gadget/g1/configs/b.1/f1
43 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mtp,adb && property:sys.usb.configfs=1
44 write /config/usb_gadget/g1/idProduct 0x4ee2
45 write /config/usb_gadget/g1/os_desc/use 1
46 symlink /config/usb_gadget/g1/functions/ffs.mtp /config/usb_gadget/g1/configs/b.1/f1
48 on property:sys.usb.config=rndis && property:sys.usb.configfs=1
49 write /config/usb_gadget/g1/idProduct 0x4ee3
51 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,adb && property:sys.usb.configfs=1
52 write /config/usb_gadget/g1/idProduct 0x4ee4
54 on property:sys.usb.config=ptp && property:sys.usb.configfs=1
55 write /config/usb_gadget/g1/idProduct 0x4ee5
56 write /config/usb_gadget/g1/os_desc/use 1
57 symlink /config/usb_gadget/g1/functions/ffs.ptp /config/usb_gadget/g1/configs/b.1/f1
59 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=ptp,adb && property:sys.usb.configfs=1
60 write /config/usb_gadget/g1/idProduct 0x4ee6
61 write /config/usb_gadget/g1/os_desc/use 1
62 symlink /config/usb_gadget/g1/functions/ffs.ptp /config/usb_gadget/g1/configs/b.1/f1
64 on property:sys.usb.config=adb && property:sys.usb.configfs=1
65 write /config/usb_gadget/g1/idProduct 0x4ee7
67 on property:sys.usb.config=midi && property:sys.usb.configfs=1
68 write /config/usb_gadget/g1/idProduct 0x4ee8
70 on property:sys.usb.config=midi,adb && property:sys.usb.configfs=1
71 write /config/usb_gadget/g1/idProduct 0x4ee9
73 on property:sys.usb.config=accessory && property:sys.usb.configfs=1
74 write /config/usb_gadget/g1/idProduct 0x2d00
76 on property:sys.usb.config=accessory,adb && property:sys.usb.configfs=1
77 write /config/usb_gadget/g1/idProduct 0x2d01
79 on property:sys.usb.config=audio_source && property:sys.usb.configfs=1
80 write /config/usb_gadget/g1/idProduct 0x2d02
82 on property:sys.usb.config=audio_source,adb && property:sys.usb.configfs=1
83 write /config/usb_gadget/g1/idProduct 0x2d03
85 on property:sys.usb.config=accessory,audio_source && property:sys.usb.configfs=1
86 write /config/usb_gadget/g1/idProduct 0x2d04
88 on property:sys.usb.config=accessory,audio_source,adb && property:sys.usb.configfs=1
89 write /config/usb_gadget/g1/idProduct 0x2d05