Lines Matching refs:config
18 mount configfs none /config
19 mkdir /config/usb_gadget/g1 0770
20 mkdir /config/usb_gadget/g1/strings/0x409 0770
21 write /config/usb_gadget/g1/bcdUSB 0x0200
22 write /config/usb_gadget/g1/idVendor 0x18d1
23 write /config/usb_gadget/g1/bcdDevice 0x0440
24 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
25 write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer}
26 write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}
27 mkdir /config/usb_gadget/g1/functions/accessory.gs2
28 mkdir /config/usb_gadget/g1/functions/audio_source.gs3
29 mkdir /config/usb_gadget/g1/functions/midi.gs5
30 mkdir /config/usb_gadget/g1/functions/ffs.adb
31 mkdir /config/usb_gadget/g1/functions/ffs.mtp
32 mkdir /config/usb_gadget/g1/functions/ffs.ptp
33 mkdir /config/usb_gadget/g1/functions/diag.diag
34 mkdir /config/usb_gadget/g1/functions/cser.dun.0
35 mkdir /config/usb_gadget/g1/functions/cser.nmea.1
36 mkdir /config/usb_gadget/g1/functions/gsi.rmnet
37 mkdir /config/usb_gadget/g1/functions/gsi.rndis
38 mkdir /config/usb_gadget/g1/functions/qdss.qdss
39 mkdir /config/usb_gadget/g1/configs/b.1 0770
40 mkdir /config/usb_gadget/g1/configs/b.1/strings/0x409 0770
41 write /config/usb_gadget/g1/os_desc/b_vendor_code 0x1
42 write /config/usb_gadget/g1/os_desc/qw_sign "MSFT100"
52 symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1
54 write /config/usb_gadget/g1/functions/gsi.rndis/rndis_class_id 1
60 mkdir /config/usb_gadget/g1 0770
61 mkdir /config/usb_gadget/g1/strings/0x409 0770
62 write /config/usb_gadget/g1/bcdUSB 0x0200
63 write /config/usb_gadget/g1/idVendor 0x18d1
64 write /config/usb_gadget/g1/bcdDevice 0x0440
65 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
66 write /config/usb_gadget/g1/strings/0x409/manufacturer Google
67 write /config/usb_gadget/g1/strings/0x409/product Pixel
68 mkdir /config/usb_gadget/g1/functions/midi.gs5
69 mkdir /config/usb_gadget/g1/configs/b.1 0770
70 mkdir /config/usb_gadget/g1/configs/b.1/strings/0x409 0770
71 symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1
77 setprop sys.usb.config midi
79 on property:sys.usb.config=midi && property:sys.usb.configfs=1
80 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "midi"
81 rm /config/usb_gadget/g1/configs/b.1/f1
82 rm /config/usb_gadget/g1/configs/b.1/f2
83 rm /config/usb_gadget/g1/configs/b.1/f3
84 rm /config/usb_gadget/g1/configs/b.1/f4
85 write /config/usb_gadget/g1/idVendor 0x18d1
86 write /config/usb_gadget/g1/idProduct 0x4eea
87 symlink /config/usb_gadget/g1/functions/midi.gs5 /config/usb_gadget/g1/configs/b.1/f1
88 write /config/usb_gadget/g1/UDC ${sys.usb.controller}
89 setprop sys.usb.state ${sys.usb.config}