-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zip_temp_layer sometimes stop working #2719
Comments
* Ensure all layer operations occur on the system work queue thread. Fixes: zmkfirmware#2719
@jhorology Can you please give #2729 a try? |
Just in case it serves as another useful data point, I think that this comment sheds some light on the actual problem: #2729 (comment) for me a consistent repro is invoking a |
I have also reproduced the |
If you haven't seen this already @RealET, I linked a couple commits on #2729 that fix the issue for me. If you want to temporarily circumvent it, here's how I'm building my firmware based on the patch I mentioned above: https://github.com/HumanComputingInc/kb42s_default_config/blob/main/config/west.yml |
zip_temp_layer sometimes stops working. I think the cause is that input_processor_temp_layer.c is not thread-safe. CONFIG_INPUT_MODE_THREAD is Zephyr's default, but is the pointing subsystem supposed to use CONFIG_INPUT_MODE_SYNCHRONOUS and the input driver to use the system thread?
my configuration:
https://github.com/jhorology/keyboards/blob/main/zmk_keyboards/boards/shields/libra_mini/libra_mini.overlay
https://github.com/jhorology/keyboards/blob/main/zmk_keyboards/libra_mini.keymap
The text was updated successfully, but these errors were encountered: