Keyboard not working on laptop AMD ASUS TUF

Hello,

I just bought a laptop Asus TUF A15 FA507NU. The laptop specs are AMD Ryzen 7735HS, 8GB DDR5-4800, RTX4050, Micron 512GB. I install Tumbleweed in dual-boot with windows 11. But my keyboard is not recognized. It is a backlight led keyboard, the keyboard is working on grub, but after not working at all once the system boot. I try tty3, it is not working also. The touchpad is working, and if I plug a wireless keyboard to the laptop, the wireless keyboard is working fine.

I searched for a solution here, as it is happening on OpenSuse only. I think it was the IRQ issue they mention here: Linux 6.0 Fixes Broken Keyboards On Ryzen 6000 Laptops, Power Management Additions - Phoronix but I am confused, they say kernel 6.0 will fix the issue but Tumbleweed comes with kernel 6.2.

Does anyone get the same problem and mange to fix it? I cannot find a way to fix it, and I would prefer to keep Tumbleweed as my windows alternative instead of switching to another OS. Thanks

More details about the keyboard would be helpful to start with…

sudo dmesg | egrep "input|i8042|i2c"

This will report all input devices, so a bit of analysis needed to isolate details pertinent to the device in question.

For a more complete picture, also run

inxi -SMa

and report back.

I am sorry guys I am tired. My informations are incorrect. My keyboard worked with Debian OS but it was in virtualbox, that’s why. I tried to install Endeavour OS from live USB, and I get the same issue, no keyboard. I am gonna download and try with a Ubuntu to see if the issue is still there, but it is not exclusive to OpenSuse, I made a wrong statement earlier.

I am not surprised to read this. However, see the advice in my previous post.

Thanks for your reply.

