it's my first question over here. I'm wondering if I could use more than one USB Gadget like in that Tutorial just that I use g_ether and the mass storage. Thanks in advance!


2 Answers 2


Look into g_multi gadget, which supports multiple functions in one configuration:

  • a CDC Ethernet (ECM) link
  • a CDC ACM (serial port) link
  • a USB Mass Storage device

If you want to connect your Pi to Windows, read the docs describing how to get the right drivers installed for each function.


Yes, You can by buying a USB Hub and plugging it into the Raspberry Pi Zero (I would recommend 2.0 and over).An Example Of One USB Hub

  • 3
    You should probably also recommend that the op buys a powered hub because of the low max power output of the Pi zero May 30, 2016 at 17:50
  • watch out about compatibility of raspberry pi zero and usb hubs that seems not simply to be related to the hub being a powered one but specifically on chipset compatibility like many users are reporting. have a look at this list that has been created so far: elinux.org/RPi_Powered_USB_Hubs even though only one at the top seems to be specific for the zero.
    – tent
    Jun 23, 2016 at 13:32
  • the official hub has a micro USB connector for the pi zero and has the option to use external power.
    – Jake
    Jun 15, 2020 at 13:54
  • This answer completely fails to address the question, which is about the USB Composite Gadget drivers, not about plugging more devices in downstream ports. Oct 8, 2021 at 11:18

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.