The instructions for setting up a direct-connect RPi Zero over USB have me

  • add dtoverlay=dwc2 on a new line to `config.txt', and
  • insert modules-load=dwc2,... in cmdline.txt.

Are these settings specific to or limited to the RPi Zero and/or to a direct USB connection? That is, could I use an SD card with these settings generally on on my RPi's regardless of how I connect to them. For example, could I use these settings without side effects on an RPi 2 or 3 that I connect to using the Ethernet port?

1 Answer 1


I use those settings on all my SD cards and swap those cards merrily between Pi Zero, Pi B+ and Pi 2 with no side effects.

  • All the linked-to settings, or just the dwc2 settings above?
    – orome
    Commented Jul 18, 2016 at 15:40
  • The link in the OP only outlines these 2 settings, as I read it..? Which other settings are you concerned about ? Commented Jul 18, 2016 at 15:56
  • Yes, the OP (me) just asked about those, I wanted to confirm that "those" didn't refer to the link as well.
    – orome
    Commented Jul 18, 2016 at 16:00
  • 1
    Ah - I think I get it - all OTG settings you mean ? I set dtoverlay=dwc2 and modules-load=dwc2,g_ether only Commented Jul 18, 2016 at 16:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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