[Steam Machine] Built-in EC keyboard (serio0) gets stuck repeating Enter after resume, closes menus and wakes the machine from sleep
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 15/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- linux
调研方向
The payload points to the atkbd serio0 messages in the kernel log around suspend and resume, the serio0 drvctl sysfs file, and /dev/input/event2, which evtest can query for stuck KEY_ENTER. Start by reproducing a suspend and resume cycle and confirming the deactivate/enable failures with dmesg. Done would mean the keyboard stays quiet and the machine stays asleep across repeated resumes, which needs kernel input-driver knowledge and hardware access.
由索引模型根据 Issue 内容生成。
描述
Your system information
- Steam client version: 1794536281
- SteamOS version: 3.9.5, build 20261023.100
- Kernel: 7.2.7-valve2-2-neptune-72-g31504582a073
- BIOS version: F7F0108
- Opted into Steam client beta?: No
- Opted into SteamOS beta?: No
- Have you checked for updates in Settings > System?: Yes
Please describe your issue in as much detail as possible:
Sometimes after waking from sleep, the built-in "AT Translated Set 2 keyboard" (isa0060/serio0, event2 on my machine) starts sending Enter on its own, about 30 times a second. No physical keyboard is attached; this is the onboard serio0 device. I only use a controller.
What I see in Game Mode:
- Pressing the Steam button flashes the main menu and it closes right away. Stick navigation in menus doesn't work. LB/RB and the QAM button still work.
- The screen never dims and the screensaver never starts, because the Enter repeats count as input.
- If the machine does go to sleep, it wakes back up a few seconds later. After a sleep at 16:05:01 it was back up at 16:05:04, and
/sys/power/pm_wakeup_irqread1(i8042).
The kernel logs this on every resume, not only the bad ones (24 resumes this boot, all 24 logged it):
atkbd serio0: Failed to deactivate keyboard on isa0060/serio0
PM: suspend exit
atkbd serio0: Failed to enable keyboard on isa0060/serio0
and sometimes after that:
atkbd serio0: Spurious ACK on isa0060/serio0. Some program might be trying to access hardware directly.
Checking the key state while it's happening:
$ evtest --query /dev/input/event2 EV_KEY KEY_ENTER; echo $?
10
The IRQ 1 (i8042) count in /proc/interrupts keeps climbing while the machine sits untouched.
Workaround: echo -n reconnect | sudo tee /sys/bus/serio/devices/serio0/drvctl, then send a KEY_ENTER release to event2. Usually that stops it. The last time, it only slowed the repeats down and Enter stayed stuck. Holding an EVIOCGRAB on event2 stops the repeats from reaching gamescope, so menus work again until the next resume.
Expected: the EC keyboard stays quiet after resume, and the machine stays asleep.
Steps for reproducing this issue:
- Put the Steam Machine to sleep from Game Mode.
- Wake it.
- Repeat. Every resume logs the deactivate/enable failures. Some of them leave Enter stuck, which you can check with the evtest command above.
- 主要语言
- 没有语言数据
- 星标
- 2.7k
- 派生
- 89
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ValveSoftware/SteamOS 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
ValveSoftware/SteamOS#3037 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
ValveSoftware/SteamOS#2983 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
ValveSoftware/SteamOS#2927 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
ValveSoftware/SteamOS#2875 · 1 条评论 ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repair未关闭
难度 2/5 1-3 小时 新手友好度 80/100
ValveSoftware/SteamOS#2829 ·
查看 ValveSoftware/SteamOS 的全部 Issue
相似的 Issue
-
bug compatibility
难度 2/5 1-3 小时 新手友好度 62/100
omacom/omarchy#20525 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
SMP: secondary cores read RUNNING_THREADS without synchronization (READY_CORES is incremented with Relaxed)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
vivoblueos/kernel#591 ·
维护者通常 1 天内回复
-
area: bindings bug
难度 2/5 1-3 小时 新手友好度 72/100
olafurjohannsson/kjarni#165 ·
-
documentation follow-up x86
难度 1/5 1 小时以内 新手友好度 88/100
carrick-sh/carrick#3156 ·
维护者通常 1 天内回复