Keyboard not working on laptop AMD ASUS TUF

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.