The DisplayPort Pin 20 Problem
monitorinsider.com
monitorinsider.com
This means that you could have a dongle (say, a DP-to-VGA converter) that works when plugged into the source, but doesn't work when plugged into a cable and a gender-changer to effectively form an extension cable.
I'd argue, therefore, that extension cables (purpose-built with M-to-F connectors) should wire pin 20, and only M-M cables should omit it.
I'm using a MiniDP to DP cable and sometimes the external monitor just wouldn't get any signal after sleeping the laptop with the cable plugged in. Unplugging the cable or power cycling the monitor doesn't help at all. I have to completely restart the laptop to get a monitor signal again. I wonder if that's due to the pin 20 issue.
The funny thing is that I actually bought 4 different cables already and all of them have the same problem.
My screen will just shut off, and refuse to turn back on for minutes at a time. It will also randomly flicker once every 10-15 minutes (for like 3-4s, then back to normal). I've tried two different DP cables, and two different DP ports, but its the same issue, and the HDMI ports I have don't support 144hz 1440p =\.
Such a frustrating interface. Would love if someone could weigh in with advice.
Annoying for sure.
TL;DR: US$30
http://www.wsgf.org/forums/viewtopic.php?f=66&t=24405&sid=b7...
My new video card + 3 different (cheap) DP cables: PC endlessly power cycled every second.
Bought proper DP cables from Accell. Problem gone.
Never cheaping out on DP cables again.
https://hackaday.com/2011/12/06/reverse-voltage-protection-w...
This ends up using the body-diode that's present in all mosfets (it exists because you can't manufacture one without it) to get the initial protection, that then lets you turn on the mosfet fully, getting a much smaller voltage drop. You'd still need to be a bit cleverer to handle both sides but it shouldn't be too hard.
The reason why that thing works is the fact that the body diode puts the input voltage onto the source voltage (sans Vf) which establishes a nice and high Vgs (negative, but you get the point).
Let's assume you have a similar circuit on both sides. The bus voltage is 3.3V, because if it's not, then you don't have a bus. Somehow you need the gate voltage on one to be nearly equal to the bus voltage on one side, but on the other, near to ground. How are you going to do that? That circuit (and any trivial variation thereof) is not going to cut it.
Like, any sort of diode that connects the bus voltage to the gate on either side isn't going to work asymmetrically that pulls one low and one high, so it's not going to work. You need active monitoring of some sort.
I've been seeing a lot of hilariously bad comments regarding electronics that seem to think any of this shit is easy--it's not.
I'd also say that with an LDO, the LDO is providing the active monitoring since it'll need to monitor the output anyway in order to regulate properly. You'd definitely need a resistor following it, not as much to limit inrush or anything, but to prevent the two regulators from causing oscillations (one turns off because the voltage looks good, which causes the other to cycle too).
That's exactly what a "diode on the device side" does.
N Channel (more efficient than P channel) with integrated charge pump for the gate driver.
Just look at the amount of screw-ups over the resistors used in USB C cable variants, in particular the one used to indicate that the cable is an A to C converter.
Actually, I think there should be leeway - but only in one direction.
Specifically, I am thinking of the suggestion: "be conservative in what you send and liberal in what you receive".
If you apply the rule on machine to machine interfaces it eventually leads to all applications having to be bug-for-bug compatible with the most popular implementation. (Internet explorer 6 usually being the prime example of this)
https://www.amazon.com/Noyafa-NF-633-DisplayPort-Testing-Con...
http://www.noyafa.com/show/364.html
"There's a separate led to test if display port power (pin 20) is connected"
Pinout for DP: https://en.wikipedia.org/wiki/File:DisplayPort_Connector.svg
Mini-DP (female, reverse in cable): https://en.wikipedia.org/wiki/File:Mini_DisplayPort_(connect...
I thought it was just a combination of low-end MBP (cheapest 13" available) and crappy 4K monitor (Sceptre U274K). Are you saying that there is an actual problem with macOS High Sierra that is causing my lag? I've already changed DP cables and that didn't help at all. :(
I simply destroyed the pin and isolated it with some paper...
Damn it, spec designers, stop screwing this up. In DP’s case, it sounds like it would have been straightforward to require ports to put a diode on pin 20. (Heck, any reasonable implemention should be protected against short circuits and overcurrent. Protecting against backfeeding seems like it should add negligible expense on top.
Why throw it away if I can happen to get a DP-powered device in future? And why has the FAQ article been removed?
Maybe they should've designed display port to have different connecrors for source and sink, but I must imagine they had compelling reasons to not do that.
Then, when a device needs to draw power, they connect pin 21 as the source and leave 20 notconnected. If both devices supply power, then both power circuits are open.
This still isn't ideal, as extension cables would need to be non-crossover and you would have a problem if you ever tried using an extension cable in place of a normal cable.
I don't think that's really a big problem:
1. If your device has a female port (most devices), supply power on pin 20, source power on pin 21
2. If your device has a male port ('dongle' type devices), supply power on pin 21, source power on pin 20.
3. M-F (extension) cables are non-crossover
4. M-M and F-F cables/adapters are crossover
With that configuration I don't think there's any way to plug something in incorrectly or accidentally use the wrong cable. You can't use an extension cable in place of a normal cable without using a M-F adapter, which would do the crossover for you. It gets a bit fuzzier when involving converters to other port types, but I think it's actually less complicated then the current model in that case. As long as you just supply or source power on the right pins for the DP port type you have (male or female), then there is nothing else to worry about when creating a converter.
At the very least, I can't imagine it would be any worse then the current situation. With the current setup extension cables should have pin-20 connected (Though it sounds like they might not), but M-M/F-F cables should not, which IMO is much messier then the above.
Essentially, your proposal is to have the invariant that males supply power on pin 20 and source on pin 21, while females supply on 21 and source on 20. It is easy to see that this invariant is maintained by all of your proposed cables. And, since the only way to plug ports together is male-female you are guaranteed to always be matching supply with source.
Since this invariant is maintained at every terminal, there is, as you identify, no added difficulty in creating converters, as they would only target one gender of the port anyway.
Out of curiosity, is there any port that takes this approach (either for power or data pins)?
And of course it didn't work: there are many standard-breaking USB cables with identical plugs on both ends, and standard-breaking devices which require them.
So for USB, you would need a 5-pin port, where two are devoted to power. And both USB-A and USB-B would have the same wiring, but male ports source and supply on opposite pins as the female ones. Then M-M or F-F cables crossover the power lines.