Keyboard not working

What have you tried:keyboard not working after kali linux installation

What is the error:Failed atkbd: can not deactivate …
Failed atkbd: can not enable
What device is this on:advan

installed to hardware?
In a VM?

not enough information

given atkbd driver I’m assuming its a VM have you tried setting keyboard type in VM manager software, choose ‘default’ or your local keyboard type.