Technically, it depends how the cable is built. In USB 2 standard these cables are not allowed at all, and USB 3 standard allows these cables only if they are build according to the standard.

They are not illegal (there is no jurisdiction with laws against them), and they are cannot be banned as they are just cables. They are just stupid, useless and non-compliant according to old specs and thus should not exist at all for any purpose, and they are only compliant according to new specs if made correctly without power supply connection.

As you might be aware, there are USB hosts and devices. To put it simplified according to old USB standards, Type A socket is used on hosts, and Type B socket is used on devices. And hosts are supposed to only be connected to devices, which is why we have cables with Type A plug on one end, and Type B plug on the other end. So you are not supposed to connect two hosts together, or two devices together, so there should be no need for cables with same type of plug on both ends.

The host is also supposed to give power to a device, so there is 5V supply available on host Type A connector, which the device can use for powering itself (e.g. sound interface) or just detect the host for presence (e.g. printer with separate power).

Now, if you have a cable with Type A plug on both ends, it allows you to do unintended things, as you can connect two hosts and their power supplies together. Two hosts cannot communicate between each other, and the power supplies are now also shorted together through the cable. If you turn off one of the hosts, the other host tries to back-feed power into the other host.

As that is not in any way an intended connection, one or both hosts may get damaged, as you are not supposed to connect power supplies together.

So this is why Type A plug to Type A plug cables should not exist, there should be no need for them. But as something always goes wrong, someone used the Type A socket incorrectly on some device instead of Type B socket, and then a Type A plug to Type A plug cable must be used to attach that device with incorrect connector to a standard PC.

Modern USB specs allow these cables to exist for debugging purposes, as some products that are usually USB hosts may be able to go into device mode for debugging purposes by connecting it to another host like a PC. But as explained above, to prevent shorting of the power supply pins together, such a cable must be manufactured so that there is no connection between the power supply pins of the connectors.

The cable should also be specially marked as being such a compliant debug cable, to distinguish them from the dangerous non-standard cables that should not exist.

Answer from Justme on Stack Exchange
🌐
Cable Leader
cableleader.com › cables › usb cables › usb 2.0 cables › type a to mini-b 4pin › 6ft usb 2.0 type a to mini 4-pin usb cable, male to male, 480mbps, black
6ft USB 2.0 Type A to Mini 4-Pin USB Cable, Male to Male, 480Mbps, Black
6ft USB 2.0 Type A to Mini 4-Pin USB Cable, Male to Male, 480Mbps, Black
Professional-grade USB 2.0 Type A to Mini 4-Pin cable offering high-speed 480Mbps data transfer. Features double shielding for EMI/RFI protection. Perfect for cameras, MP3 players, and mobile devices. RoHS compliant.
Price   $1.81
🌐
NavePoint
navepoint.com › home › cables and adapters › usb › cable assemblies › usb 2.0 type a male to micro male - 3, 6, and 10 feet
USB 2.0 type A Male to micro Male - 3, 6, and 10 feet
By using NavePoint.com, you are agreeing to our revised Privacy Policy Accept Cookies ... NavePoint 00407446 is a USB 2.0 cable that has type A male to micro male connectors and supports fast charging and data sync.
Discussions

