ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

PS/2 vs USB Keyboards

Updated on October 3, 2014

Connecting Your Keyboard: USB or PS/2 Port?

Let's say you bought a fancy new keyboard for your computer and are wondering whether it's better to connect it via USB or PS/2. You'd think that the answer was simple: the USB standard is modern and constantly improved, while PS/2 is a legacy port, so surely you should use the former? There might be some truth in that, but it turns out that if your keyboard has a PS/2 connector, there's no reason not to use it. The page below will explain some of the biggest benefits of using this older connection as opposed to USB ones, as well as the other way around.

Top 3 Reasons Why PS/2 is Better Than USB

Here are some reasons why you should consider connecting your keyboard via PS/2 instead of USB:

  1. PS/2 is hardware interrupt-based, while USB port is polling-based. This means that when you press a key on a PS/2 keyboard, it generates a hardware interrupt immediately, whereas USB polls your keyboard many times per second (125 Hz by default, up to 1,000 Hz in "gaming" keyboards) to see if any keys are pressed. This means that PS/2 keyboards will have the lowest latency - although in all likelihood, you will never notice a difference. Perhaps more importantly, polling is more CPU-intensive, especially if high polling rate (like 1,000 Hz) is used.
  2. PS/2 supports so-called full n-key rollover. USB keyboards are generally limited to 6KRO (able to recognize up to six simultaneous keystrokes). Of course, it also depends on the keyboard: most cheap keyboards are just 2KRO, and it does not matter whether you connect such a peripheral via USB or PS/2 port: it will still register only 2 keys at once. Full NKRO is a feature usually found in gaming keyboards, as that's where this feature is in demand the most.
  3. PS/2 keyboards are more compatible with older hardware and software, which might be important for some users. To be perfectly fair though, turning on "Legacy USB" in BIOS means your modern keyboard will work in those cases as well, which almost makes this a moot point.

Are There Any Cases Where USB Connection Is Superior?

Universal Serial Bus is a much newer standard, after all

Now that we've established that a PS/2 keyboard has some real (if small) advantages over an USB one, are there cases where the latter is superior? Indeed, USB does have one important feature that its predecessor does not: it supports plug and play. This means that you can plug in or swap your input devices - such as mice and keyboards - while your computer is on, and they will be detected and according drivers will be installed automatically.

To be fair, while PS/2 is not designed for hot plugging, in many cases unplugging an old keyboard and plugging in a new one while the power is on will work just fine. However, this is not recommended, as there's a small possibility of frying your PS/2 port.

There's also the fact that PS/2 is probably going to be phased out eventually, and new motherboards will not have this connection onboard. However, it has not happened yet, even though PS/2 is more than 20 years old by now.

Finally, USB has some power-saving features, such as Selective Suspend - although, seeing how the power consumption of a keyboard is minuscule, it doesn't matter all that much.

USB versus PS/2 Keyboard Poll

How is your keyboard connected right now?

See results
Unlike with keyboards, USB is the optimal choice for a mouse.
Unlike with keyboards, USB is the optimal choice for a mouse.

What About Your Mouse?

The situation is actually the opposite in this case. The USB port offers higher bandwidth and sampling rate, so it is the best choice for a mouse. Gaming mice are usually set to use 500 Hz or 1,000 Hz polling rate out of the box, a large improvement over the 125 Hz of PS/2. This difference in update rates can actually be felt by many users, or seen in the "Paint test" (drawing circles in a MS Paint program and inspecting them for smoothness). The smoother and more accurate mouse movement will cost you increased processor usage, although it's completely unnoticeable in a modern system with a multi-core CPU.

Comments

    0 of 8192 characters used
    Post Comment

    • Andrew Gates profile image

      Andrew Gates 

      2 years ago

      Humm... wonder about Bluetooth.

      I use USB and I will admit being annoyed by it. I'm not gaming, but even with programming, this gets on the nerves.

      Too bad no one has the balls to come up with PS/3. It could be tiny and push power to the keyboard like USB can.

      That's how USB conquered the world, after all. It powers.

    • profile image

      JoshK47 

      5 years ago

      Good info!

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)