libretro / libretro/RetroArch

udev+keyboard not working in KMS

Open
#17,718 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Is there an existing issue for this?
  • This is a bug in RetroArch frontend
  • I have searched the existing issues
Description

When I start retroarch from the linux vconsole, everything looks fine, but the keyboard doesn't work.
It is not a permission issue.
My user is in the input group.
It doesn't even work when retroarch is started as root.

Switching input_driver to linuxraw fixes it.

Expected behavior

The keyboard works.

Steps to reproduce the bug
  1. Start retroarch as root or with a user in the input group.
  2. Try the arrow keys.
Version/Commit

1.19.1

Bisect Results

No response

Present in the nightly version

I don't know

Platform & operating system

alpine linux 3.21.3, rpi 3b

Affected Cores

No response

Environment information

No response

Relevant log output

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 issue on Alpine Linux 3.21.3 with a Raspberry Pi 3B by starting RetroArch from the Linux vconsole and testing the arrow keys with the udev input driver. Compare this behavior with input_driver set to linuxraw; done means the keyboard works under KMS without changing permissions or running as root.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.