A note on the USB-to-PS/2 mouse adapter that came with Microsoft mouse devices
devblogs.microsoft.com
devblogs.microsoft.com
Needless to say it was a USB mouse and I only had ps/2. I purchased an adapter but it never worked despite spending a lot of time trying and testing it with different PCs and mice.
Then I took the adapter to an electronics repair shop. They opened it up and explained to me it was fake: it just connected the wires without any circuitry for the real USB support. They had no idea why anyone would manufacturer such a thing.
Well, now I know why. I spent quite a long time thinking I was sold a counterfeit adapter.
My memory suggests that Logitech mice at the time had a PS/2 connector "natively" on the cable that plugs into an adapter for USB. Surely they did the same, skip on any active controller in the adapter and do it all on the controller they already have - those adapters where everywhere, and included with every mouse for a long time, which surely would not have happened if they incurred any meaningful cost pressure.
Now did they use the same mapping? (assuming my memories are not completely wrong anyways) With one being USB-PS/2 and the other PS/2-USB, a test would be stacking both into a noop-adapter USB-USB or PS/2-PS/2 and see if it works.
Sorry I think I was wrong, had an edit open but failed to submit: I believe that I was thinking of keyboards that did the same (in particular of Cherry keyboards), not Logi mice. The same, and for longer I think, because PS/2 held out so much longer in its keyboard variant. At first because of unreliable (or missing?) USB implementation on BIOS level, then because of lingering distrust.
Where PS/2 continued to exist surprisingly long (perhaps still?): the internal connection from laptop mainboard to touchpad. Not the DIN connector, but the protocol. And as a consequence, the cheapest external touchpads (those riding the efficiency of scale of the much higher volume internal market) had been PS/2 for a surprisingly long time.
Is there something out there doing the same sort of trick as the mouse? I can't find any reference to one so as far as I can tell these things are entirely useless.
There's a photo of the inside of one which just shows glue and wires, which backs up parent poster's conspiracy theory thinking about companies just making nonsense cables:
https://m.media-amazon.com/images/I/618Us-meOFL.jpg
There are dozens of these things. All the positive reviews look fake, too.
I can't find any reference to any legitimate product ever that had some sort of passive USB/Firewire adapter.
One review points out that Firewire uses 12V power, and a few others get power warnings from their devices potentially indicating that the pins are just being shorted somewhere.
I had been given a old retired server from work to take home and learn with... only problem was it had no USB.
I was asking for a PS2 keyboard, he said they don't sell them but I could use any USB keyboard, I told him I don't have any USB ports and I needed a PS2 keyboard.
After awhile of him going back and forth with his manager, only to return to tell me i can use USB, It turned out he thought I was trying to buy a Play Station 2 keyboard and he'd never heard of PS/2!
Customer: Our computer won't boot. Come over and fix it.
Me: Please tell me what message you see on the screen which describes why the computer will not boot.
Customer: No, just come fix it.
Me: Okay, but we're charging for a service call even if I don't touch your computer.
Customer: Just fix it.
Me: (drive over, walk up to the office where the computer is at, pause at door and look in to read the screen across the room (younger me had much better vision) announce)
You have the mouse plugged into the keyboard port, and the keyboard plugged into the mouse port. Power the computer down and swap the connections and it will then boot.
Me: What do you see?
Them: <click> <click> <click> Nothing.
Me: What are you doing?
Them: <click><click><click> Nothing.
So I've been doing it in person or don't do it at all. Too many hours trying to visualize what in the world might be on the other person's screen.
The reason I'm moved to comment is two things: one is that my daughter in college had me help her file her taxes by starting with FaceTime on her MacBook, then sharing the screen so that I could see exactly what she was doing. She's not technically inclined and it wasn't something that I suggested, she figured out how to do it herself.
The other thing is that my mother-in-law is 90 and also not a techie. But I've been able to help her with 1 or 2 issues remotely because she's able to take a photo of the situation with her cell phone and text it to me.
Things have progressed to the point where hopefully your customer could have been convinced to send you a picture and saved you a trip.
Counterpoint to the above was the customer who selected OS/2 for their computer --- we installed it and delivered, but the next day they called asking for help with installing a printer --- despite my only OS/2 experience being doing the install the previous day, the UI was consistent enough that I was able to talk them through this on the phone w/o a reference system to use in parallel (we only ever sold the one OS/2 computer and never did get a second copy in).
I would have included an RS232 D-Sub serial connector but those are still used if not for mice.
Also, from a visual standpoint, it’s quite appealing the way it is: https://www.qwertee.com/shop/tees/i-m-this-old-468
[1] http://john.ccac.rwth-aachen.de:8000/alf/ps2_76/ps2_76_2_ful...
PS/2 and AT refer to the IBM computer models where the connectors were introduced, of course.
Our computer lab in college had these NEC/AT&T 386 desktops that had RJ-11 keyboard ports that didn’t work anywhere else.
I'm 33 and also grew up with computers that only had PS/2 ports! Granted, USB existed, but the PCs I had as a youngster were old PCs.
I'm quite sure I literally used the adapter mentioned in the submission, as one of the first mouses I bought myself was a Microsoft mouse that came with a PS/2<>USB adapter!
I think I have some old mice soemwhere that came with a ps2 to usb adapter. (I should go pull them out, I don't recall f they were PS/2 mice with ps/2 to usb adapters or USB mice with USB to ps/2 adapters)
They can disable USB support, but still have keyboards and mice.
Apparently around 2014 the vast majority of mouses and keyboards were dual-protocol, but in 2019 the first reports of them being USB-only started appearing. I suspect a lot of the cheapest mouse SoCs are still dual-protocol as they worked when first designed, and they just kept producing them without any changes.
Pinout and explanation of how they detect protocol here: https://retrocomputing.stackexchange.com/questions/28288/how...
The mouse connector is MSX, which are very difficult to find these days, so mine came with a DIY MSX->PS2 connector. Sadly the PS2 mouse it came with was on it's last legs, so I wanted to replace it with something more modern. All I could find at the time were MS mice that came with a USB-PS2 connector. When I plugged it in, it barely worked and I could never understand why.
I did finally manage to track down a NOS PS2 mouse and it worked perfectly again. Until this post, I never understood just WHY it didn't work, so thank you!
The S760 is a fantastic sampler. It's kinda like a JD990 but as a sampler and without the full synth engine complexity. Made famous by Daft Punk and a lot of others as the S760 digital multimode filter became one of their signature sounds.
https://github.com/keirf/FlashFloppy/wiki/Host-Platforms#rol...
And this may or may not be out of date, but may still be useful:
https://github.com/dekuNukem/USB4VC
There's also a more recent project called HIDman, but only for PCs.
I am looking forward to extending my sequence of adapters in the future.
Even on arm64!
I assume because serial mouse support ca. 1996 is baked deeply into the USB standard, so you can’t pass connect-a-thon/compliance tests without it?
The leaked Windows XP code contains a lot of ancient code, some apparently taken from MSDOS. They later removed some of that, but apparently not this part.
That's exactly it. When a serial port is initialized on Windows, it looks for data coming in, and if the right 'garbage' at the right time is picked up, Windows will then hook the mouse driver.
https://roborooter.com/post/serial-mice/ discusses the fairly simple protocol at hand.
This can lead into the unintentional effect of "plug in <serial-based device, like a GPS>, mouse suddenly goes wild". In my case... works as designed - serial mouse on USB-C dongle just works ;)
https://www.taltech.com/support/windows_2000_nt_serial_mice_...
Keep us updated about how long it gets. :D
A lot of mechanical gaming keyboards still support ps/2 though for the aforementioned interrupts.
I have little experience, but from debugging some early 3D printers on Linux, I've learned that the U in USB really stands for universal: that it'll just pass on serial stuff to/from the OS, drivers or software on the computer to handle.
Many devices with DisplayPort output support multimode, which allows the device to switch from outputting DP packets to outputting TMDS-based HDMI or DVI signals. You'll sometimes see a ++DP logo on these ports.
This is also why you don't see a cheap HDMI(source)-to-DisplayPort(sink) adapter, the smarts just aren't built into the source device.
I think it was not completely passive, but simple level conversion; DisplayPort is AC-coupled signal, HDMI is DC-coupled.
Wait, I don't think that's accurate. I've worked with HDMI/DVI and both are AC-coupled, that is, you put a 10 or 20 nF cap in series on the TMDS lines if you're driving directly from an FPGA's digital IO pins.
sure, but the part is called a level shifter. MAX9406 DisplayPort to DVI™/HDMI Level Shifter
To my surprise the internal keyboard is not even USB, but i8042. Not a hardware guy, but I had silently assumed everything is USB these days. I guess i8042 is the PS/2 protocol TFA is talking about?
(No error found, but after a reboot it has been working again.)
Surprising to me as a layperson in this field is that camera with 30 fps would allow entering a deeper state than a keyboards with a data rate orders of magnitude smaller.
Some devices have SPI interfaces for HID though
If the keyboard stopped working (completely), I'd suspect a bug or random glitch in the EC firmware.
echo 255 > /sys/devices/platform/i8042/serio1/serio2/sensitivityActually, magic always scares me. I was putting together an LTE internet gateway from a Mikrotik device flashed with OpenWRT and was confused about how the SIM card slot on the main board interacts with a mini PCIe LTE modem. I looked at the mini PCIe pinouts and discovered the modem is actually USB (mini PCIe has pins for this) and mini PCIe has pins that are wired to the SIM card. I later ran into an issue where the card wouldn't work, but if I tape over the USB3 pins, it would drop to USB2 (still enough bandwidth for LTE) and work.
As I recall you had the usb to ps/2 adapters for attatching legacy peripherals, but those usually came with two female ps/2 leads, a green one and a purple one, connecting to the one male usb-A.
https://en.m.wikipedia.org/wiki/PC_System_Design_Guide#Color...
My mouse is a Logitech MX-500, which is the last model I have with PS/2 support, the next model MX-510 was USB only.
The motherboard is an MSI B550 TOMAHAWK, the computer was assembled just a few months ago.
The mouse still works and it has proven to be more reliable than modern ones.
Also, and this is just a reflection of my experience, but I haven't had any issues with USB mice for a very long time. From my Logitech MX Master to very very very cheap (even free) optical ones.
There is no “bother” here. The mouse has a cable, the cable goes to the back of the tower with USB or PS/2.
And I have one more USB port to plug other stuff.
I couldn't get one anywhere locally, even at Fry's Electronics at the time before they closed (man that place was a ghost town towards the end). I don't know if the keyboard adapters were the same as the mouse adapters, but I do remember that some would work with some devices and not others.
https://en.wikipedia.org/wiki/PS/2_port#Conversion_between_P...
And the page it referenced:
https://www.nxp.com/docs/en/reference-manual/DRM014.pdf#page...
In Page.11, it show the algorithm to distinguish PS/2 and USB, based on USB D+ and PS/2 clock signal.
PS/2 is a flavor of line serial communication (0 and 5V): ground, power, clock, data.
"PS/2 mice send interrupts at a default rate of 100 Hz when they have data to send to the computer."
Which is how a 'dual mode controller' would drive it's IO pins in a way that work for USB or PS/2.
USB uses https://en.wikipedia.org/wiki/Differential_signalling , which Wikipedia's article explains have the advantages of greater signal to noise ratio and resistance to some common types of data-channel noise.
I don't happen to know what the _data_ voltage level of a USB link is offhand and skimming the article was insufficiently clear (Either of -5V and +5V, OR float is ~2.5V and one pulls up to Vcc the other down to Gnd make some sense.). The initial power pin level is also supposed to be ~5V.
--
Also, if you mean from a typical PC... A modern AMD system's block diagram shows most USB ports driven from CPU socket pins or from the primary board chipset directly (E.G. AMD's X870E or whatever). I would be almost amazed if those weren't in house / licensed ASIC blocks with ROM firmware.
3.3V <-> GND
This StackExchange thread has some good diagrams and useful answers:
https://electronics.stackexchange.com/questions/190592/why-d...
Lower speed links are suppsoed to pull the - data pin slightly negative and, effectively, a safely 'TTL high' (relative to 5V source) of greater than 2.8V. The power difference is 5V to better guard against too much loss over a long cable.
Higher speed links are quoted as using even lower voltages (the graph appears 0 and 0.4 v swapped as flipped).
Today, I believe but can’t find an affirmative document, that some motherboards have an option to hijack USB HID mouse & keyboards and present them to the OS as something other than USB.
b) servers for KVMs/crash carts/... that are still VGA + PS/2