tiny-pilot / tiny-pilot/tinypilot
No longer possible to enter the Magic SysRq key combination
Open
Nobody has claimed this yet.
bug
large
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 291
- PR merge metrics
- No merged PRs in 30d
Description
Description
It isn't possible to use the Magic SysRq key combination on the TinyPilot keyboard. This appears to be a regression as this functionality was previously added and then subsequently lost during a refactor.
What's the behavior that you expect?
- The "SysRq" key should still be labeled on the TinyPilot keyboard.
- Pressing "SysRq" (or the equivalent "Print" key) shouldn't end the combination if the "Alt" modifier is already pressed.
What's happening instead?
- The "SysRq" key is no longer labelled on the TinyPilot keyboard.
- Pressing the equivalent "Print" key cancels the "Alt" modifier and so the combination can't be completed.
What are the steps to reproduce this behavior?
- Connect a TinyPilot device to a Linux system and open the interface in Chrome.
- Attempt to display the help text by pressing "Alt"+"SysRq"/"Print"+"h".
- Note that the combination ends before "h" can be pressed.
Screenshots
N/A
Logs
N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the combination in Chrome on a TinyPilot device using the steps in the issue, then inspect the keyboard handling and labeling related to the SysRq/Print key. Compare the current behavior with the linked PRs #150 and #731. Done means the key is labeled SysRq and Alt+SysRq/Print can be followed by h without ending the combination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100