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 创建于 2021年1月30日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C (43,867 fork)batch import
bughelp wanted

仓库指标

Star
 (20,368 star)
PR 合并指标
 (平均合并 20天 9小时) (30 天内合并 27 个 PR)

描述

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

贡献者指南