The touchpad seems to be working fine, except for the left or right key. When I click on them, the shutdown/reboot/sleep etc menu pops up and on clicking any key from the keyboard, the laptop simply shuts down. If I connect any external USB mouse or keyboard, it works perfectly fine.
Any idea how I can install the onboard keyboard correctly? There's another question on the thread facing the same issue but the answer doesn't point out how exactly to solve the issue.