News for hackers. Stuff that matters.
Re:Tell HN: Toilet paper, hand sanitizer, and now web cams by dan-robertson on Wednesday April 08, 2020 @10:10AM (#22813079)
I’m slightly confused by this. At first you seem to be using A and B to describe whether the connector is male/female but in the next paragraph you use the letter C to refer to the shape of the connector.

I assume in the first paragraph you mean a usb A cable with plugs on both ends

Re:Tell HN: Toilet paper, hand sanitizer, and now web cams by cesarb on Wednesday April 08, 2020 @10:24AM (#22813199)
They are different shapes, each shape has both a plug and a corresponding socket. USB A is the traditional rectangular plug/socket, while USB B is the bulky somewhat square shape usually found in printers. There are also mini and micro versions of both A and B, each having both a plug and a socket.

The traditional USB connection has a host with a USB A socket, which provides power; a cable with a USB A plug in one end and a USB B plug in the other end; and a device with a USB B socket. All traditional USB cables are A to B cables, with a USB A plug and a USB B plug; an A to A cable would allow connecting two hosts together, and both would try to provide power at the same time, which might damage the hardware.

USB-C is completely different; all cables have two USB-C plugs, while both hosts and devices have USB-C sockets. Which side provides power is negotiated through a dedicated configuration channel.

Re:Tell HN: Toilet paper, hand sanitizer, and now web cams by jaywalk on Wednesday April 08, 2020 @10:14AM (#22813103)
USB A and B are both connector types, just like USB C is a connector type. The letters have nothing to do with male vs. female.

USB A is a rectangle, and USB B is closer to a square. I've also never seen anything aside from female USB ports and male/male USB cables (aside from extension cables).

Re:Tell HN: Toilet paper, hand sanitizer, and now web cams by supermatt on Wednesday April 08, 2020 @10:30AM (#22813244)
For USB cables there is a host side (type A plug) and a device side (type B plug). These come in standard, mini and micro. You probably havent seen anything but a standard type A (this bit you recognise as the side that plugs into a computer), but are probably familiar with each of the type-b connectors.

Type C is bi-directional, so can replace either or both plugs.

Re:Tell HN: Toilet paper, hand sanitizer, and now web cams by kube-system on Wednesday April 08, 2020 @11:14AM (#22813644)