SonixQMK / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
515 stars 408 forks source link

[Bug] Keychron K6 stops working #336

Closed elpescado closed 10 months ago

elpescado commented 1 year ago

Describe the Bug

My Keychron K6 RGB ANSI stops working after pressing too many keys at the same time, or typing too fast (and I'm a terrible typist). When switched off and then back on, everything works fine. I can reproduce it every time, for example, try typing very fast:

hjklhjklhjkljhjklhjklhjklhjklhjklhjklhjklhjklhjklhjklhjklhjklhjklhjklhjklhjklhjklhjklhjklhjk

Keyboard Used

keychron/k6

Link to product page (if applicable)

No response

Operating System

macOS

qmk doctor Output

Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.2
Ψ QMK home: /Users/xxx/qmk_firmware
Ψ Detected macOS 12.6.5.
Ψ Git branch: sn32_master
Ψ CLI installed in virtualenv.
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 8.3.1
Ψ Found avr-gcc version 8.5.0
Ψ Found avrdude version 7.0
Ψ Found dfu-util version 0.11
Ψ Found dfu-programmer version 1.0.0
Ψ Submodules are up to date.
Ψ QMK is ready to go

Is AutoHotKey / Karabiner installed

Other keyboard-related software installed

No response

Additional Context

No response

elpescado commented 1 year ago

After upgrading arm-none-eabi-gcc to version 10.3.1, rebuilding and refreshing the keyboard everything works fine.

BTW. gcc version 8.3 is installed by default by qmbk on a Mac: https://github.com/qmk/homebrew-qmk/blob/master/Formula/qmk.rb#L28 https://github.com/SonixQMK/qmk_firmware/blob/sn32_develop/util/install/macos.sh#L23

stealthgyro commented 1 year ago

So the answers are all in one place, but basically fixing my installed options with the following commands.

brew tap ArmMbed/homebrew-formulae brew install arm-none-eabi-gcc brew link --overwrite arm-none-eabi-gcc

Reference Links

Stack Overflow thread Direct link to download package 10.3 Brew Formula "easy mode" if all setup already