This commit is contained in:
Brad Stein 2025-06-06 01:53:19 -05:00
parent 178ab06c3f
commit 17358e6367

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash
# Proven Pi-5 configfs gadget: HID keyboard+mouse + stereo UAC2
set -euo pipefail
modprobe dwc2
modprobe libcomposite || { echo "libcomposite not in kernel; abort" >&2; exit 1; }
mountpoint -q /sys/kernel/config || mount -t configfs configfs /sys/kernel/config
G=/sys/kernel/config/usb_gadget/navka