qmk/qmk_firmware

Raw_hid corrupted or enumerated improperly on STM32F072 when used with a TI 8020B USB hub controller (bounty available)

Open

#11.730 geöffnet am 30. Jan. 2021

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C (43.867 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (20.368 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 20T 9h) (27 gemergte PRs in 30 T)

Beschreibung

VIA freezes on a keyboard designed around the STM32F072 CPU (TKC GodSpeed75) when used in conjunction with the USB hub designed to fit it, our custom TI 8020B USB 3.0 hub.

Describe the Bug

  • TKC GodSpeed75 is a keyboard PCB that utilizes the STM32F072 CPU running QMK and has a custom-designed USB hub based around the TI 8020B 2-port USB hub
  • This combination causes VIA to hang upon connection
  • The hub works correctly when used in conjunction with the TKC M0lly PCB, a board designed around the AT90USB1286 MCU
  • The GodSpeed75 works in VIA when connected directly via USB cable
  • The GodSpeed75 works correctly absent VIA support when connected via its USB hub; RGB etc works as expected Conclusion: There is an issue in the STM32 codebase causing an issue with VIA support in conjunction with that USB hub; likely exists in the USB enumeration code. There have been a few other similar STM32 issues related to sleep and wake states
  • We have eliminated QMK version as a factor - I have tested that this bug exists clear back to May 2020.

Additional Context

There is a $500 bug bounty available, see attached. Approved in advance by @jackhumbert.

GodSpeed75 Bug Bounty.pdf

Contributor Guide