Changing USB ports don't make your keyboard be recognised?
Is the BIOS battery Ok in terms of voltage? (They were release in 2012, 4 years from now, it's not normal but the battery could had depleted. But I also had a PC that even changing the battery he lost the definitions from BIOS, so it were almost a Dead Motherboard).
That CPU Fan Error is something that it's strange by itself.
The date and time doesn't reset if you turn on the pc, change it, turn off and disconnect from energy, wait 5 min and connect again, right?
You flashed the BIOS using the USB BIOS Flashback option right?