Author Topic: Looking to connect a usb mouse to an old AT.  (Read 1246 times)

0 Members and 1 Guest are viewing this topic.

Offline avitsurTopic starter

  • Contributor
  • Posts: 37
  • Country: il
Looking to connect a usb mouse to an old AT.
« on: June 12, 2025, 06:26:02 am »
I have an old pc based on a TM-486SPS board. I want to run it. in order to do so, I have to connect a keyboard and a mouse. the keyboard issue is simpler because there are adapters that enable  to connect a usb keyboard to it. bigger problem is the need to connect a mouse to it's 9 pin d type com port. I would like to ask if it's possible to make an adapter (I wasn't able to find one) that consists of a 9 pin female d type connector to a female usb connector - of course the wiring diagram of it, if it's possible at all, the compatibility of a usb mouse to the com port.
 

Offline Kean

  • Supporter
  • ****
  • Posts: 3201
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Looking to connect a usb mouse to an old AT.
« Reply #1 on: June 12, 2025, 08:41:39 am »
While you can get converters between PS2 and a USB mouse (and vice-versa), I don't think I've ever seen anything to adapt a USB mouse to a serial mouse.  I can't imagine there would be much demand.

There is some discussion on another site with a PCB design for conversion using a Raspberry Pi.
https://www.vogons.org/viewtopic.php?t=76976

A whole Linux computer (even if only using a tiny RPi Zero) seems like overkill.  But the discussion links to some other potential solutions.

If you search eBay or similar, I am sure you could find a second hand mouse with serial connector.
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 5728
  • Country: nl
Re: Looking to connect a usb mouse to an old AT.
« Reply #2 on: June 12, 2025, 09:26:15 am »
A whole Linux computer (even if only using a tiny RPi Zero) seems like overkill.  But the discussion links to some other potential solutions.

The problem is that you need USB host capability to do this. On a Raspberry PI running Linux this is easily available and only the translation of the mouse information to serial has to be done.

Finding a microcontroller with USB host or OTG capability is not to difficult, but making a USB host driver is a bit more complex than a USB device driver.

Offline Kean

  • Supporter
  • ****
  • Posts: 3201
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Looking to connect a usb mouse to an old AT.
« Reply #3 on: June 12, 2025, 10:15:12 am »
The problem is that you need USB host capability to do this.

Well, no.  If some (many?*) USB mice can be made to talk PS/2 protocol via a passive adapter, then you just need a micro that talks PS/2 protocol and serial.
One of the links on the forum I linked above goes to a article with just this solution (you also require the above mentioned adapter)

https://hackaday.io/project/27575-ps2-to-rs232-mouse-converter

https://en.wikipedia.org/wiki/PS/2_port#Conversion_between_PS.2F2_and_USB

* apparently some fancier new USB mice no longer include PS/2 backwards compatibility, but I don't really think you will benefit from a fancy mouse used with a PC serial mouse port.
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 5728
  • Country: nl
Re: Looking to connect a usb mouse to an old AT.
« Reply #4 on: June 12, 2025, 12:36:37 pm »
The problem is that you need USB host capability to do this.

Well, no.  If some (many?*) USB mice can be made to talk PS/2 protocol via a passive adapter, then you just need a micro that talks PS/2 protocol and serial.
One of the links on the forum I linked above goes to a article with just this solution (you also require the above mentioned adapter)

https://hackaday.io/project/27575-ps2-to-rs232-mouse-converter

https://en.wikipedia.org/wiki/PS/2_port#Conversion_between_PS.2F2_and_USB

* apparently some fancier new USB mice no longer include PS/2 backwards compatibility, but I don't really think you will benefit from a fancy mouse used with a PC serial mouse port.

That is true, but, like you indicated, you need a mouse that still has that ability. I know from way back that it was possible to just use a passive adapter to convert from USB to PS2, which I believe also worked for keyboards. But the mouse/keyboard has to be able to switch it's USB data lines to become PS2 lines. Not sure where they are, but I have plenty of these adapters, but probably also a couple of old mice that are PS2 to start with.

I doubt that a wireless mouse that works with an USB dongle still provides this functionality. Never tried it though, so who knows.

Online squadchannel

  • Super Contributor
  • ***
  • Posts: 1000
  • Country: jp
  • deepl translate user
Re: Looking to connect a usb mouse to an old AT.
« Reply #5 on: June 12, 2025, 01:51:22 pm »
mouse depends on what you want to do with that computer.
if it is a DOS machine, you will most likely not need a mouse.

Of course, a USB mouse cannot be connected directly to a serial port, nor can a modern wireless keyboard be used with a PS/2 port.

MOD:
I found an interesting adapter.
https://www.amazon.com/dp/B00HGI5JPA/
« Last Edit: June 12, 2025, 01:57:54 pm by squadchannel »
 

Offline Kean

  • Supporter
  • ****
  • Posts: 3201
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Looking to connect a usb mouse to an old AT.
« Reply #6 on: June 12, 2025, 02:05:53 pm »
There are tons of wired mice still available at low cost, and they very likely use the same silicon developed years ago that supports both USB & PS/2.   The tooling and other NRE costs are long paid for, andlots of people don't need a fancy mouse for checking Facebook and watching cat videos.  Although I guess that probably mostly happens on phones & tablet these days.

Definitely the 2.4GHz wireless mice USB dongles, and probably a lot of wired gamer or multi-button mice do not support PS/2 protocol - but as I wrote above the software that runs on hardware with a serial mouse port isn't going to be able to use those mouse features.

A used or NOS serial mouse is still quite possible to buy.  A quick eBay search will bring up many results, although some asking prices are silly.  As usual, it may take a little patience to find a good deal.  Trying the local thrift store/op shop/Goodwill/flea market might turn up a result.

My search results also included PS/2 to serial adapters - so some older PS/2 mice were clearly backwards compatible like the USB to PS/2 backwards compatibility.  I had forgotten those even existed.
 

Offline Kean

  • Supporter
  • ****
  • Posts: 3201
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Looking to connect a usb mouse to an old AT.
« Reply #7 on: June 12, 2025, 02:07:58 pm »
MOD:
I found an interesting adapter.
https://www.amazon.com/dp/B00HGI5JPA/

Yes, exactly the same item I just spotted in my eBay search for serial mouse.  I bet I still have some in a box here somewhere.
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 5728
  • Country: nl
Re: Looking to connect a usb mouse to an old AT.
« Reply #8 on: June 12, 2025, 05:36:49 pm »
MOD:
I found an interesting adapter.
https://www.amazon.com/dp/B00HGI5JPA/

Yes, exactly the same item I just spotted in my eBay search for serial mouse. I bet I still have some in a box here somewhere.

Yeah, this type of old stuff remains somewhere in a box for decades. I'm sure that when I start digging I will find some too.

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5261
  • Country: ro
  • .
Re: Looking to connect a usb mouse to an old AT.
« Reply #9 on: June 12, 2025, 05:57:21 pm »
If it's a USB mouse, the controller inside the mouse needs to support both USB and PS/2 ... usually the controller tries to communicate through USB and if it can't detect valid usb packets within some period of time, it assumes the protocol is PS/2 and falls back to that.

You should be able to easily get older optical mice at goodwill or some other places with such controllers, and worst case scenario you'd just have to replace switches inside to get partially working mice back to 100% operational state.


You can also buy new PS/2 mice from eBay, for example here's one for around 10-12$ plus shipping : https://www.ebay.com/itm/316041299670

--

I remember seeing some  ISA usb controllers on Youtube on some of the channels that show older hardware and older games, and some dos usb drivers were shown ... but I don't remember exactly what channel was, sorry... either way, not sure if it's worth buying such card.  A ps/2 controller card would be more common and use less resources.

 

Offline cunningfellow

  • Regular Contributor
  • *
  • Posts: 135
  • Country: au
Re: Looking to connect a usb mouse to an old AT.
« Reply #10 on: June 12, 2025, 09:37:39 pm »
 
The following users thanked this post: coromonadalix, Halcyon

Offline Halcyon

  • Global Moderator
  • *****
  • Posts: 6616
  • Country: au
Re: Looking to connect a usb mouse to an old AT.
« Reply #11 on: June 13, 2025, 03:47:14 am »
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 8003
  • Country: ca
Re: Looking to connect a usb mouse to an old AT.
« Reply #12 on: September 17, 2025, 05:49:13 pm »
i'm astonished to see such efforts made to extend the oldies life, compatibility,  peripherals, interfaces

kudos
 

Offline wraper

  • Supporter
  • ****
  • Posts: 18931
  • Country: lv
Re: Looking to connect a usb mouse to an old AT.
« Reply #13 on: September 17, 2025, 06:04:26 pm »
If it's a USB mouse, the controller inside the mouse needs to support both USB and PS/2
Yes, bottom of the barrel mouse based on specialized chip rather than MCU may still support PS/2 with a passive adapter. No chance for more expensive ones, especially those which have downloadable software.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf