Bug 2229165

Summary: PS/2 keyboard input is not working
Product: [Fedora] Fedora Reporter: idiot
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: acaringi, adscvr, airlied, alciregi, bskeggs, fedora, hdegoede, hpa, jarod, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, savvadesogle, steved
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-6.4.9-200.fc38 kernel-6.4.9-100.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-10 00:41:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dmesg from 6.4.6
none
dmesg from 6.4.8
none
dmidecode
none
acpidump none

Description idiot 2023-08-04 13:58:21 UTC
PS/2 keyboard input is not working. This began with kernel 6.4.7 and is still an issue in 6.4.8.

I've noticed this line in dmesg from a 6.4.6 boot but not in 6.4.8.
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2

Reproducible: Always

Comment 1 idiot 2023-08-04 14:12:40 UTC
Created attachment 1981635 [details]
dmesg from 6.4.6

Comment 2 idiot 2023-08-04 14:13:03 UTC
Created attachment 1981637 [details]
dmesg from 6.4.8

Comment 3 Thorsten Leemhuis 2023-08-05 13:32:24 UTC
Could you please attach the output from at least "sudo dmidecode" and ideally also "sudo acpidump"

Comment 4 Hans de Goede 2023-08-05 14:07:47 UTC
Thank you for the bug report. Is this a laptop using an AMD CPU ? If yes then this is likely caused by commit a9c4a912b7dc ("ACPI: resource: Remove "Zen" specific match and quirks"):

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a9c4a912b7dc

I have started a test-build of the Fedora 6.4.8 kernel with these changes reverted:

https://koji.fedoraproject.org/koji/taskinfo?taskID=104399221

Note this is still building atm, it should be finished in a couple of hours.

Please give this test build a try and let us know if it fixes things for you. See here for instructions how to install a kernel directly from koji (Fedora's buildsystem) :

https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt

Comment 5 idiot 2023-08-05 23:59:51 UTC
Created attachment 1981894 [details]
dmidecode

Apologies for the delay. I haven't yet tried your kernel build, but this system is not a laptop. ASUS X670-P and Ryzen 7 7700X.

Comment 6 idiot 2023-08-06 00:01:24 UTC
Created attachment 1981895 [details]
acpidump

Comment 7 idiot 2023-08-06 00:15:54 UTC
My keyboard is working when running that test build.

Comment 8 savvadesogle 2023-08-06 06:12:24 UTC
(In reply to Hans de Goede from comment #4)


Thank you! Its working on Redmibook 15 Pro (2022), AMD 6800H, Fedora 38.

Comment 9 Hans de Goede 2023-08-06 15:18:29 UTC
Thank you for testing.

I have submitted a revert of a9c4a912b7dc ("ACPI: resource: Remove "Zen" specific match and quirks") upstream now, because I believe that that is the best way to fix the regressions caused by this (until we figure out a better way to deal with the kbd interrupt trigger-type issues):

https://lore.kernel.org/linux-acpi/20230806151453.10690-1-hdegoede@redhat.com/

Comment 10 Fedora Update System 2023-08-08 22:55:01 UTC
FEDORA-2023-638681260a has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-638681260a

Comment 11 Fedora Update System 2023-08-08 22:55:19 UTC
FEDORA-2023-ddfd3073b3 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ddfd3073b3

Comment 12 Fedora Update System 2023-08-09 02:01:05 UTC
FEDORA-2023-ddfd3073b3 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-ddfd3073b3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-ddfd3073b3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2023-08-09 02:34:16 UTC
FEDORA-2023-638681260a has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-638681260a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-638681260a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2023-08-10 00:41:47 UTC
FEDORA-2023-ddfd3073b3 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2023-08-10 00:42:41 UTC
FEDORA-2023-638681260a has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.