In my case the keyboard on the laptop was working on GRUB/Recovery mode but not on normal run.
I compared the kernel modules on the both runs and also did insmod/rmmod to have the same list without any difference.
Then I went and compare kernel cmdline (/proc/cmdline) and update arguments one by one and found the one causing the issue!
In my case it was acpi=noirq parameter to kernel boot. Removed it and now both keyboard and touchpad are working properly.
In my case the keyboard on the laptop was working on GRUB/Recovery mode but not on normal run.
I compared the kernel modules on the both runs and also did insmod/rmmod to have the same list without any difference.
Then I went and compare kernel cmdline (/proc/cmdline) and update arguments one by one and found the one causing the issue!
In my case it was acpi=noirq parameter to kernel boot. Removed it and now both keyboard and touchpad are working properly.