commit e6a0556147a62b18a81237024c9d8c5278a7ed31 now has it look for a file called GADGET_MODE in /boot/firmware (accessible by an SD card reader) to enable or disable. My initial test says it…
Commit/9c49411159038efc998d723b9e31ccdb79b4ed23 now includes the check for udc. I need to figure out how best to "disable" it. I think I will have the script check for a DWC or gadget file in…
@marcel reminds me that he discovered this earlier. I will need to reflash a pi zero w 2 image on a SD and see if also happens to me.
I updated my (not fresh) install on a pi zero w 2 and still get dwc2 foley@foley-rover:~ $ lsmod
I finished the script and service in August, but apparently it's unreliable on the Pi Zero W 2. Investigation needed.
lsmod finds a dwc2 on my pi running the service uname -a Linux foley-rover 6.18.34+rpt-rpi-v7 #1 SMP Raspbian 1:6.18.34-1+rpt1 (2026-06-09) armv7l GNU/Linux