matteopio
Posts: 19
Joined: Thu Feb 25, 2016 2:49 pm

Some help for Pi Zero USB gadget

Sat Apr 14, 2018 9:12 pm

So, when I bought the Raspberry Pi Zero (not W) , I was interested in the premise of USB gadgets. The trouble is, that I wanted to setup something similar to this: https://www.novaspirit.com/2016/10/18/r ... sb-dongle/

So I grabbed the necessary files, installed the latest version of Raspbian, yet for some unforseen reason it would not work. I knew I edited the config.txt and the cmdline.txt, plus added the necessary addons. I also checked that I plugged in the USB lead in the port marked USB, not the PWR IN port. I even tried checking if my Raspberry Pi's USB is fried by plugging it in without an SD Card. It showed up on both Windows and Linux as the Broadcom device it's supposed to show up as. Yet even when I try using the latest Raspbian, it still does not show up, not even as the incorrect device. So, what I was wondering is if someone whose config works would please be able to prepare an image with everything set up for an RNDIS adapter (g_ether) which I can download by using Win32DiskImager. Thanks in advance.

Ernst
Posts: 1334
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: Some help for Pi Zero USB gadget

Sun Apr 15, 2018 9:40 am

Please keep in mind that you may have a faulty Pi Zero with a permanent "short" between pins 4&5 on the USB socket.
This would cause the OS on the Pi Zero to assume USB host mode instead of USB client mode.
I have one Pi Zero that developed this problem, during normal operation, which can not be used in gadget anymore. When I plug this Pi Zero (without SD card) into my PC it still reacts as a Broadcom device, with an SD card configured for gadget mode it does not work.
I can not help you with an image because I do not have any gadget installations at the moment.
The road to insanity is paved with static ip addresses

matteopio
Posts: 19
Joined: Thu Feb 25, 2016 2:49 pm

Re: Some help for Pi Zero USB gadget

Sun Apr 15, 2018 9:52 am

Thank you Ernst

matteopio
Posts: 19
Joined: Thu Feb 25, 2016 2:49 pm

Re: Some help for Pi Zero USB gadget

Sun Apr 15, 2018 12:12 pm

However if anyone else has an image that works, I would still like to try it to eliminate hardware problems from the factors.

Return to “Troubleshooting”