Regarding the USB keyboard you need to get more information what is causing the problem.
Best start with wired keyboard and test in any available USB port.
Repeat with the wireless keyboard. Please keep in mind that for best transmission the keyboard should "see" the USB dongle.