Pressing led key 4 times and num key one reboots the firmware #9
Comments
@algernon - any idea?
… On May 24, 2018, at 2:00 PM, László Attila Tóth ***@***.***> wrote:
If and Numpad is in KALEIDOSCOPE_INIT_PLUGINS and I press the following 5 keys in any order, the firmware restarts itself.
The keys: "led" key four times and "num" key once.
I reproduced it one the default Model01-Firmware, but I noticed it on my custom firmware.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I played around a little bit, and perhaps it's related to power consumption, ie. if I use only active mod color, numpad, and solid color as led effects, and the solid color is (255, 255, 255), it has strange behavior: sometimes the white is fine, but mostly it is blinky, and with numpad it is more unstable. I use a 7 years old Mac, but it does not seem to be relevant. |
It is indeed 100% possible to pull more power than the USB current limiter can pull. But all of the default LED modes should be calibrated not to do that.
… On May 25, 2018, at 3:13 PM, László Attila Tóth ***@***.***> wrote:
I played around a little bit, and perhaps it's related to power consumption, ie. if I use only active mod color, numpad, and solid color as led effects, and the solid color is (255, 255, 255), it has strange behavior: sometimes the white is fine, but mostly it is blinky, and with numpad it is more unstable. I use a 7 years old Mac, but it does not seem to be relevant.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Okay I'm 99% certain it's the power, as I only have issues when the USB cannot provide more power than 500mA. Plugging in the Model01 into my Apple Keyboard the power is limited to 500mA, and the Mac itself can provide more power - in the latter case the problem does not occur. This page states the power limit: https://support.apple.com/en-us/HT204377 |
If it is power related... does it help if you change numpad_color to |
Yes, 160, 0, 0 is fine. Anyway, 200, 0, 0 also work for me in case of the default firmware. |
I think the problem was going form R160 to R255, that might have resulted in a spike the host didn't like. If R160 is fine, lets default NumPad to that too, thus working around the issue until we have proper power negotiation and tracking. |
Having it at the brightest uses too much power, and may result in power use surges when switching between LED modes and NumPad, which in turn can force the operating system to disable the whole device. To avoid this, lower the brightness to 160, a carefull tuned value, also used by the `solidRed` mode in the factory firmware. Fixes #9. Signed-off-by: Gergely Nagy <algernon@keyboard.io>
If Numpad is in KALEIDOSCOPE_INIT_PLUGINS and I press the following 5 keys in any order, the firmware restarts itself.
The keys: "led" key four times and "num" key once.
I reproduced it one the default Model01-Firmware, but I noticed it on my custom firmware.
The text was updated successfully, but these errors were encountered: