updates
This commit is contained in:
parent
178ab06c3f
commit
17358e6367
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Proven Pi-5 configfs gadget: HID keyboard+mouse + stereo UAC2
|
# Proven Pi-5 configfs gadget: HID keyboard+mouse + stereo UAC2
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
modprobe dwc2
|
||||||
modprobe libcomposite || { echo "libcomposite not in kernel; abort" >&2; exit 1; }
|
modprobe libcomposite || { echo "libcomposite not in kernel; abort" >&2; exit 1; }
|
||||||
mountpoint -q /sys/kernel/config || mount -t configfs configfs /sys/kernel/config
|
mountpoint -q /sys/kernel/config || mount -t configfs configfs /sys/kernel/config
|
||||||
G=/sys/kernel/config/usb_gadget/navka
|
G=/sys/kernel/config/usb_gadget/navka
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user