usbd_mini: restore FreeUsbd for WoC USB regression (#908) - #911
Open
horizonends wants to merge 1 commit into
Open
usbd_mini: restore FreeUsbd for WoC USB regression (#908)#911horizonends wants to merge 1 commit into
horizonends wants to merge 1 commit into
Conversation
OPL embeds usbd_mini; the post-b1f7ff96 rewrite breaks Wrath of Cortex over USB (TD completes never wake WaitSema). Hardware shows old FreeUsbd usbd + modern usbmass works. Give usbd_mini its own FreeUsbd sources (from 2dc6b32) and keep the SCE rewrite for full usbd. Export table stays 1.2 with stubs for reboot/report/multi-isoc.
This was referenced Aug 7, 2026
Author
|
Hardware confirm: OPL with this |
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@2dc6b32f, pre-b1f7ff96) as the implementation ofusbd_minionlyiop/usb/usbdon the SCE rewrite (HID report descriptors, multi-isochronous, etc.)usbdReboot/sceUsbdGetReportDescriptor/sceUsbdMultiIsochronousTransfer(USB_RC_NOSUPPORT/ no-op)Fixes the hardware regression in #908: Crash Bandicoot: Wrath of Cortex over USB in OPL (embeds
usbd_mini). Symptom: mid-transfer hang withfail_count=0(TD submitted, completion never wakes). Standalone usbstress does not reproduce.Isolation
b1f7ff96)So modern
usbmass_bdis fine; the rewrite’susbd_minipath is not. Many FreeUsbd-vs-rewrite A/Bs on the rewrite were tried (HCD bring-up, WDH/DoneHead, dual TD queues, embedded ED, hub flush, SetAddress timing, attach/transferedBytes, timerdelay-=1, etc.) — none restore play after the cutscene. Dead list on #908.This does not claim to fix the rewrite; it restores the known-good driver for the mini module OPL actually ships.
Related
Test plan
make -C iop/usb/usbd_minibuildsusbd_mini+ SDKusbmass_bd_mini→OPNPS2LD-freeusbd-mini.ELFstaged for hardware