How many port adapters, and which ones can be stacked up and actually work?

44

6

Someone posted this pic on twitter today:

lol

That won't work, right?

Why, exactly? And, specifically, at which point the stack of adapters stops working?

Wes

Posted 2016-09-08T09:25:32.243

Reputation: 654

5This one is really old. Another old example is a micro-sd on a mini-sd adapter on an sd adapter on a CF adapter on a PCMCIA adapter. – Ismael Miguel – 2016-09-08T14:29:38.010

9@IsmaelMiguel, except that in your example the chain of adapters might actually work, while in the OPs case there is not even remote possibility for any functionality. – Ale..chenski – 2016-09-08T17:05:20.037

6The irony is the unused USB ports next to the NIC jack. And no mouse or keyboard? Perhaps they are plugged in to the front panel USB ports? :D – Tim – 2016-09-08T18:26:54.950

@AliChen The example I gave actually works if you split in multiple parts. A mini-sd on a micro-sd on an SD card actually works. And an SD card on a CF card works. And a CF card on PCMCIA works as well. – Ismael Miguel – 2016-09-08T19:12:52.433

9The chain "microSD > miniSD > SD" is entirely mechanical and will definitely work. "SD > CF" requires a translation layer but that will work. "CF > PCMCIA" is little more than a media reader card. – bwDraco – 2016-09-08T21:54:22.203

4

It appears that this is a 6-years-old teaser, see http://www.geek.com/chips/a-parallel-port-to-usb-conversion-you-wont-believe-1276689/

– Ale..chenski – 2016-09-08T22:41:23.530

1@IsmaelMiguel: AliChen is saying it can work, he didn't say it can't. What he says can't work is the picture in the OP above because obviously a keyboard/mouse adaptor does not know anything about block devices (USB thumb drive) – slebetman – 2016-09-09T04:51:27.573

In this case it stops working at the very first adapter. – user253751 – 2016-09-09T06:07:39.467

@slebetman I know. I was just refering to the "in your example the chain of adapters might actually work". The idea was to give an example of adapter chaining that is likely to work. – Ismael Miguel – 2016-09-09T08:21:01.860

2My testing went wrong when I tried to find a parallel port on the back of my PC. – Jodrell – 2016-09-09T09:34:05.147

1@bwDraco actually there's a subset of CF that's directly compatible with a subset of PCMCIA with, again, just a physical adapter and no logic :) – hobbs – 2016-09-10T05:15:04.913

Answers

75

None of them will do anything you expect. At all.

The green one is a USB to PS/2 converter, it is a wire converter rather than signal converter. It will only work if the device you plug into it can detect how it is connected and speak both languages. Your USB stick will not do that, a USB mouse might.

The next is a PS/2 mouse to serial converter, again the PS/2 device needs to understand both connections. A USB stick cannot talk through this.

Next is a 9-to-25 pin serial adaptor, nothing special, just more unconnected wires. No talking from USB.

Next is a 25 pin gender changer, allowing the 25-pin female serial converter to plug into a 25-pin female parallel port. Neither the parallel port nor USB device will understand the meaning of whatever wires are wiggling at them, if any of them are at all.

If I get bored later I might try to chase the theoretical pinouts, but it seems a bit pointless in all honesty.

It is a useless mash of connectors that will achieve nothing.

Mokubai

Posted 2016-09-08T09:25:32.243

Reputation: 64 434

Comments are not for extended discussion; this conversation has been moved to chat.

– Mokubai – 2016-09-10T06:18:34.387

So the question to ask is whether there are any USB mice that can speak serialised PS/2... – curiousdannii – 2016-09-10T11:39:54.400

3@Mokubai I assume by "PS/2 mouse to serial converter" you actually meant "PS/2 mouse to RS232 COM converter"; I know that RS232 COM ports are called "serial ports", and that "serial port" used in PC context usually means COM/RS232 - but in all honesty, that name is extremely misleading by itself, since both PS/2, USB, RS232, SATA, SAS etc. are all serial ports; curiousdannii above spoken of "serialised PS/2", and that made me realize that the distinction is not as obvious for some people. I've taken the liberty to propose an edit for that. – None – 2016-09-10T14:07:36.177

The is all correct for computers made in the last 20 years or so. But originally DB-25 connectors were used for serial ports, and only for that.(Parallel ports used connectors originally designed for Centronics printers.) Serial devices rarely used more than a few pins, hence the switch to DB-9. Of course, this mash still wouldn't work on a serial DB-25 port, but the failure is slightly less total. – Isaac Rabinovitch – 2016-09-14T00:24:35.237

