I've tried these on a few different PCs ranging from older machines circa 1998 all the way up to more modern PCs from 2020.
To add to that, I tried several different keyboards and mice each with those computers.
I had zero luck getting these to work.
If it helps, I would like to say that I use newer keyboards and mice which may simply not be wired to go into a PS2 connector. I didn't use anything older than 10 years. Maybe you have an older USB keyboard or mouse that will work perfectly, I didn't.