temper icon indicating copy to clipboard operation
temper copied to clipboard

Board/screen doesn't enter idle/deep sleep

Open szabolcsfuzi opened this issue 1 year ago • 6 comments

Hey!

First of all, thanks @raeedcho for this awesome design, this was my first custom build (and first soldering) and it all turned out great. I added the optional nice!views and they work, except the keyboard seemingly doesn't enter idle/deep sleep mode.

I didn't fork your config repo because I wanted to see how zmk installer works, but I copied your files to my repo.

I'm not sure what's preventing the board to enter idle mode and let the displays turn off.

szabolcsfuzi avatar May 13 '25 09:05 szabolcsfuzi

That's great, I'm glad to hear things worked out!

As for the idling issue, I'm not totally sure. I still don't have the displays on my board, so I don't think I can help you much (though maybe others who have built the temper from this repo can).

Maybe this is a question for the maintainers of ZMK? I have a feeling I read something about an interaction between deep sleep and displays in their documentation, but can't remember what it said.

raeedcho avatar May 14 '25 16:05 raeedcho

Out of curiosity I installed a base corne firmware to test it, and both idle and deep sleep works, the keyboard turns off the display and disconnects from bluetooth so I guess either something gets overriden in the config or something is missing compared to corne.

Does your board go to deep sleep without screens?

szabolcsfuzi avatar May 14 '25 20:05 szabolcsfuzi

I believe it does, but I suppose I haven't really tested the deep sleep function in a while (I usually just use the power switches to turn the boards off when I leave my computer or put the boards in my bag to take to work).

raeedcho avatar May 15 '25 05:05 raeedcho

I removed the screens from the sockets, didn't make a difference; the keyboard still doesn't go to deep sleep. I say this because it stays connected via bluetooth.

Using a corne firmware on my temper or using my corne, the board uses default timeouts and enters deep sleep appropiately like described here.

I went through the dsti, overlay, conf files line by line but still couldn't figure out what could prevent it. Really strange.

szabolcsfuzi avatar May 15 '25 10:05 szabolcsfuzi

I actually got it working after countless hours. The key was adding a .conf file under /config. I'm not exactly sure why this works. I have a different repo here, but it actually works for both.

This repo that I linked, doesn't have boards/shields/temper/boards/nice_nano_v2.overlay. Can you tell me why was it needed for you?

szabolcsfuzi avatar May 15 '25 22:05 szabolcsfuzi

Glad it's working for you now!

This repo that I linked, doesn't have boards/shields/temper/boards/nice_nano_v2.overlay. Can you tell me why was it needed for you?

I'm not sure I remember why it was necessary before--it could be that I had started with a different version of ZMK possibly?

raeedcho avatar May 18 '25 18:05 raeedcho