@IsaacRabinovitch The color (magenta) around the port indicates that it is a parallel port. – Moshe Katz – 2016-09-14T17:55:34.937

@MosheKatz Uh, where exactly did I say it wasn't a parallel port? – Isaac Rabinovitch – 2016-09-14T18:22:06.720

@IsaacRabinovitch I didn't say that you said it isn't. All I did was point out how you can tell that it isn't, for any future visitor who reads your statement and wants to know how to tell. – Moshe Katz – 2016-09-14T18:23:39.420

23

To answer the "at what point does it stop working" part, it depends what is being converted.

I personally have an old AT keyboard, into a AT/PS2 converter, which connects to a PS2/USB converter and connects into a USB KVM. That's two adapters in a row, or three if you count the KVM.

Any number of extenders or joiners would work, up to the point where losses across joints or total cable length is excessive. So 100 1 metre ethernet cables and 99 RJ45 joiners might work, but that's not an adapter and is against the spirit of your question.

Criggie

Posted 2016-09-08T09:25:32.243

Reputation: 985

15+1 for noticing that the question used the pic only as an example, and that OP would benefit from a more generic answer here. – None – 2016-09-08T21:37:33.220

3Note that the PS2/USB converter and the KVM are both active converters. The question only uses passive adapters. – user2943160 – 2016-09-10T17:31:26.533

8

I believe the picture shows a general RS-232 full-size DB25 COM port, and not a parallel port. Technically the stack-up should work with a special USB/PS/2 compatible mouse, which operates in LS USB mode (1.5Mbit/s).

However, the picture shows a USB stick, which can operate only at FS rates (12Mbits/s) and above. This "setup" will not work because the setup can operate only at 1.5Mbit/s USB 1.0 rate, while the FS USB device needs serious processing of data signals at 12 Mbit/s, and needs a carefully scheduled special service from PC host, which cannot be provided by COM port.

So the simple answer is: the COM port PS/2 to USB converter cannot provide the necessary communication speed nor proper USB protocol for a FS/HS memory stick. Specifically it "stops working" between the stick and green USB-PS/2 adapter.

ADDENDUM1: one fundamental evidence that this setup is a joke is that neither EPP or COM ports have any 5V power, which is necessary to power the USB stick.

ADDENDUM2: yes, this is the PC parallel port, per description of DELL 2550 sever, and thanks to "plugwash". The PP is worse, since PP does not have any UART serdes conversion hardware, and bit-banging of the port from x86 PC is clearly out of range for 12Mbps receiver processing (which needs 20ns sampling/reading rate).

Ale..chenski

Posted 2016-09-08T09:25:32.243

Reputation: 9 749

I thought the 25-pin serial ports were only used on DCE (i.e. modems). – user253751 – 2016-09-09T06:09:08.390

1Several things strongly indicate that it's a paralell port. First the presense in the stack of what is presumablly a gender changer (serial and parallel ports on PCs use the opposite gender). Secondly the color of the panel surrounding the port matches the PC97 color for parallel ports. Thirdly that computer looks relatively modern to me and I haven't seen a computer with a 25 pin serial port in many years. – plugwash – 2016-09-09T09:48:26.733

Also the serial to PS2 mouse adaptors were just wiring adaptors, they required the mouse to support serial port operation. I've heard of dual-mode serial/ps2 mice and dual mode ps2/usb mouse but i've never heard of a tri-mode mouse. – plugwash – 2016-09-09T09:50:00.260

@plugwash, doing customer support for many years, I know that questions are frequently coming in a twisted form, filtered by asker with many assumptions. So I first suspected that OP did have some USB mouse actually working, and was confused when a USB pen drive would fail to show any signs of life, assuming USB=USB. So, given a benefit of doubt, I formulated my answer that way. It turns out that the entire issue is a 6-years-old teaser with fake supporting evidence. The key point here could be that LPT nor COM ports have no power, while the PS/2 port does have a dedicated power pin. – Ale..chenski – 2016-09-09T20:32:01.140

2What is the limiting factor that keeps you from bitbanging at those rates? Is it just intentionally-bad hardware? I would expect modern boards to have a memory-mapped version of the legacy io ports and there's no fundamental reason they couldn't support 50M accesses per second. – R.. GitHub STOP HELPING ICE – 2016-09-10T02:39:59.940

