I have a pre-configured Raspbian Lite USB Gadget mode image you could try, just to make sure it works on your Pi Zero.
SHA256 = 32ca25d28122cea2fd40d3f8d8c0e0ac2efd88fb5f569d0976828f42a604c2ed
It's the default Raspbian Stretch Lite image with Pi0(W) USB Ethernet Gadget mode pre-configured (config/cmdline .txt files modified and "ssh" file added with no other changes). Just write it you your SD card with Etcher and DO NOT modify anything (just burn-n-boot).
- Put the card in your Pi0 or Pi0W
- Connect a normal micro USB data cable to the USB data port of the Pi0 (the one closest to the HDMI)
- Do not connect anything to the power port (the one closest to the outer edge)
- Connect the other end of the micro USB cable to your main PC and the Pi0 should start to boot
It should boot up in USB Ethernet Gadget mode.
Note that the first boot can take awhile, so give it a couple of minutes before you try to SSH in.
If it doesn't work, verfiy the SHA256 hash sum of the download, and check Device Manager to see what driver (if any) was installed.
If you don't see this USB Ethernet/RNDIS Gadget driver,
then something is wrong with your Windows system (it's installing the wrong driver), and you can try this driver (all the details match the driver installed in my Win10 system). Other hardware - Acer USB Ethernet/RNDIS Gadget
If you DO see that driver but it has a problem, right click on it and uninstall it, then click on scan for hardware changes in the Action menu. If that doesn't fix it you can try the driver linked above.
If the driver appears to be working, but you can't SSH into [email protected]
then Zeroconf/mDNS is not working on your system (install Apple's Bonjour Printer service).
This image was tested and confirmed working on my Windows 10 notebook with my Pi0W.
The difinitive guide to USB Gadget mode can be found here: https://blog.gbaman.info/?p=791
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?