News for hackers. Stuff that matters.
Re:Bad USB-C cable destroys laptop by digi_owl on Tuesday February 02, 2016 @03:16PM (#11022168)
Frankly the C plug spec seems overly convoluted.

Each cable needs one of 3 resistors depending on them being a A/B-to-C cable, 1.5A C-to-C cable, or 3A C-to-C cable.

Note that the A-to-C cable may well be able to carry 3A, but it shall never use the 3A C-to-C resistor (what many of the cables he find as faulty does).

Note that all this resistor shenanigans are all independent of the Battery charging spec that has been around for some years, and also the Power Delivery spec that was introduced along with the 3.1 USB spec (can be used for all ports) and the C port spec.

Never mind that a C port has so many extra pins compared to a A or B port, that one would think that id-ing a A-to-C cable would have been as simple as looking for life on any of those extra pins.

Re:Bad USB-C cable destroys laptop by teraflop on Tuesday February 02, 2016 @03:58PM (#11022525)
> Each cable needs one of 3 resistors depending on them being a A/B-to-C cable, 1.5A C-to-C cable, or 3A C-to-C cable.

No, for C-to-C connections, the resistance is provided by the host ("downstream-facing") port, not the cable. The resistor in an A-to-C cable is basically emulating the signal that would otherwise be provided by the host.

There's no such thing as a "1.5A C-to-C cable"; all type-C cables are required to deliver at least 5A. The limiting factor is the host, not the cable, which means the cable must not incorrectly advertise capabilities that the host doesn't support.

> Never mind that a C port has so many extra pins compared to a A or B port, that one would think that id-ing a A-to-C cable would have been as simple as looking for life on any of those extra pins.

That's exactly what the new CC pin is used for. Right now the spec says "legacy cables should connect CC via a 56kΩ resistor", but it wouldn't matter if instead the requirement had been "legacy cables should leave CC disconnected"; the issue is that cable manufacturers are ignoring the spec.

Re:Bad USB-C cable destroys laptop by digi_owl on Tuesday February 02, 2016 @04:28PM (#11022798)
Do wonder how many others over in China or elsewhere has made the same mistake i have apparently made.

4.11 could really use a massive cleanup for readability it seems.

Re:Bad USB-C cable destroys laptop by knughit on Tuesday February 02, 2016 @06:20PM (#11023516)
A world with smart cables is a dumb world. I want smart devices/adaptors and cheap dumb cables.
Re:Bad USB-C cable destroys laptop by wtallis on Tuesday February 02, 2016 @07:12PM (#11023787)
USB cables aren't smart cables by any stretch of the imagination—not when we've got standards like Thunderbolt. A single resistor is not unreasonable complexity on top of the requirements to get the pinout correct.
Re:Bad USB-C cable destroys laptop by jethro_tell on Tuesday February 02, 2016 @07:32PM (#11023892)
Like dumb parallel port cables? or db29? The good days amirite?
Re:Bad USB-C cable destroys laptop by legulere on Wednesday February 03, 2016 @03:17AM (#11025372)
> There's no such thing as a "1.5A C-to-C cable"; all type-C cables are required to deliver at least 5A.

1.5 A is required to be supported by USB-C, while 3 A is optional. Everything over it is covered by USB Power Delivery, which requires a marking of the cable which of the 5 profiles are supported.

Re:Bad USB-C cable destroys laptop by teraflop on Wednesday February 03, 2016 @09:48AM (#11026682)
After re-reading the spec, I think both your comment and mine are slightly wrong. Connectors must be capable of handling 5A; cables are required to support at least 3A. (See sections 3.1.2 and 3.7.7.4.) You're correct that higher power requires USB-PD.
Re:Bad USB-C cable destroys laptop by CydeWeys on Tuesday February 02, 2016 @04:09PM (#11022625)
USB-C does lots of things, including high voltage charging, backwards compatibility, and reversible orientation. Yeah, you could make it simpler, but then you'd have to start giving up some of those features, at which point now you've just reinvented USB-A again.

It's just as complicated as it needs to be. And for godssakes, the pin-out diagram isn't that complicated; it only has 24 pins! There's no excuse for flipping two of them. 24 pins is not beyond the pale of what we would reasonably expect manufacturers to be able to wrap their heads around.

http://bi9he1w7hz8qbnm2zl0hd171.wpengine.netdna-cdn.com/wp-c...

Re:Bad USB-C cable destroys laptop by userbinator on Tuesday February 02, 2016 @09:04PM (#11024254)
"only" 24 pins? That's still 6 times more than the previous standard...
Re:Bad USB-C cable destroys laptop by lsaferite on Wednesday February 03, 2016 @07:53AM (#11026182)
Have you read the spec on what it actually allows though? The fact that it can do USB 2.0 + USB 3.0/3.1 SS + AltMode + 100W Power (bi-directional) all at the same time is... impressive.
Re:Bad USB-C cable destroys laptop by joshvm on Wednesday February 03, 2016 @08:45AM (#11026378)
To be fair it's really 12 times 2 to allow the cable to be reversible. USB2 had 4, USB3 had 9. Apples to apples you should compare 8 and 18, but the previous two standards weren't reversible.
Re:Bad USB-C cable destroys laptop by fanf2 on Wednesday February 03, 2016 @03:38AM (#11025425)
The previous standard was USB 3.0 which has 9 pins.

https://en.wikipedia.org/wiki/USB_3.0#Connectors

Re:Bad USB-C cable destroys laptop by gnarbarian on Wednesday February 03, 2016 @12:06AM (#11024819)
Parallel scoffs at your measly 24 pins.

https://en.m.wikipedia.org/wiki/Parallel_port

Re:Bad USB-C cable destroys laptop by colejohnson66 on Wednesday February 03, 2016 @12:59AM (#11024966)
Re:Bad USB-C cable destroys laptop by lscharen on Wednesday February 03, 2016 @01:11PM (#11028250)
I'll see your 40 pin parallel and raise you an 80-pin SCA connector.

https://en.m.wikipedia.org/wiki/Single_Connector_Attachment

Re:Bad USB-C cable destroys laptop by gnarbarian on Wednesday February 03, 2016 @04:41PM (#11029987)
Now this is clearly the pinnacle of cable engineering :)
Re:Bad USB-C cable destroys laptop by drewm1980 on Wednesday February 03, 2016 @02:08AM (#11025168)
Oh christ... Those pins are actually different signals? When I bought a nexus phone and looked at the new connector I assumed they were just trying to use tricks to reduce contact resistance or something.
Re:Bad USB-C cable destroys laptop by lsaferite on Wednesday February 03, 2016 @07:52AM (#11026174)
Well, the USB 2.0 pins are mirrored so there is no negotiation needed to orient the plug. The others can be mirrored or not, depending on how it is operating. Negotiation can change the job of several sets of pins.
Re:Bad USB-C cable destroys laptop by Dylan16807 on Wednesday February 03, 2016 @12:11PM (#11027692)
If you're using the plug to do USB, you only use the pins on a single side. It's also possible to use DisplayPort and USB 2.0 with the pins on one side.

You use the pins on both sides to do four-lane DisplayPort, or DisplayPort and USB 3 at the same time, or Thunderbolt.