Welcome to Geekhack and congrats on the keyboard!
There is no simple fix if you don't know what the problem is...
If yours is a version has a XT/AT switch, make sure it is in AT mode before you plug it in/turn on your computer.
Remember that the interfaces with DIN plug do not hot-swap, but it should be safe to use a converter to USB and hot-swap the USB plug.
If that does not work, you would have to open it and look inside.