Plug your Razer product directly into your computer to isolate the problem.
KVM switches are known to cause interruptions in communication between devices and computers. If your Razer product works without the KVM switch in between, it indicates that it is operating correctly and the issue is due to the KVM switch.