Giter Site home page Giter Site logo

Power consumption about tmk_keyboard HOT 5 CLOSED

tmk avatar tmk commented on August 15, 2024
Power consumption

from tmk_keyboard.

Comments (5)

technomancy avatar technomancy commented on August 15, 2024

I've noticed that my board becomes unresponsive for a second or so every so often when I'm using it with my low-voltage Thinkpad (X200s) on battery power; could it be related to this? No issues when on AC power or on any other laptops I've tried. I feel like it must be something specific to this firmware because my ErgoDox (using Blazak's firmware) doesn't exhibit this problem. I'm using the "atreus" build in my fork, if it's relevant: https://github.com/technomancy/tmk_keyboard/tree/atreus/keyboard/atreus

Any suggestions for things to try would be appreciated.

from tmk_keyboard.

tmk avatar tmk commented on August 15, 2024

Hmm, it seems like your keyboard sleeps in suspend mode to save power in low battery.
My suggestions:

  1. Try to stop power down of common/suspend.c(build with NO_SUSPEND_POWER_DOWN)
  2. See difference in low-battery between build with LUFA and PJRC stack
  3. Look into how ErgoDox implements suspend mode and port it to tmk

from tmk_keyboard.

technomancy avatar technomancy commented on August 15, 2024

Thanks. I actually played around with commenting out some of the features in the Makefile (BOOTMAGIC etc) and that seems to have helped. I got rid of a bunch of them; I'll see if I can narrow down which one specifically is responsible.

from tmk_keyboard.

technomancy avatar technomancy commented on August 15, 2024

I may have spoken too soon; while I was able to get rid of the cutting out after disabling some features, I played with it a bit more to try to figure out which ones in particular were causing trouble, and now I can't get it back to the fully-working state even with all of them disabled again. So it might have been a fluke. I'll take a look at some of your suggestions; thanks.

from tmk_keyboard.

technomancy avatar technomancy commented on August 15, 2024

Looks like NO_SUSPEND_POWER_DOWN did the trick; thanks!

from tmk_keyboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.