Ethernet is designed this way because the differential pair can apparently pick up a bit of a DC bias when laid next to cables in the ceiling/wall. While researching this post, I found that the spec requires the transformer/inductor to work correctly with a 30mA bias current. I am too lazy to go measure what the DC resistance is, though, so I don't know whether or not 200V is close to that.
When I was in high school, I wired up a cat 5 cable such that each pair was connected to one phase of the mains. I then plugged it directly into my iMac. There was no damage to the computer and the Ethernet port worked fine afterwards as well. (The integrated monitor went crazy; this was in the CRT days and presumably the Ethernet transceiver's magnetics make a good degaussing coil).
The fact that Ethernet functions the same with a voltage bias across the leads is exploited for PoE — power over Ethernet.
Because I was 15 and bored.
(On the plus side, this made up for sleeping through that physics class where my professor did the exploding wires demo.)
There used to be...
As a boy - and this is many, many years ago - I once, ehm, accidentally connected the external speaker-plug on an old vacuum tube household radio to the 220V mains.
A very loud bang, and the house went dark. The radio, however, was fine, although with an interesting new tonal slant to everything.
I repair & build vacuum tube equipment as a hobby.
And you'd still have to deal with the big spikes coming in on the USB power pins.
[0] https://github.com/usbkill/community/wiki/Consumer-Laptop-Ha...
The problem is: optoisolators are very slow. Building one which goes faster than 12Mbps would be nontrivial; I do not think such a thing existed in 2014 (which usbkill is claiming). This implies that Apple has alien technology.
I think it's something else.
The problem is: optoisolators are very slow.
Many are but they don't have to be - an optoisolator is just a zero-length fiber optic cable. Ain't much higher bandwidth than a fiber optic cable.Not saying apple laptops ever had optoisolated USB though.
12Mbps/1.5Mbps is easy. ADI has an integrated magnetic isolator chip. For hobbyist use you can get this assembled on a board ready to use as an ebay special.
The 5Gbit of USB3 is two unidirectional links and so is also easy (monoprice and elsewhere sell optical USB3 cables).
And lest you think you'll isolate at 5Gbit and then use a hub to translate to 480, USB3 doesn't work that way - the backwards compatibility is provided by a complete USB 2 bus in parallel.
For general isolating (say an electronics workbench), it's easiest to consider the USB host floating (eg a dedicated bench computer), and rely on ethernet (T or SX) for the isolation.
Is there any device that is supposed to survive this?
In other news, throwing your computer in a fire also reveals a serious vulnerability.