fix(quickemu): enable xhci when braille devices used

- Set usb_controller="xhci" in display_param_check() when BRAILLE is enabled.
- Braille devices are USB 1.1 (full-speed); EHCI only handles USB 2.0/3.0,
  which causes speed mismatch warnings and prevents braille devices from working.

Fixes #730
This commit is contained in:
Martin Wimpress 2026-01-25 13:17:56 +00:00 committed by Martin Wimpress
parent 64eedfe7c5
commit 57cd52b1dc
1 changed files with 2 additions and 0 deletions

View File

@ -2269,6 +2269,8 @@ function display_param_check() {
# Braille support requires SDL. Override $display if braille was requested.
if [ -n "${BRAILLE}" ]; then
display="sdl"
# XHCI supports USB 1.1/2.0/3.0; required for full-speed braille devices
usb_controller="xhci"
fi
if [ "${OS_KERNEL}" == "Darwin" ]; then