RobertDaleSmith / USBRetro

USBRetro: Robust USB host controller input for retro consoles.
https://usbretro.com
Apache License 2.0
100 stars 6 forks source link

8BitDo USB Adapter 2 (Black) not working with firmware v.1.0.1 #9

Open RobertDaleSmith opened 1 year ago

RobertDaleSmith commented 1 year ago

The 8BitDo USB Adapter 2 (black w/o 2 on shell) seems to automatically unmount and throw and Invalid Speed error when connecting to the adapter. Despite overriding the speed error in pico-sdk/lib/tinyusb the device unmounts before presenting any sort of vid/pid mounting.

Further investigation needs to be done to figure out why. In the short-term downgrading to the 8Bitdo USB Adapter 2 firmware v.1.0.0 restores functionality with the USB2PCE.

RobertDaleSmith commented 1 year ago

Progress has been made on this. At the very least I have this working when X-input mode is enabled on the adapter. It may need to be paired and changed to XInput mode once and then it will auto connect every time after that.

I will see if I can iron out all the enumeration issues related to the latest firmwares of the 8BitDo USB Adapter 2.

Seems to be a race-condition where the adapters initial enumeration trips up TinyUSB when it quickly disconnects and reconnects every possible mode the adapter can be in upon power up.

RobertDaleSmith commented 1 year ago

Maybe related this this issue: https://github.com/hathach/tinyusb/issues/2176