Can any USB mouse or keyboard be connected to the PS/2 connector of a motherboard via USB-PS/2 adapter?

15

6

IS there a necessity for the mouse to know a different protocol or a different pinout to be able to be connected to a PS/2 port ?

Many vendors provide USB - PS/2 adapter, but some don't.

From what I know PS2 and USB interfaces even have a different number of pins. How would such an adapter work ?

Will the device have the same performance as before ?

Is it necessary for the USB device to 'know' it is connected to a PS/2 port ? I suppose it is necessary since USB to PS/2 adapters are just that : adapters. not converters. They do not do anything to the signal so probably the keyboard or mouse should know and adapt their signal accordingly.

And another question: Is there any latency added when connecting a USB keyboard or mouse to a PS/2 port using an adapter ? I suppose the adapter itself does not add latency since it only connects some pins to some others, but inside the mouse or keyboard something has to change. The mouse has to switch to PS/2 data serialization instead of USB. In theory PS/2 should be faster but I am thinking that if that particular device is made to work naitvely on USB it could have sort of internal signal converter which may generate some latency.

yoyo_fun

Posted 2016-11-27T10:52:05.803

Reputation: 1 443

Answers

9

These adapters are purely mechanical. There is no converter or whatever inside. So, yes, the mouse/keyboard needs to do PS/2 by itself.

Whether the controller IC inside the input device will perform worse with PS/2 will depend on how the protocol switch is made.

It is unlikely that PS/2 will perform noticably different than USB. From just looking at the connection specs, USB is vastly superior, both in speed and latency. Only USB host controller inefficiencies could lead to a worse overall experience.

PS/2 and USB share some properties that make an adapter feasible:

  • 5 V
  • Low current
  • 2 “data” wires (though one is clock on PS/2).
  • (two pins on PS/2 are unused)

Daniel B

Posted 2016-11-27T10:52:05.803

Reputation: 40 502

You write "yes, the mouse/keyboard needs to do PS/2 by itself." <-- Well, yes but can you link to any usb keyboards that don't? Every single usb keyboard I have tried has worked in ps2, so every single one i've tried has had that circuitry. – barlop – 2016-11-27T11:58:28.590

7actually PS/2 ports have a lower latency than USB due to the fact that they send the signals directly to the processor via interrupts signals which is WAY WAY more efficient than the way USB connects to the processor. A lot of people say that there is no difference which is bs if you are into gaming because 10 ms difference is huge there. If you check your emails it does not matter sure. The reason I asked this question is because I want to connect my peripherals to the PS/2 and I was curios about the internal circuits that make it possible to communicate to both USB and PS/2 – yoyo_fun – 2016-11-27T11:59:41.537

1@Daniel,u write "It is unlikely that PS/2 will perform noticably different than USB. From just looking at the connection specs, USB is vastly superior, both in speed and latency" <--- Looking back to when we had computers with both USB and Ps2, it was clear Ps2 was vastly superior, much faster, much more responsive.I remember slower responsiveness hitting num lock on and off.. it was available on ps2 right from the start after num lock scroll lock and pause/break had flashed which was straight away. With USB it took a while to get itself together, and even then possibly not as responsive. – barlop – 2016-11-27T12:02:43.773

@yoyo_fun yes I agree with you yoyo, that relates to my experience too. And btw yoyo I think you may well find that any USB keyboard you try will work in a ps2 socket.. If I recall it may even appear to be as responsive, but i'm not 100% sure. If I recall correctly, the lights on the keyboard(even of a usb in a ps2), flash up on when the computer boots up, (as with a pure ps2), and that's always a good sign.. I think you might find the num lock key would light up straight away if you pushed it. The adaptors are really cheap. They're very small. – barlop – 2016-11-27T12:04:15.220

@yoyo_fun btw there are ps2-usb adaptors i.e. going the other way, and they have a lot of circuitry in them and can be as big as half a fist.. But usb-ps2 adaptors are small and I always found them to be more available in electronics stores, than the other way. Though nowadays you'd have to get them online. – barlop – 2016-11-27T12:09:48.200

