Some keyboard keys not working in Ubuntu 16.04LTS and none working on Windows. But working fine in BIOS

Solution 1:

Check your keyboard by booting into the BIOS. If it works there, then your hardware is OK.

Then run

sudo dpkg-reconfigure keyboard-configuration

in the terminal and choose the appropriate keybord. Asus should be in the list.