[Steam Machine] Built-in EC keyboard (serio0) gets stuck repeating Enter after resume, closes menus and wakes the machine from sleep

オープン
#3,081 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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_irq read 1 (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:
  1. Put the Steam Machine to sleep from Game Mode.
  2. Wake it.
  3. 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ValveSoftware/SteamOS のほかの issue

ValveSoftware/SteamOS の issue をすべて見る

似ている issue

Operating Systems の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。