qmk / qmk_firmware

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

Problems found in the MAC system #17303

Closed EasonQian1 closed 2 years ago

EasonQian1 commented 2 years ago

Entering sleep mode under MAC system will automatically wake up the trigger button.what caused it? It works normally under the windows, only under the MAC, it will automatically wake up and trigger the button. https://github.com/qmk/qmk_firmware/tree/master/keyboards/eason/capsule65

qmk doctor Ψ QMK Doctor is checking your environment. Ψ CLI version: 1.1.0 Ψ QMK home: C:/Users/Administrator/qmk_firmware Ψ Detected Windows 10 (10.0.19041). Ψ Git branch: master Ψ Repo version: 0.16.9 ⚠ Git has unstashed/uncommitted changes. Ψ All dependencies are installed. Ψ Found arm-none-eabi-gcc version 10.1.0 Ψ Found avr-gcc version 8.4.0 Ψ Found avrdude version 6.4 Ψ Found dfu-util version 0.11 Ψ Found dfu-programmer version 0.7.2 Ψ Submodules are up to date. Ψ QMK is ready to go, but minor problems were found

mechmerlin commented 2 years ago

Zsolid and Sesame from ClickClack reached out to me to check this out.

I just flashed my Capsule 65 with both the via and default firmware files and tested it on my M1 and Intel macOS machines. I am unable to reproduce this with QMK I updated just a few minutes ago.

My Capsule 65 is connected to my laptop directly thru Apple USB C to C cable.

I am testing this by going to the Apple logo on the top left and selecting sleep and watching what happens. Keyboard is not triggering random key press to exit sleep mode. I am able to exit sleep mode by manually pressing a random key.

M1 is running Monterey 12.4 Intel is running 10.15.7

This is the output of my QMK Doctor

Ψ QMK Doctor is checking your environment. Ψ CLI version: 1.1.0 Ψ QMK home: /Users/mechmerlin/dev/qmk_firmware Ψ Detected macOS 12.4. Ψ Git branch: master Ψ Repo version: 0.17.0 Ψ CLI installed in virtualenv. Ψ All dependencies are installed. Ψ Found arm-none-eabi-gcc version 8.3.1 Ψ Found avr-gcc version 8.4.0 Ψ Found avrdude version 7.0 Ψ Found dfu-util version 0.11 Ψ Found dfu-programmer version 0.7.2 Ψ Submodules are up to date. Ψ QMK is ready to go

EasonQian1 commented 2 years ago

Thanks, maybe it is caused by the peripheral power supply of mcu?

EasonQian1 commented 2 years ago

1654447795982

EasonQian1 commented 2 years ago

Zsolid and Sesame from ClickClack reached out to me to check this out.

I just flashed my Capsule 65 with both the via and default firmware files and tested it on my M1 and Intel macOS machines. I am unable to reproduce this with QMK I updated just a few minutes ago.

My Capsule 65 is connected to my laptop directly thru Apple USB C to C cable.

I am testing this by going to the Apple logo on the top left and selecting sleep and watching what happens. Keyboard is not triggering random key press to exit sleep mode. I am able to exit sleep mode by manually pressing a random key.

M1 is running Monterey 12.4 Intel is running 10.15.7

This is the output of my QMK Doctor

Ψ QMK Doctor is checking your environment. Ψ CLI version: 1.1.0 Ψ QMK home: /Users/mechmerlin/dev/qmk_firmware Ψ Detected macOS 12.4. Ψ Git branch: master Ψ Repo version: 0.17.0 Ψ CLI installed in virtualenv. Ψ All dependencies are installed. Ψ Found arm-none-eabi-gcc version 8.3.1 Ψ Found avr-gcc version 8.4.0 Ψ Found avrdude version 7.0 Ψ Found dfu-util version 0.11 Ψ Found dfu-programmer version 0.7.2 Ψ Submodules are up to date. Ψ QMK is ready to go

I compiled with angle 17.0 and still have this problem.Could it be caused by the peripheral circuit of the MCU?please help me check