Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
stefanberger
/
openbmc
/
98ccb1903bfb490dc6075e694664d8f1edef74dd
/
.
/
meta-openembedded
/
meta-oe
/
recipes-devtools
/
android-tools
/
android-tools-conf-configfs
/
android-gadget-start
blob: 479f14ae7ef2735c1d7661f66ab37344156dc64c [
file
] [
log
] [
blame
]
#!/bin/sh
set
-
e
sleep
10
ls
/
sys
/
class
/
udc
/
|
head
-
n
1
|
xargs echo
-
n
>
/
sys
/
kernel
/
config
/
usb_gadget
/
adb
/
UDC
bbnote
"Setting UDC $(ls /sys/class/udc/ | head -n 1) for USB ADB Gadget usage"