summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start')
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start b/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start
index b73cb70b1..479f14ae7 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start
+++ b/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start
@@ -4,4 +4,6 @@ set -e
4 4
5sleep 10 5sleep 10
6 6
7ls /sys/class/udc/ | xargs echo -n > /sys/kernel/config/usb_gadget/adb/UDC 7ls /sys/class/udc/ | head -n 1 | xargs echo -n > /sys/kernel/config/usb_gadget/adb/UDC
8
9bbnote "Setting UDC $(ls /sys/class/udc/ | head -n 1) for USB ADB Gadget usage"