diff options
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start | 4 |
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 | ||
5 | sleep 10 | 5 | sleep 10 |
6 | 6 | ||
7 | ls /sys/class/udc/ | xargs echo -n > /sys/kernel/config/usb_gadget/adb/UDC | 7 | ls /sys/class/udc/ | head -n 1 | xargs echo -n > /sys/kernel/config/usb_gadget/adb/UDC |
8 | |||
9 | bbnote "Setting UDC $(ls /sys/class/udc/ | head -n 1) for USB ADB Gadget usage" | ||