tiny-pilot / tiny-pilot/tinypilot

No longer possible to enter the Magic SysRq key combination

Open
#1,167 13 comments 0 reactions 0 assignees View on GitHub

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?

  1. Connect a TinyPilot device to a Linux system and open the interface in Chrome.
  2. Attempt to display the help text by pressing "Alt"+"SysRq"/"Print"+"h".
  3. Note that the combination ends before "h" can be pressed.

Screenshots

N/A

Logs

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.