I was reading up on USB connectors on Wikipedia and I've noticed that the contacts for the data lines (D+ and D-) are shorter in both the Type A and Type B plug. USB A and B plugs

What could be the reasoning behind this design?


2 Answers 2


Hot plugging. You want the power supply to be connected before the datalines. Some chips may latch if a signal is supplied to the signal pins before power is applied. This means the chip will internally short out and may get destroyed when subsequently power is applied.

In the old days you had to power off you computer before you could add a peripheral to it, that is not necessary with USB (and some other interfaces).

  • \$\begingroup\$ So, is it a problem if the connection happens at the same time? I built a USB switch that breaks both power and data lines, but do I need to implement a delay for the data lines when reconnecting? \$\endgroup\$
    – Mike
    Mar 10, 2021 at 20:57
  • 1
    \$\begingroup\$ @Mike Yes that can be a problem even if it appears to work in practice. \$\endgroup\$
    – jippie
    Mar 15, 2021 at 20:58

The reasoning behind this design is to always apply power prior to data so that bus-powered devices can interact with the host when connected. A USB device must react to bus reset 10 ms after being plugged in.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.