Mostly the PS/2 scanner is accompanied with a Y cable, when you remove original PS/2 keyboard from system and install PS/2 scanner instead. You have to connect PS/2 keyboard to the other PS/2 port on the Y cable.
If you use a USB keyboard but PS/2, please set the scanner to keyboard stand-alone mode as below.
1.
2.
3.