Skip to content

Conversation

@tomori-k
Copy link

@tomori-k tomori-k commented Nov 7, 2025

I found that sometimes peripheral stops working when I use a trackball while holding down a key. When I put a trackball on central, this is not occurred.
As a result of my debug, the issue seems to come from deadlock on system work queue, so we should also use our managed work queue for peripheral's input report.

PR check-list

  • Branch has a clean commit history
  • Additional tests are included, if changing behaviors/core code that is testable.
  • Proper Copyright + License headers added to applicable files (Generally, we stick to "The ZMK Contributors" for copyrights to help avoid churn when files get edited)
  • Pre-commit used to check formatting of files, commit messages, etc.
  • Includes any necessary documentation changes.

- Use our service work queue to process input report to avoid deadlock on the system work queue
- Add config `CONFIG_ZMK_INPUT_SPLIT_MSG_QUEUE_SIZE`
@tomori-k tomori-k requested a review from a team as a code owner November 7, 2025 15:27
@tomori-k tomori-k changed the title fix(split): Use our managed queue for input report to avoid deadlock fix(split): Use managed queue for input report to avoid deadlock Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant