blob: 479f14ae7ef2735c1d7661f66ab37344156dc64c [file] [log] [blame]
Andrew Geissler72956ed2021-01-08 16:11:14 -06001#!/bin/sh
2
3set -e
4
Patrick Williams92b42cb2022-09-03 06:53:57 -05005sleep 10
Andrew Geissler72956ed2021-01-08 16:11:14 -06006
Patrick Williams2390b1b2022-11-03 13:47:49 -05007ls /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"