2

In modern x86 PCs, the PP port is integrated into so-called "Super-IO chip", see https://en.wikipedia.org/wiki/Low_Pin_Count . The LPC bus is 4-bit-wide serialized interface running at 33MHz, with serialized sync, address, and other packet fields and handshakes. Therefore the latency and huge overhead for bit-banging.

– Ale..chenski – 2016-09-10T02:51:04.707

1

just to fill out some of the gaps in our answers here, since I cannot comment, I'll add in some information here.

The port that this Rube Goldberg adapter is connected to is definitely an IEEE-1284 Parallel Port - as indicated by the Burgundy coloration surrounding the 25 pin port, which fits both PC99 and PC 2001 PC System Design Guide specifications:

http://tech-insider.org/windows/research/acrobat/001102/00about-2001.pdf

Next in the chain, is a 25 Pin Male to Female Gender Changer. While these are typically straight thru connections, application is limited when it comes to Parallel applications - typically, these were used for Serial or SCSI cables.

Further down the chain, is a 25 Pin to 9 Pin RS-232 Serial Adapter - which have a totally different pinout and any electrical signal from this will not be understood by the Parallel port.

In Theory one could write a program - assuming that one could trace all of the electrical connections, make sure the proper voltage was able to be routed (most likely by crossing some of the connections in the 25 pin M/F Parallel Gender Changer) and writing a program to reinterpret the signals the Parallel control chip was receiving/transmitting - to make it work, but since USB is so ubiquitous unless there was a very specific need for this to happen it would be a titanic waste of time and resources.

PhasedOut

Posted 2016-09-08T09:25:32.243

Reputation: 137

5I find it very doubtful that a paralell port would be fast enough to bitbang USB, so I strongly expect that to make this work would require you to hide active electronics in the gender changer enclosure. Power may also be a problem, the PC paralell port doesn't have any power pins, so you would be relying on data/handshake lines for power. – plugwash – 2016-09-09T09:56:31.500

You are right, I recall a device that was a LPT port Memory Buffer that relied on a 9v battery, added a 256k memory buffer for your dot-matrix printer - I searched, but could not find a record of this device on the internet.Poking around however, I found a patent for a device that would adapt a "handheld scanner" to work via LPT port. ( http://www.google.com/patents/US5490283 ) and it would require external power to the adapter, its a very technical read and reminiscent of the age where making stuff work was harder! Gllad you mentioned active electronics - good ps2/usb adapters have them.

– PhasedOut – 2016-09-09T12:33:07.037

1

In the depicted chain of adapters there is exactly one pair of adapters which can be expected to work together. That is the grey PS/2 to DB9 converter and the black DB9 to DB25 converter.

The grey adapter was most likely included as accessory with a mouse from the 90s. By using that mouse together with the grey and black adapters you can connect the mouse to a 25 pin serial port which were common in the 80s and early 90s. And that combination would work.

The depicted computer appears to have a 9 pin serial port rather than a 25 pin port, so the black adapter is useless with this computer. The grey adapter could be plugged directly into the computer.

The white gender change adapter is unlikely to be useful in the depicted context. It connects a serial device to a parallel port. Some of the pins in the parallel port on the computer can be programmed as GPIO, and if by pure luck all the relevant pins in the serial port are connected to GPIO pins on the computer, then in theory you can program the serial protocol in software rather than relying on a UART. But if the devices you connect in this way aren't compatible in terms of voltage and current there is a risk of damaging some of the equipment.

The green adapter is intended to connect a USB mouse or keyboard to a PS/2 connector on the computer. As far as I recall such adapters were invented in the late 90s and they only work if the mouse or keyboard used is built with the necessary backwards compatibility. I would not be surprised if circuitry designed at that point for USB mice and keyboards is still in use today since there has been little reason to update it.

In theory there could exist a USB mouse with backward compatibility all the way back to serial communication, in which case the green, grey, and black adapters could all work together. Though I don't think such a mouse exists since at the point where the USB interface with PS/2 backwards compatibility was designed it probably felt like a good time to ditch the serial port backwards compatibility.

I have only tested a single Logitech USB mouse for backward compatibility with serial, and that mouse didn't work on a serial port. It only supported USB and PS/2. Others may have more empirical evidence suggesting how likely it is for a random USB mouse to support serial ports.

kasperd

Posted 2016-09-08T09:25:32.243

Reputation: 2 691