qmk/qmk_firmware

[Bug] `OS_DETECTION_KEYBOARD_RESET` breaks USB suspend

Open

#25.079 aberto em 30 de mar. de 2025

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)C (43.867 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (20.368 stars)
Métricas de merge de PR
 (Mesclagem média 20d 9h) (27 fundiu PRs em 30d)

Description

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

Guia do colaborador