tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Support for USBD_FORCE_SHORT_XFER for xhci
> On Sep 1, 2025, at 1:12 AM, sc dying <sc.dying%gmail.com@localhost> wrote:
>
> Host contoller drivers including xhci (but dwc2) look like returning
> USBD_NORMAL_COMPLETION on receiving both full size and short packet.
> usb_transfer_complete in usbdi.c makes ux_status = USBD_SHORT_XFER
> when actual transferred length < requested length && USBD_SHORT_XFER_OK
> is not set on inbound pipe.
>
> BTW is it due to clearing data toggle?
Data toggle is also in the mix here, and I have a patch from jak to address that, but it *still* did not address the issue I was having. I had planned to run some tests this weekend to get some additional information, but had to deal with a small family emergency that necessitated 2 cross-country flights over the course of 24 hours; lots of idle time, but no devices handy, sigh.
I should have some time to poke around at it again in the evenings this week.
-- thorpej
Home |
Main Index |
Thread Index |
Old Index