6 ms·
Okay, let's talk about that USB switch [1], because I was looking for one a few days ago and discovered something ghastly about the majority of the ones availab
by ohazi 6y ago
Okay, let's talk about that USB switch [1], because I was looking for one a few days ago and discovered something ghastly about the majority of the ones available on Amazon:
Most of them use a USB Type-A to Type-A cable for the link between the switch and PC.
This cable violates the USB spec, and is the moral equivalent of an electrical cord with prongs on both ends. It should never, ever be made or used, because plugging one of the ends into the wrong receptacle can destroy both USB ports.
The correct cable to use here would be a standard Type-A to Type-B or Type-A to Micro-B cable, but for some reason a very small minority of these switches do that [2].
WTF is going on here?
[1] https://www.amazon.com/gp/product/B01N6GD9JO/ https://www.amazon.com/gp/product/B01N6GD9JO/
[2] https://www.amazon.com/gp/product/B083JKDNRJ/ https://www.amazon.com/gp/product/B083JKDNRJ/
- jtl999 6y agoI have a keyboard from Cooler Master with one of those ghastly A to A cables :|
- adamhearn 6y agoIt’s always about the money. USB A ports are either really cheap, or manufacturing the enclosure with the same port on both sides is cheaper. Could also be that the enclosure is a reused enclosure...
- ohazi 6y agoIt's not just the receptacles, it's also 2-4 custom cables per device, with sleeves and overmolds and all that, because it's a non-standard, spec-violating monstrosity that necessarily needs to be included with the cursed switch. I don't understand how that's cheaper than the alternative of paying a few cents more for the correct receptacles and then not even including cables, because the customer can use literally any standard off-the-shelf cable.
- numpad0 6y agoCould very well be mistaken on this, but if I’m right, at some point some USB host port conformance test specified such A-A rollover cable. And also in more recent years, Intel DCI uses A-A 3.0 cable for CPU debugging on tablet PCs. Lesser known but Intel defines USB host controller spec. So not allowed in spec for public use, but not custom cables per se.
- naikrovek 6y agoI seem to remember some windows to windows networking that happened over an A to A USB cable, and I think it came as part of a PC upgrade kit, to allow you to move files from your old device to your new one. So, I'm mildly confident you're right about A-A cables being valid, at least at some point.
- jtl999 6y agoLaplink cable? https://images-na.ssl-images-amazon.com/images/I/817dK2e-q9L._AC_SL1500_.jpg https://images-na.ssl-images-amazon.com/images/I/817dK2e-q9L... Those have a dongle inside the cable to actually do something useful, versus mindless delivering 5 volts to the other end.
- NickNameNick 6y agoPretty sure those transfer cables were active devices, not just A-A cables.
- toast0 6y agoI breifly owned a usb -> IDE enclosure wired like this, but returned it because of the socket choice. B, regular, mini, or micro is clearly the proper choice.
- vidanay 6y agoI've used this one [1] for the last four years. The cables from device to the PCs are hard wired, so I have no idea if it conforms to spec. I do know I have had zero problems with it. [1] https://www.amazon.com/gp/product/B00BD8I3EI https://www.amazon.com/gp/product/B00BD8I3EI
- codetrotter 6y agoI have the same switch that you have, but I have a bit of trouble with mine. Not sure if it’s an issue with the switch or with the way my computer boots or with my mouse or something else but when I boot my desktop computer which runs FreeBSD, the keyboard and mouse work during the initial stage of the boot process but then still during boot I think FreeBSD disconnects and reconnects all USB devices or something as part of the boot process, and when it does that the USB mouse which is connected via the switch stops working and then I have to press the button on the switch twice, if the other computer is on, or I have to unplug the switch from the desktop computer and plug it back in.
- deleted 6y ago[deleted]
- amalcon 6y agoI once had a wall wart style power adapter whose output side was a standard coaxial cable (like for TV). The reason was that the signal amplifier it came with was built into the housing of a 2-way coaxial cable splitter, presumably because said housing was inexpensive and readily available. One of the ports that would normally have a second TV attached was instead repurposed to provide power to the amplification circuits. I shudder to think what it would have done if I'd run this directly to a TV, though.
- jasonjayr 6y agoI've actually seen a cable company deploy these in a commercial installation. The Coaxial cable that comes from the pole has a voltage differential on it already, 96 Volts, IIRC, and it powers the demarcation device. (which is kinda a modem/voip device breaking out into a phone line or two)
- dddddaviddddd 6y ago> plugging one of the ends into the wrong receptacle can destroy both USB ports. How would this happen?
- ottobonn 6y agoIf you were to for example plug each end into a computer hoping to transfer files between them, both would try to act as the USB host.
- naikrovek 6y agoThat wouldn't destroy the ports, though.
- conk 6y agoIf you did this each device would provide +5V to the same line in the cable and nothing would happen (as there is no load). Same as if you had 2 batteries connected in parallel. If this was an issue than those ‘Y’ shaped USB cables that provide extra power for external HDD enclosures would also cause damage.
- atoav 6y agoThe problem is rather that the GNDs on both computers might be at a different potential and substantial amounts of current might start to flow once connected (read: something between computer A and computer B catches fire). That is why all serious inter-computer USB devices use galvanically isolated connection (e.g. using optocouplers)
- bserge 6y agoMost laptops and desktops will disable the USB port/controller or at least cut power to it. It won't stop you from sending 200V into it and frying something, but it will stop short-circuits and faulty/non-spec USB devices from doing serious damage. I guess it's a cheap safeguard that works pretty well for consumer products.
- 6y ago
- jahewson 6y agoMy best guess is that the extra height of the B ports (quite a bit taller when you include the internal mount of the port) makes the device un-appealingly larger.
- Abishek_Muthian 6y agoThis is why I plug new USB devices to a USB Hub always and never directly to the USB port of the computer, if the device manufacturer pulls off some BS like this, it will be only the Hub's port which goes in smokes(i.e. if the Hub is done right). I have a Hub to every port, some of them powered and advantage of using non-powered Hubs are that they can be easily used for isolating EMC(e.g. to prevent buzzing noise on speakers etc.).
- blacksmith_tb 6y agoI have a Pluggable brand switch which shares a single A via two B to A cables, I have one going to my gaming PC, and the other my Mac Mini, then I cheat a bit and have a compact 4-port hub plugged into the one shared A, which has mouse, kbd, webcam, and DAC in it. Works pretty smoothly, once in a while one machine or the other won't see one of the devices, but toggling the switch, or re-plugging the hub always perks things back up.
- kdmytro 6y agoMy monitor has a built-in USB hub that works exactly like this, 4 A inputs and 2 B outputs plus an extra USB-C output.
- ziml77 6y agoGiven that non-conforming A-to-A cables have existed since very early in USB's life I'd be surprised if the vast majority of host devices didn't have protection against this.
- metaphor 6y agoI'm generally not a fan of supporting trademarks, but with respect to USB specifically, if the product doesn't have a trademarked USB logo[1], then the default consumer assumption should be that it's dubious wank which hasn't passed independent compliance testing. And if the product under consideration does brandish a trademarked USB logo but clearly doesn't satisfy some observable aspect of the spec, then it's liable to be a counterfeit and you should seriously be questioning the integrity of your source. [1] https://www.usb.org/logo-license https://www.usb.org/logo-license
- dyeje 6y agoI don't much about USB, but I've owned and used the same USB hub as the author for 4 years without issue for switching between my MacBook Pro and gaming PC.