standard - Are USB 2.0, Type-A, Male-Male cables compliant with USB specification? - Electrical Engineering Stack Exchange
This was asked 3 years ago in a similar question but it left out some information to be desired. Are male-male, type-A-typeA usb 2.0 connectors safe, and/or compliant with current standards? Are they More on electronics.stackexchange.com
🌐 electronics.stackexchange.com
Can a male to male USB A be used to transfer files between two computers?
No. They're used in cases where a USB B connector wouldn't fit. Do not plug two computers in to each other with one. More on reddit.com
🌐 r/buildapc
16
6
December 30, 2018
USB A male to USB A male cable
However, the cable management is poor. Looks pretty ok to me with those plastic clips the excess length is wrapped around and the zip tie. I suspect the type A male connector comes from the peripheral PCB. That's not what we usually call a motherboard. Motherboard is what we call the PCB of the host computer. But I can't tell for sure where the cable leads to because I can't see what your cable is connected to on pic 1. I suggest posting a better pic. And pic 2 is not directly relevant because that is just the kind of cable, that you don't want, if I understand you correctly. How about you just cut a piece out of the cable from peripheral? USB 2.0 is not very picky about the cable. Cut a piece out and solder the 4 wires of the ends back together. Ground to ground. +5V to +5V, D+ to D+ and D- to D-, and maybe a shield around it. could shorten the cable but dont have tools for it. get the tools! soldering iron, solder, cable cutters, and heat shrink. That's my suggestion. More on reddit.com
🌐 r/UsbCHardware
11
0
March 19, 2024
Convert USB 2.0 male header to USB C front panel header
You’d need more than one adapter: https://www.amazon.com/JoyReken-Internal-Motherboard-Key-Adapter/dp/B08GYFCNK9/ https://www.amazon.com/gp/aw/d/B00EOI3VC8/ref=psdcmw_464394_t1_B08GYFCNK9 Alternatively this would get you full speed: https://www.amazon.com/Ableconn-PEX-UB152-Internal-Express-Adapter/dp/B07PRQWMGG/ More on reddit.com
🌐 r/buildapc
5
7
February 10, 2021
🌐
CableMAX
cablemax.com › home › usb cables › usb 2 a male to a male
USB 2 A Male to A Male - USB Cables
USB 2 A Male to A Male · View as Grid List · 6 Items · Sort By · Position · Product Name · SKU · Price · Cable Type Set Descending Direction · 3Ft A-Male to A-Male USB2.0 Cable Black · Special Price $2.14 Regular Price $2.67 · Add to Compare · 6Ft A-Male to A-Male USB2.0 Cable Black ·
Top answer
1 of 4
12

Technically, it depends how the cable is built. In USB 2 standard these cables are not allowed at all, and USB 3 standard allows these cables only if they are build according to the standard.

They are not illegal (there is no jurisdiction with laws against them), and they are cannot be banned as they are just cables. They are just stupid, useless and non-compliant according to old specs and thus should not exist at all for any purpose, and they are only compliant according to new specs if made correctly without power supply connection.

As you might be aware, there are USB hosts and devices. To put it simplified according to old USB standards, Type A socket is used on hosts, and Type B socket is used on devices. And hosts are supposed to only be connected to devices, which is why we have cables with Type A plug on one end, and Type B plug on the other end. So you are not supposed to connect two hosts together, or two devices together, so there should be no need for cables with same type of plug on both ends.

The host is also supposed to give power to a device, so there is 5V supply available on host Type A connector, which the device can use for powering itself (e.g. sound interface) or just detect the host for presence (e.g. printer with separate power).

Now, if you have a cable with Type A plug on both ends, it allows you to do unintended things, as you can connect two hosts and their power supplies together. Two hosts cannot communicate between each other, and the power supplies are now also shorted together through the cable. If you turn off one of the hosts, the other host tries to back-feed power into the other host.

As that is not in any way an intended connection, one or both hosts may get damaged, as you are not supposed to connect power supplies together.

So this is why Type A plug to Type A plug cables should not exist, there should be no need for them. But as something always goes wrong, someone used the Type A socket incorrectly on some device instead of Type B socket, and then a Type A plug to Type A plug cable must be used to attach that device with incorrect connector to a standard PC.

Modern USB specs allow these cables to exist for debugging purposes, as some products that are usually USB hosts may be able to go into device mode for debugging purposes by connecting it to another host like a PC. But as explained above, to prevent shorting of the power supply pins together, such a cable must be manufactured so that there is no connection between the power supply pins of the connectors.

The cable should also be specially marked as being such a compliant debug cable, to distinguish them from the dangerous non-standard cables that should not exist.

2 of 4
8

They don't follow the USB specification. The USB 1.2 and 2.0 specify that the ends of the connectors define whether a connection is a host or a device. The male to male A connectors would be host to host, which is not supported under the USB spec.

They are typically used in cheaper devices that either use power only or the designers were too lazy or incompetent to understand that a device needs a B connection, so people still sell and use them. No entity prevents the use or sale of a nonstandard cable that I'm aware of.