[    0.589963] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[    0.589965] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[    0.592456] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.499406] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[    1.499616] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2
[    1.499774] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input3
[    1.642479] input: ITE5570:00 048D:8051 as /devices/platform/AMDI0010:00/i2c-0/i2c-ITE5570:00/0018:048D:8051.0001/input/input4
[    1.642581] hid-generic 0018:048D:8051.0001: input,hidraw0: I2C HID v1.00 Device [ITE5570:00 048D:8051] on i2c-ITE5570:00
[    1.643896] input: ASUP1205:00 093A:2008 Mouse as /devices/platform/AMDI0010:01/i2c-1/i2c-ASUP1205:00/0018:093A:2008.0002/input/input5
[    1.643932] input: ASUP1205:00 093A:2008 Touchpad as /devices/platform/AMDI0010:01/i2c-1/i2c-ASUP1205:00/0018:093A:2008.0002/input/input6
[    1.643963] hid-generic 0018:093A:2008.0002: input,hidraw1: I2C HID v1.00 Mouse [ASUP1205:00 093A:2008] on i2c-ASUP1205:00
[    1.646506] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:06/LNXVIDEO:00/input/input7
[    1.724815] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:22/LNXVIDEO:01/input/input8
[    1.801135] input: ASUP1205:00 093A:2008 Mouse as /devices/platform/AMDI0010:01/i2c-1/i2c-ASUP1205:00/0018:093A:2008.0002/input/input9
[    1.801225] input: ASUP1205:00 093A:2008 Touchpad as /devices/platform/AMDI0010:01/i2c-1/i2c-ASUP1205:00/0018:093A:2008.0002/input/input10
[    1.801277] hid-multitouch 0018:093A:2008.0002: input,hidraw1: I2C HID v1.00 Mouse [ASUP1205:00 093A:2008] on i2c-ASUP1205:00
[    3.035830] input: Microsoft Microsoft® Nano Transceiver v2.0 as /devices/pci0000:00/0000:00:08.1/0000:35:00.4/usb4/4-2/4-2:1.0/0003:045E:0800.0003/input/input11
[    3.093101] hid-generic 0003:045E:0800.0003: input,hidraw2: USB HID v1.11 Keyboard [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:35:00.4-2/input0
[    3.105766] input: Microsoft Microsoft® Nano Transceiver v2.0 Mouse as /devices/pci0000:00/0000:00:08.1/0000:35:00.4/usb4/4-2/4-2:1.1/0003:045E:0800.0004/input/input12
[    3.105987] input: Microsoft Microsoft® Nano Transceiver v2.0 Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:35:00.4/usb4/4-2/4-2:1.1/0003:045E:0800.0004/input/input13
[    3.106184] hid-generic 0003:045E:0800.0004: input,hidraw3: USB HID v1.11 Mouse [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:35:00.4-2/input1
[    3.115045] input: Microsoft Microsoft® Nano Transceiver v2.0 Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:35:00.4/usb4/4-2/4-2:1.2/0003:045E:0800.0005/input/input14
[    3.172813] input: Microsoft Microsoft® Nano Transceiver v2.0 System Control as /devices/pci0000:00/0000:00:08.1/0000:35:00.4/usb4/4-2/4-2:1.2/0003:045E:0800.0005/input/input16
[    3.173265] hid-generic 0003:045E:0800.0005: input,hiddev96,hidraw4: USB HID v1.11 Device [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:35:00.4-2/input2
[    5.263054] input: PC Speaker as /devices/platform/pcspkr/input/input17
[    5.475111] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input18
[    5.500939] input: USB2.0 HD UVC WebCam: USB2.0 HD as /devices/pci0000:00/0000:00:08.1/0000:35:00.3/usb2/2-4/2-4:1.0/input/input19
[    5.533455] snd_hda_codec_realtek hdaudioC2D0:    inputs:
[    5.535907] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:35:00.1/sound/card1/input20
[    5.536051] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input21
[    5.536091] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input22
[    5.601954] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:35:00.6/sound/card2/input23

The Microsoft lines are referring to the USB keyboard with embedded touchpad I am using until the issue is fixed.

System:
  Host: localhost.localdomain Kernel: 6.2.10-1-default arch: x86_64 bits: 64
    compiler: gcc v: 13.0.1 parameters: BOOT_IMAGE=/boot/vmlinuz-6.2.10-1-default
    root=UUID=94b7e85b-9461-452e-ab70-fbc357653e65 splash=silent
    mitigations=auto quiet security=apparmor
  Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 7 dm: SDDM
    Distro: openSUSE Tumbleweed 20230416
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA507NU_FA507NU
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: FA507NU v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: FA507NU.304 date: 02/18/2023

[ 0.589963] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1 [ 0.589965] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp [ 0.592456] serio: i8042 KBD port at 0x60,0x64 irq 1
You could try booting with the suggested kernel boot parameter…

I added i8042.nopnp to the boot into grub, then update grub, but still the same. The keyboard doesn’t work. Do you have any other idea?

Check to see if the UEFI BIOS can be upgraded. That can be the cause of such issues. However, I note that the version is recent (based on the date in the inxi output). It may be that a bug report is required to fix this issue.

FWIW, I found a bug report concerning a different ASUS model with a keyboard issue. However, in that case it was an initialisation timing issue causing the i8042 module not to be loaded reliably at boot. Your dmesg output did not show any error associated with this problem, but you might want to check it the i8042 module is loaded as expected.

Here’s the bug report in question
https://bugzilla.suse.com/show_bug.cgi?id=1190256

Yours may be a different issue and require a new bug report.

Thank you for investigating my case, I really appreciate.

I came back and boot a Xubuntu on live usb and the keyboard is working. I will report the bug tomorrow so.

Thank you

It would be good to know what the Xubuntu kernel version was.

Yes, here are the Xubuntu details:

  Host: xubuntu Kernel: 5.19.0-21-generic arch: x86_64 bits: 64 compiler: N/A
    parameters: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed
    maybe-ubiquity quiet splash ---
  Desktop: Xfce v: 4.17.0 tk: Gtk v: 3.24.34 info: xfce4-panel wm: xfwm
    v: 4.16.1 vt: 7 dm: LightDM v: 1.30.0 Distro: Ubuntu 22.10 (Kinetic Kudu)

I am currently downloading the Xubuntu 23.04 shipped with kernel 6.2 to see if my keyboard working on it or not. I will update my post once done.

So I try with the beta version of Xubuntu 23.04 with 6.2 kernel, and the keyboard is not working also.

Host: xubuntu Kernel: 6.2.0-18-generic arch: x86_64 bits: 64 compiler: N/A
    parameters: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed
    maybe-ubiquity quiet splash ---
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.30.0 Distro: Ubuntu 23.04 (Lunar Lobster)

I will submit the bug tomorrow or this week-end.

1 Like

Hi, I am using the same laptop with the 16GB RAM version. The internal keyboard is also not working with Arch Linux kernel 6.3.3 (yes, I am not using OpenSUSE, but I think the solution can be applied to most distro)

I downloaded the arch linux kernel source from https://github.com/archlinux/linux , then edit drivers/acpi/resource.c

I added the following lines

	{
		.ident = "Asus TUF Gaming A15 FA507NU",
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
			DMI_MATCH(DMI_BOARD_NAME, "FA507NU"),
		},
	},

Then commented out the following lines

#ifdef CONFIG_X86
	/*
	 * IRQ override isn't needed on modern AMD Zen systems and
	 * this override breaks active low IRQs on AMD Ryzen 6000 and
	 * newer systems. Skip it.
	 */
	if (boot_cpu_has(X86_FEATURE_ZEN))
		return false;
#endif

Then compiled the kernel and the internal keyboard is working.