@yoyo_fun Yes yes. It might appear more efficient. However, USB supports much higher polling rates and has a much higher protocol speed. It is unlikely you’ll notice any difference whatsoever today. Posthumous glorification won’t change that. – Daniel B – 2016-11-27T12:15:35.530

1@DanielB Well it is not actually posthumous. Today, cheap motherboards may not all have ps/2 connectors the almost all expensive motherboards still have 2 separate ps/2 connectors. If USB would have been better at everything than PS/2 than it would have been widely used. However PS/2 still has some advantages and in some situations (gaming) it is better than USB. It also frees some processor clocks because in higher polling rates for USB the processor has to work harder. Also when more USB devices are connected that polling rate is splited among all devices unlike the PS/2 port. – yoyo_fun – 2016-11-27T12:20:27.317

2Sorry, come back with the "USB and PS/2 are equivalent" argument when USB keyboard interfaces start supporting n-key rollover. – Cody Gray – 2016-11-27T17:36:49.043

1@CodyGray They do. I have one such keyboard right here. – Daniel B – 2016-11-27T17:38:24.970

As far as I know, the only way they can do that is by abusing the USB standard and presenting themselves as multiple keyboards. Working within the limits of the spec, all you get is a maximum of 6-key rollover, with the potential for some extra modifier keys thrown in there, prompting some keyboard manufacturers to report 8-key or 10-key rollover. Still a far cry from what PS/2 can do without any trickery, trickery which often causes trouble with switch boxes and other such devices. – Cody Gray – 2016-11-27T17:42:45.640

Daniel, you said something that suggests that one would have to get a usb keyboard that supports ps2..(as if one has to be careful to). I've found that even the cheapest random ones on ebay do. I haven't run into one that doesn't. Can you link to any usb keyboard .that does not? – barlop – 2016-11-27T19:19:54.047

3@barlop I have at least three keyboards that didn't work with an adapter: MS Natural Keyboard 4000, Cooler Master Quickfire TK Stealth and some noname keyboard. And even if all keyboards were to support it, my statement would still be 100% true. – Daniel B – 2016-11-27T21:45:41.290

5

The USB HID standard supports NKRO. But it requires keyboards to boot with 6KRO for the sake of lazy BIOS programmers, and doesn't require them to implement NKRO. So lazy keyboard programmers take the path of least resistance. I think. https://en.wikipedia.org/wiki/USB_human_interface_device_class#Keyboards http://www.usb.org/developers/hidpage/HID1_11.pdf

– Matt Nordhoff – 2016-11-27T22:08:48.677

@DanielB you mentioned the Cooler Master Quickfire TK Stealth doesn't support PS2 but on their site, it's listed as a compatibility: https://www.coolermaster.com/us/en-us/catalog/peripheral/keyboards/quick-fire-stealth/#Specifications

– NessDan – 2019-07-29T19:04:59.383

That's another model generation. My model number is SGK-4021-GKCM1-DE. It did not come with an adapter and it doesn't work with one. – Daniel B – 2019-07-29T19:09:57.600

4

I can definitively answer the first part of the question,

"IS there a necessity for the mouse to know a different protocol or a different pinout to be able to be connected to a PS/2 port ?"

The answer is yes, a USB HID device (mice and keyboards) must understand the alternative PS/2 protocol in order to function in PS/2 port using USB-PS/2 adapter.

Not every USB mice or keyboard support the PS/2 mode. Presence of the green adapter in the OEM package warrants this compatibility, but the opposite is not true - some HID devices do support PS/2 mode even if the adapter is not included with the product, some don't, all depending on IC in use. For example, the Microsoft Notebook Optical Mouse P/N: X08-86056 does not work in PS/2 port.

Ale..chenski

Posted 2016-11-27T10:52:05.803

Reputation: 9 749