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:
parent
64eedfe7c5
commit
57cd52b1dc
2
quickemu
2
quickemu
|
|
@ -2269,6 +2269,8 @@ function display_param_check() {
|
||||||
# Braille support requires SDL. Override $display if braille was requested.
|
# Braille support requires SDL. Override $display if braille was requested.
|
||||||
if [ -n "${BRAILLE}" ]; then
|
if [ -n "${BRAILLE}" ]; then
|
||||||
display="sdl"
|
display="sdl"
|
||||||
|
# XHCI supports USB 1.1/2.0/3.0; required for full-speed braille devices
|
||||||
|
usb_controller="xhci"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${OS_KERNEL}" == "Darwin" ]; then
|
if [ "${OS_KERNEL}" == "Darwin" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue