Lines Matching refs:usb
45 mkdir /dev/usb-ffs 0775 shell shell
46 mkdir /dev/usb-ffs/adb 0770 shell shell
47 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1
48 mkdir /dev/usb-ffs/mtp 0770 mtp mtp
49 mkdir /dev/usb-ffs/ptp 0770 mtp mtp
50 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
51 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
52 setprop sys.usb.mtp.device_type 3
53 setprop sys.usb.controller "a600000.dwc3"
59 write /sys/class/power_supply/usb/moisture_detection_enabled 0
61 on property:vendor.usb.contaminantdisable=true
62 write /sys/class/power_supply/usb/moisture_detection_enabled 0
65 setprop sys.usb.configfs 2
67 on property:sys.usb.config=none && property:sys.usb.configfs=1
91 setprop sys.usb.controller "a600000.dwc3"
94 setprop sys.usb.config midi
96 on property:sys.usb.config=midi && property:sys.usb.configfs=1
105 write /config/usb_gadget/g1/UDC ${sys.usb.controller}
106 setprop sys.usb.state ${sys.usb.config}