Sounds like USB controller is damaged. Install a PS/2 keyboard and mouse. If no PS/2 ports, install a USB adapter in a slot.