Does "Gadget Mode" also work with A / A+ ????Douglas6 wrote:Raspberry Pis B and B+ and 2 cannot act as USB devices of any type (they're host only). The Pi Zero however, can. Google 'Raspberry Pi gadget mode'. Adafruit has excellent tutorials and video on the Zero's gadget mode.
ISTR previous discussions where it was stated that the relevant USB OTG mode sense pin is not tracked out from the SoC on the RPis available at that time. I don't know if that changed on later RPis or if the mode can be changed by software alone.fruitoftheloom wrote:Does "Gadget Mode" also work with A / A+ ????Douglas6 wrote:Raspberry Pis B and B+ and 2 cannot act as USB devices of any type (they're host only). The Pi Zero however, can. Google 'Raspberry Pi gadget mode'. Adafruit has excellent tutorials and video on the Zero's gadget mode.
Not when I last tried it. With a kernel and driver compiled for gadget mode only, A and A+ were not recognized by the host. The same code running on a zero worked as expected.fruitoftheloom wrote:Does "Gadget Mode" also work with A / A+ ????Douglas6 wrote:Raspberry Pis B and B+ and 2 cannot act as USB devices of any type (they're host only). The Pi Zero however, can. Google 'Raspberry Pi gadget mode'. Adafruit has excellent tutorials and video on the Zero's gadget mode.
The USB controlledr's OTG sense pin on both A & A+ is wired to ground ie hard-wired as host mode. The upstream dwc2 driver would have to be patched to ignore this & make it work (hints to a possible fix were posted in the gadget mode how-to thread). It can be overcome in software, after all it works as such on the vc4 from bootrom (BCM2708 Boot) & under ThreadX (Raspberr y PiMass storage).drgeoff wrote:ISTR previous discussions where it was stated that the relevant USB OTG mode sense pin is not tracked out from the SoC on the RPis available at that time. I don't know if that changed on later RPis or if the mode can be changed by software alone.fruitoftheloom wrote:Does "Gadget Mode" also work with A / A+ ????Douglas6 wrote:Raspberry Pis B and B+ and 2 cannot act as USB devices of any type (they're host only). The Pi Zero however, can. Google 'Raspberry Pi gadget mode'. Adafruit has excellent tutorials and video on the Zero's gadget mode.