7 ms·
Apart from the processors, I'm amazed/bewildered that USB is now complex enough, that the power component of it has its own serial communication protocol (USB-P
by xg15 6y ago
Apart from the processors, I'm amazed/bewildered that USB is now complex enough, that the power component of it has its own serial communication protocol (USB-PD), which also has a vendor registry and is extensible with proprietary messages - and by the looks of it, is already in widespread use for all sorts of things that have nothing to do with power delivery.
Isn't this sort of reinventing USB on top of USB?
- TheRealSteel 6y agoWhen I lost the charger for my Nintendo DS, I was able to MacGyver one out of a piece of cardboard and two strips of aluminium foil. A quick look at the USB-A port spec, and pin locations on the similar-to-USB-but-proprietary DS charging port indicated it was a very simple construction. Amazingly, this hack worked successfully and I was able to have my yearly Elite Beat Agents binge. The hardest part was actually not building the "cable" but balancing and bending it all just right so that the pins actually maintained contact. Now, in the days of complex calculated power delivery negotiation, a hack like this would be impossible. And for good reason. Devices are safer now, more compatible with each other's chargers, and can charge faster. And the things we can do with USB-C/USB-PD are fantastic. I discovered yesterday that if for some reason I really want to, I can charge my MacBook Pro from my Android phone. But my little foil hack was fun at the time.
- bluefirex 6y agoI forgot to take my MacBook Pro's charger with me but could still charge it using my iPad's charger (USB-A to USB-C, mind you) - albeit very slowly. Still better than nothing, though. If only iPhones had USB-C…
- bluejekyll 6y agoYes, Apple seems to be very confused in this regard. They’ve committed to USB-C for all of their computers, but then are continuing to push lightning for all the other portable devices. It’s hard not to be annoyed at them about this. Enough to not buy Apple again? No, not yet, but I’d be lying if it’s not a reason why I’ve delayed purchasing a new device. It leaves a bad taste in my mouth, and makes me grumpy. So I’ll wait to upgrade to the last moment. On a similar note, it seems Nintendo with the switch has hobbled USB-C in some way that standard equipment won’t work with it, like charging over generic USB-C, is this accurate? Has Sony similarly hobbled the spec for PS4/5?
- robin_reala 6y agoNot for all their portable devices; the iPad Pros have been USB-C since 2018, and the iPad Air since September this year.
- bluejekyll 6y agoAh, thanks. I actually totally forgot about. Maybe I should get one now (2 years later) to help spur them on.
- eru 6y agoI can charge my Switch on random USB-C power sources. (No clue whether it's as effective as the included charger, but certainly works well enough.)
- bluejekyll 6y agoThat’s good to hear? I think I was seeing issues with that on some of my chargers, maybe I need to double check the power ratings on the bricks.
- breakfastduck 6y agoI think they're keeping lightening to help their 'eco' brand. They just removed chargers from the iPhone box because 'everyone has one' - if they suddenly changed to USB-C on iPhone it would create a LOT of ewaste. I still think they should switch, but I reckon it's because they'd get accused of hypocrisy if they deprecated it.
- tjoff 6y agoEven apple chargers are regular USB at the charger-end, right? Just include a cable then, problem solved. Or the apple way: an adapter.
- chrisfinazzo 6y agoMost of them, anyway. I've been putting an Apple Watch SE through its initial paces over the past week and was mildly disappointed to find that only Series 6 ship with a Type C cable in the box - the SE uses Type A. The same split is true for iPhone 12 Pro, so far as I can tell, even though (curiously) my 11 Pro from last year did include a 20W Type C Power Adapter in the box.
- vladvasiliu 6y agoHuh. I think that's a good thing. Slow charging is better than a dead battery and unusable device. My work HP laptop has USB-C charging but won't charge at all without PD. I tried it with a USB-A - C cable and a fairly hefty adapter without PD.
- wallacoloo 6y agoIf USB-C retains backward compatibility with the existing USB PD implementations, you’ll be able to signal that you want power by permanently affixing a shunt resistor across your two power lines. If you need more control, then you upgrade that to something like a voltage-controlled resistor so that you can do more complex signaling. But USB PD was always designed to support dumb AND CHEAP devices, so if you didn’t need the extra functionality you didn’t need to implement any complexity.
- nvllsvm 6y agoWhen I lost the charger for my Nintendo DS, I was able to MacGyver one out of a piece of cardboard and two strips of aluminium foil. I did the same thing for my 2DS XL, but instead modded the device with a non-PD USB-C breakout board. Works great with both USB-PD and regular USB-C chargers and cables. https://nullsum.net/posts/usbc-mod-new-2ds-xl/ https://nullsum.net/posts/usbc-mod-new-2ds-xl/ Now, in the days of complex calculated power delivery negotiation, a hack like this would be impossible. The only devices I've seen _require_ USB-PD are PC's. All the modern phones, headphones, and gaming handhelds I've seen with USB-C do not require USB-PD and charge just fine with a USB-A to USB-C cable. Better yet, these devices all use a standard USB-C port instead of a proprietary one. The only gotcha is that some USB-C devices break spec and don't work with some USB-C to USB-C cables. Both the Pi 4 and RG351P suffer from this.
- TheRealSteel 6y agoAh, that's a good point, I suppose many devices will still slow-charge from an old style connection with USB-A on the other end.
- naikrovek 6y agoUSB-PD is almost always in place on top of normal USB 5V, 500mA current delivery as a fallback. Your hack would have worked if you had a type-C plug you could have hacked apart and soldered to, and charging would have been dreadfully slow.
- TheRealSteel 6y agoYes, it seems like you're absolutely right, thanks for the correction! I should have realised this was obvious - new phones still charge just fine off any old USB-A charger just fine, provided you have a USB-A to C cable -- they'll just slow charge.
- amelius 6y agoAnd it still hasn't got error correction?
- Ellipsis753 6y agoIt does. (Checksums)
- meragrin_ 6y agoAren't checksums for error detection and not error correction? As I understand it, error correction is having enough information to correct the error while error detection is only knowing an error has occurred.
- amelius 6y agoI guess checksums are ok for many applications if USB implements resending of data at the protocol level. For high-speed cameras it might be problematic though.
- joshspankit 6y agoreed-solomon is most likely used here. It’s the tech in CDs and ECC RAM. Checksums that also have enough data for recovery.
- deleted 6y ago[deleted]
- vvanders 6y agoError correction only makes sense if the latency of the read/write is long(i.e. spinning physical medium, co-sharrd radio channels). FEC isn't free(~2x overhead per bit recovery if I remember right) so if your error rates are infrequent then it's worse to use FEC over just resend/reread.
- throwaway9870 6y agoThe problem is that with short haul serial links there is a very small operating range where error correction works. Basically the difference between a working link (very low BER) and a link where even ECC is broken (high BER) is quiet small and adding ECC overhead is deemed an overall loss. These links have quite different characteristics from long-haul links that are dominated by ISI. One way to see this is to look at a waterfall plot and note how steep it is on short interconnects. There is a very small range between working fine and completely broken.
- swiley 6y agoI remember thinking USB2.0 was over complicated, this is absolutely insane.
- eplanit 6y agoIt was, and this is. You were right.
- deleted 6y ago[deleted]
- j_san 6y agoThe good thing is that I could now fast charge my pixel 4a with my MacBook charger as the protocol allowed the charger to pick the right output.
- cesarb 6y ago> Isn't this sort of reinventing USB on top of USB? It's not on top of USB, it's a completely independent side-channel. And it cannot be on top of USB, since its second main use (besides negotiating the voltage and current in the main power pins) is to negotiate the alternate modes used for the pins which normally carry USB (not only the USB 3.x pins, but also the USB 2 pins in the VirtualLink alternate mode). You could think as USB-PD being below USB, except that it's also not true since you can use USB-C without USB-PD (using only the resistors in the CC pins to detect cable orientation and maximum current).
- greggturkington 6y ago"Oh, 'USB 3.2 Gen 2' (aka 'USB 3.1' or 'USB 3.1 Gen 2' OR 'USB 3.2 Gen 2')?" "There's your problem, you need 'USB 3.2 Gen 2 × 2.' You idiot!"
- colejohnson66 6y agoJust wait for USB4!
- naikrovek 6y agoThat's just Thunderbolt 3 without the Intel trademark "Thunderbolt" name, isn't it?
- cesarb 6y agoNo, there are some differences; AFAIK, USB4 can also tunnel USB 3.x (Thunderbolt 3 uses the PCIe tunneling plus a PCIe xHCI USB host on the device), and its compatibility with Thunderbolt 3 is optional.
- kevin_thibedeau 6y agoNot any different than Ethernet's add on methods of OOB signaling for link integrity testing and auto-negotiation.