what do you mean with 'KVM'?
i am always encounters the same problem with my pc
the method i use is to press num lock key constantly until the LED is turned on !
at this time the keyboard is working
....may be not success at first boot time ,you have to restart the pc using it's restart key then try again
i think that USB Legacy is enabled by default manufacturer settings