[Steam Machine] Built-in EC keyboard (serio0) gets stuck repeating Enter after resume, closes menus and wakes the machine from sleep
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 15/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- linux
- Ambito
- operating-systems
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 2.7k
- Fork
- 89
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ValveSoftware/SteamOS
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ValveSoftware/SteamOS#3037 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ValveSoftware/SteamOS#2983 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ValveSoftware/SteamOS#2927 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ValveSoftware/SteamOS#2875 · 1 commento ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repairAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ValveSoftware/SteamOS#2829 ·
Tutte le issue di ValveSoftware/SteamOS
Issue simili
-
bug compatibility
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
omacom/omarchy#20525 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
SMP: secondary cores read RUNNING_THREADS without synchronization (READY_CORES is incremented with Relaxed)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
vivoblueos/kernel#591 ·
I maintainer di solito rispondono entro 1 giorno
-
area: bindings bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
olafurjohannsson/kjarni#165 ·
-
documentation follow-up x86
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
carrick-sh/carrick#3156 ·
I maintainer di solito rispondono entro 1 giorno