core: pin gadget to high-speed

This commit is contained in:
Brad Stein 2026-01-05 21:37:33 -03:00
parent da6aa6c425
commit 27a69a8bb6

View File

@ -94,6 +94,7 @@ mkdir -p "$G"
echo 0x1d6b >"$G/idVendor" # Linux Foundation
echo 0x0104 >"$G/idProduct" # Multifunction Composite Gadget
echo 0x0200 >"$G/bcdUSB"
echo high-speed >"$G/max_speed"
mkdir -p "$G/strings/0x409"
echo "$(cat /proc/sys/kernel/random/uuid)" >"$G/strings/0x409/serialnumber"