qmk/qmk_firmware

[Bug] `OS_DETECTION_KEYBOARD_RESET` breaks USB suspend

Open

#25,079 建立於 2025年3月30日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)C (43,867 fork)batch import
bughelp wanted

倉庫指標

Star
 (20,368 star)
PR 合併指標
 (平均合併 20天 9小時) (30 天內合併 27 個 PR)

描述

Describe the Bug

With a keyboard configured with OS_DETECTION_KEYBOARD_RESET, when connecting the keyboard through a KVM and powering off the main computer the keyboard resets as the KVM keeps it powered and detects OS_UNKNOWN (correctly) but fails to suspend. With the rest option disabled USB suspend happens correctly, but OS detection is then broken as it's stuck on the first identified OS.

Keyboard Used

Splitkb/helix

Link to product page (if applicable)

No response

Operating System

Linux

qmk doctor Output

Ψ Detected Linux (Debian GNU/Linux trixie/sid).
Ψ Userspace enabled: False
Ψ Git branch: master
Ψ Repo version: 0.27.9

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

No response

Additional Context

No response

貢獻者指南