🌐
C2G
cablestogo.com › cables › usb › usb-2-0-cables › 6-6ft-2m-usb-2-0-a-male-to-a-male-cable-black › p › cg-28106
6.6ft (2m) USB 2.0 A Male to A Male Cable - Black
Vaddio Production is moving to New Legrand | AV Headquarters Jan. 2-26, 2026. Place your orders on or before Dec. 5th to avoid business disruption · Happy Holidays! See the complete listing of holiday closures and adjusted hours across our locations · See List Here · Region About Us Contact ...
🌐
RadioShack
radioshack.com › radioshack-usb-20-male-a-to-male-b-cable-2605039-6-feet › p
RadioShack USB 2.0 Male A to Male B Cable 2605039 6 Feet
This high-quality USB 2.0 cable (A male to B male) is engineered to streamline your data transfer needs with precision and reliability. Whether you're printing documents, scanning photos, or transferring files, this cable delivers fast and ...
Find elsewhere
🌐
Comprehensive
comprehensiveco.com › home › cable assemblies › standard series cables › standard series usb cables › usb 2.0 cables › usb a to b cables › standard series usb 2.0 usb-a male to usb-b male cable 3ft
Standard Series USB 2.0 USB-A Male to USB-B Male Cable 3ft
Standard Series USB 2.0 USB-A Male to USB-B Male Cable 3ft
Features• USB Type A Male to Type B Male • Transfer rates up to 480Mbps • Premium shielded twisted pair construction • Plug and play functionality for printers, scanners, keyboards and other digital devices • PC and Mac compatible • Compatible with USB specifications 1.0, 1.1, and 2.0 • Molded Strain Relief • RoHS Compliant • Lifetime Warranty DescriptionUSB Cables provide digital signal transmission rates of up to 480Mbps. USB Cables are commonly used to connect computers and peripherals such as printers, scanners, cameras, keyboards, mice and other digital devices. Comprehensive USB cables a
Price   $4.99
🌐
Covid
covid.com › en › usb-ab_usb-2-0-cable-a-male-to-b-male
USB 2.0 Cable, A-Male to B-Male
Versatility: These USB cables support USB 2.0 standards and are backward compatible with USB 1.0 and 1.1 standards. Variety: Covid carries a variety of USB cables with different connection options, A to A, A to B and A to A-female.
🌐
V7 World
v7world.com › us › v7-black-usb-cable-usb-2-0-a-male-to-usb-2-0-a-male-2m-6-6ft-5rt783-v7usb2aa-02m-1e.html
USB A Male to USB A Male Cable USB 2.0 480 Mbps 2m/6.6ft Black
USB A Male to USB A Male Cable USB 2.0 480 Mbps 2m/6.6ft Black
V7 High-Speed USB cables are designed to connect computer peripherals such as digital cameras, printers, scanners, personal media players, external high disk drives, flash drives and network adapters. The V7 USB Cables are backward compatible with USB 1.0/1.1 devices. These fully shielded USB cables feature high-grade PVC jacket construction combined with shielded twisted pair data-lines, providing excellent performance.
Price   $9.99
🌐
SF Cable
sfcable.com › computer-cables › usb-products › usb-cables › usb-a-male-cables.html
USB 2.0 A Male to A Male
USB A to A cables are used to connect PC to peripheral devices such as printers, scanners, and portable storage devices. These are not USB transfer cable and may cause damage when connected to 2 PCs.
🌐
ShowMeCables
showmecables.com › by category › adapters › computer › usb › usb 2.0 a male to b male adapter
USB 2.0 A Male to B Male Adapter
USB 2.0 A Male to B Male Adapter
Plastic Body | Nickel-Plated | Change Connector Type
Price   $3.23
🌐
CableWholesale
cablewholesale.com › products › usb-firewire › usb-2.0-cables › product-10u2-02115.php
15ft, USB 2.0, Type A Male to A Male Cable
Product Description This is a 15 foot male to male USB 2.0 cable with A-type male connections on both ends. This is typically the style of connection found on the backs of PCs. This is not the standard configuration for a USB cable. Please make sure the device you are connecting to requires ...
🌐
Wikipedia
en.wikipedia.org › wiki › USB_hardware
USB hardware - Wikipedia
1 day ago - There are three sizes of legacy USB connectors: The original Standard, the Mini connectors, which were the first attempt to accommodate handheld mobile equipment (now mostly deprecated), and Micro, all of which were superseded in 2014 by Type‑C, which is required for operation modes with two lanes (USB 3.2 1×2 (10 Gbit/s), USB 3.2 2×2 (20 Gbit/s), or any USB4 modes) and allows power up to 240 watts in either direction. Before USB4, there are five speeds for USB data transfer: Low-Speed, Full-Speed (both USB 1.0 and 1.1), High-Speed (USB 2.0), SuperSpeed (USB 3.0, later designated as USB 3.2 Gen 1×1), and SuperSpeed+ (designated as USB 3.1 Gen 2, later as USB 3.2 Gen 2×1).
🌐
L-com
l-com.com › home › usb › cable assemblies › deluxe usb cable assemblies › ecusbax › deluxe usb cable type a male/female extension cable, 2.0m
Deluxe USB Cable Type A Male/Female Extension Cable, 2.0m - ECUSBAX-2M
L-com's ECUSB series provides high performance at competitive prices. These quality constructed cables feature USB 2.0 Compliant 26 AWG power leads and are finished in an attractive medium gray color. These cables are handy to have on hand when it is necessary to extend any USB cable with a Type A connector.
🌐
Reddit
reddit.com › r/usbchardware › usb a male to usb a male cable
r/UsbCHardware on Reddit: USB A male to USB A male cable
March 19, 2024 -

