From 39fb148abd818e9cb0454a4186bd5218be2d31e8 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 3 Sep 2021 17:27:48 -0400 Subject: [PATCH] UHCI: Disable isochronous transfers support. It busyloops, and at least on QEMU, does not seem to work at all. --- src/add-ons/kernel/busses/usb/uhci.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/add-ons/kernel/busses/usb/uhci.cpp b/src/add-ons/kernel/busses/usb/uhci.cpp index 9fcd787ed5..95fa32a4d2 100644 --- a/src/add-ons/kernel/busses/usb/uhci.cpp +++ b/src/add-ons/kernel/busses/usb/uhci.cpp @@ -719,8 +719,14 @@ UHCI::SubmitTransfer(Transfer *transfer) return SubmitRequest(transfer); // Process isochronous transfers +#if 0 if (pipe->Type() & USB_OBJECT_ISO_PIPE) return SubmitIsochronous(transfer); +#else + // At present, isochronous transfers cause busylooping, and do not seem to work. + if (pipe->Type() & USB_OBJECT_ISO_PIPE) + return B_NOT_SUPPORTED; +#endif uhci_td *firstDescriptor = NULL; uhci_qh *transferQueue = NULL;