arrowtype / 80forty

The utility of an 80% keyboard in a 40% layout
MIT License
5 stars 0 forks source link

The keyboard prevents my Mac (Sonoma) from going to sleep for a few seconds after use #7

Open arrowtype opened 5 months ago

arrowtype commented 5 months ago

Issue described at:

arrowtype commented 5 months ago

Oh, actually, if I explicitly set MOUSEKEY_ENABLE = yes, then this issue goes away. Weird, but I’ll take it I guess.

arrowtype commented 5 months ago

Ohhh, actually, never mind, the issue didn’t go away.

arrowtype commented 5 months ago

It seems like MOUSEKEY_ENABLE doesn’t have an impact here, after all. Whether or not I have it included or set to on or off, the problem can happen.

It basically seems that, if I’m typing, then I try to put my computer into sleep mode (e.g. because I’m walking away for a bit), it won’t go into sleep mode for about 12 seconds or so. When I try, it simply wakes instantly. I’m not completely sure if it requires a certain amount of time, and whether that is triggered by some particular key combo that occurs while I’m typing. I’ll keep observing and try to detect a pattern.

arrowtype commented 4 months ago

I’ve tested the board on a separate Mac (Intel, running macOS Ventura), and the problem doesn’t seem to appear. So, it is probably some kind of interaction between Sonoma on vial-qmk.

I’ve also updated my Mac to the latest Sonoma, but no difference.

This issue also occurs for me on the AlphaWilly, which also runs on an RP2040, and was also engineered by Noah Kiser, but doesn't have any LED or encoder. So, it may not be the LED or encoder. The issue doesn't seem to occur on a Keebio Nyquist, running (non-vial) QMK and a different MCU.