Hey guys, it's my first time making this kind of post coz I'm hella confused. I dont know if its the right place to ask this question but kindly do help me out with this if possible.

I have an arcade stick and it has a 5pin female (from motherboard) to USB 2.0 male output for connection (Reference Pic 1). However, the cable management is poor. That's why I wanted to have a detachable cable mod. Normally, I could shorten the cable but dont have tools for it.

Alternatively, one could buy that same cable in short length. But I couldn't find it where i live. The one i found is 5pin female to USB 2.0 female output (Reference pic 2) and not the actual intended like was in pic 1.

I would like to know if I could use that cable in my stick and then use a USB male to male cable or even USB A male to USB C. Even if i could use it, will there be any consequences as i read that we are not supposed to use male to male unless it has A,B male types.

Please do leave your suggestions. I would really appreciate it.

Top answer
1 of 3
4
However, the cable management is poor. Looks pretty ok to me with those plastic clips the excess length is wrapped around and the zip tie. I suspect the type A male connector comes from the peripheral PCB. That's not what we usually call a motherboard. Motherboard is what we call the PCB of the host computer. But I can't tell for sure where the cable leads to because I can't see what your cable is connected to on pic 1. I suggest posting a better pic. And pic 2 is not directly relevant because that is just the kind of cable, that you don't want, if I understand you correctly. How about you just cut a piece out of the cable from peripheral? USB 2.0 is not very picky about the cable. Cut a piece out and solder the 4 wires of the ends back together. Ground to ground. +5V to +5V, D+ to D+ and D- to D-, and maybe a shield around it. could shorten the cable but dont have tools for it. get the tools! soldering iron, solder, cable cutters, and heat shrink. That's my suggestion.
2 of 3
3
No, you cannot use a standard compliant USB A plug to USB A plug cable or a standard compliant USB A plug to USB C plug to power the device. The first cable does not transfer power, only superspeed data. It only has the ground and superspeed pairs connected, the power and data lines are not connected by design. The latter cable is designed for the wrong power direction. Your USB C device will expect the other side to source power, not sink power, so it cannot communicate. Use plugs and receptacles for their intended goals
🌐
Networx
networxproducts.com › all products
High-quality, high-performance data-comm products that supercharge profits - USB 2.0 Adapter - USB Micro Male to USB C Male
USB 2.0 Adapter - USB Micro Male to USB C Male
Networx® USB 2.0 Adapter - USB Micro Male to C Male's will provide you with the ability to convert a USB cable's gender and connector type.
Price   $7.19
🌐
Walmart
walmart.com › ip › USB-2-0-Male-to-Male-CABLE-CORD-5FT-TYPE-A-MALE-to-TYPE-A-MALE-BLACK-5-HIGH-SPEED-5FT-1-5M › 992877111
High Speed USB 2.0 Cable, Type A Male to Male, 5FT Black, Compatible with PC and Apple Systems - Walmart.com
USB 2.0 Male to Male CABLE CORD 5FT TYPE A MALE to TYPE A MALE BLACK 5' HIGH SPEED 5FT 1.5M
usb 2.0 a male to a male cable -5ft (black). latest usb version 2.0 specification, supports the new high speed data rates of the latest usb 2.0 peripheral devices. and is also fully compatible with all earlier usb devices. brand-new. fully guaranteed. use with both pc and apple systems. 3 foot length, great for external drives, printer, scanner, cdrw, etc. high quality, standard a-to-a, male-to-male cable with molded connectors. this standard cable will connect your computer to most usb devices. specifications: usb version 2.0 compliant. supports hi-speed, 480 mbps. 3ft. a to a, male to male,
Price   $9.75