Skip to content
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

guivm: Passthrough the multimedia keys #592

Merged
merged 1 commit into from May 15, 2024

Conversation

Nerox9
Copy link
Contributor

@Nerox9 Nerox9 commented May 2, 2024

Description of changes

Thinkpad multimedia function keys have a different input device than keyboard itself. It is connected to guivm with udev and brightness keybinds are set in labwc.

Checklist for things done

  • Summary of the proposed changes in the PR description
  • More detailed description in the commit message(s)
  • Commits are squashed into relevant entities - avoid a lot of minimal dev time commits in the PR
  • Contribution guidelines followed
  • Ghaf documentation updated with the commit - https://tiiuae.github.io/ghaf/
  • PR linked to architecture documentation and requirement(s) (ticket id)
  • Test procedure described (or includes tests). Select one or more:
    • Tested on Lenovo X1 x86_64
    • Tested on Jetson Orin NX or AGX aarch64
    • Tested on Polarfire riscv64
  • Author has run nix flake check --accept-flake-config and it passes
  • All automatic Github Action checks pass - see actions
  • Author has added reviewers and removed PR draft status

Testing

Use F5 and F6 keys to observe brightness change on the screen backlight in GUIVM.

Thinkpad multimedia function keys have a different input device.
ACPI backlight option should be overridden as vendor in kernel to use the all function keys in the same input.

Signed-off-by: Berk Arslan <berk.arslan@unikie.com>
@Nerox9 Nerox9 temporarily deployed to internal-build-workflow May 10, 2024 08:39 — with GitHub Actions Inactive
@Nerox9 Nerox9 marked this pull request as ready for review May 10, 2024 08:57
@milva-unikie
Copy link

Please update the testing section to include instructions on how this should be tested and what are the expected results.

@milva-unikie
Copy link

Tested on X1

  • F5 and F6 keys change screen brightness
  • Test-automation passes
  • Performance ok
  • Apps launch

@milva-unikie milva-unikie added the Tested on Lenovo X1 Carbon This PR has been tested on Lenovo X1 Carbon label May 13, 2024
Copy link
Member

@humaidtii humaidtii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@brianmcgillion brianmcgillion merged commit f56797a into tiiuae:main May 15, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tested on Lenovo X1 Carbon This PR has been tested on Lenovo X1 Carbon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants