News for hackers. Stuff that matters.
Re:Apple Lightning by liminalsunset on Wednesday July 01, 2020 @06:43PM (#23707685)
Lightning cables have exposed contacts - While at 5V, this does not pose a significant shock risk, if full current were available, brushing the connector against metal could result in sparks and damage to the connector or power supply. Additionally, if the connector gets wet, the DC voltage will result in electrolytic corrosion. This still does happen even with the limited current provided before the handshake, just slower. (Don't!!!) try charging a phone with official cables and a power bank in the rain or letting a plugged in lighting cord's lightning end sit in some soup

Cables with electronics in them are useful for protections like this, and to facilitate safe interoperability of multiple voltage and current sources and sinks like on USB Type-C. The question becomes, is the protocol implemented in a simple, open consumer friendly way or is it implemented with other nasty antifeatures.

Re:Apple Lightning by jcrawfordor on Wednesday July 01, 2020 @07:03PM (#23707872)
Couldn't all of the protections on current delivery be implemented in the interface on the other end of the cable, though? This is the approach taken by basically every other standard for negotiated power delivery. Even things like 802.3af which manage to deliver 48v at nearly an amp and with the complicating case of many valid devices not really tolerating any current delivered.
Re:Apple Lightning by varenc on Wednesday July 01, 2020 @07:08PM (#23707911)
The other end being USB-A power adapters? There’s a vast number of those of varying quality. Some have zero logic and just output 5V/1A. No way they could be trusted for this purpose.

call this a “safety in depth” approach

Re:Apple Lightning by chongli on Wednesday July 01, 2020 @09:10PM (#23708873)
No I think the GP meant the port on the iPhone as the “other end”. In other words, why not have all of the protection logic built into the phone?
Re:Apple Lightning by rtpg on Wednesday July 01, 2020 @10:44PM (#23709410)
just as an example, imagine you end up putting a fuse in the cable. If the fuse blows, then the cable can be easily replaced. A chip in the iPhone.... not so much.

Though likely there's something in the phone _as well_ as the cable.

Re:Apple Lightning by projektfu on Wednesday July 01, 2020 @10:01PM (#23709192)
If the cable is dumb, it can’t switch the +5v power coming from a USB supply. If it can switch it, it’s not dumb.
Re:Apple Lightning by jayd16 on Wednesday July 01, 2020 @09:08PM (#23708862)
So we should buy expensive cables and cheap power supplies?
Re:Apple Lightning by chrisrogers on Thursday July 02, 2020 @01:35AM (#23710328)
Those cheap power supplies are ubiquitous, so it's more about Apple building their cables to exist in the built environment than dealing with the fallout of consumers busting up their expensive phones by charging them on whatever's lying around.

Guarantee there was a consumer study where they compared reactions between these scenario.

Re:Apple Lightning by varenc on Thursday July 02, 2020 @02:57AM (#23710668)
The manufacturers knows that if it’s their product in contact when a user is shocked, they will get some blame even if it’s “really” the sketchy power supply’s fault. And since some cables have these safety features already, anyone making cables without them will appear extra negligent when bad things happen.

The world is unfortunately not very efficient.

Re:Apple Lightning by gok on Thursday July 02, 2020 @12:56AM (#23710133)
There was already a huge installed base of cheap power supplies
Re:Apple Lightning by sjwright on Wednesday July 01, 2020 @07:07PM (#23707906)
The other end of the cable is generic USB and can often be a naked, logic-free 5V supply.
Re:Apple Lightning by bigyikes on Thursday July 02, 2020 @01:20AM (#23710254)
I’ve cut the ends off way too many USB cables just to expose those red and black wires.
Re:Apple Lightning by epse on Thursday July 02, 2020 @02:39AM (#23710600)
And surprisingly many cables even have just those two wires inside of them and can't carry any data
Re:Apple Lightning by WGH_ on Friday July 03, 2020 @09:43AM (#23723940)
Isn't direct current component ignored by default just because Ethernet devices are galvanically isolated? I thought even if you applied some DC voltage to Ethernet without proper PoE negotation, nothing would happen at all.