From a73e40b960beb2eb0d37cb9e29168a2baa19721d Mon Sep 17 00:00:00 2001 From: Joseph Timothy Foley Date: Fri, 4 Sep 2026 16:08:27 +0000 Subject: [PATCH] Tested. IT works. Updating directions to enable and disable --- gadget.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gadget.md b/gadget.md index d36483b..4712d74 100644 --- a/gadget.md +++ b/gadget.md @@ -88,9 +88,15 @@ This is similar to the procedure for accessing an Arduino. # Enabling/Disabling the OTG mode to use a keyboard and mouse again -**WARNING: Untested** -1. Disable: Delete a file called `GADGET_MODE` in the boot partition/drive when not on a pi. If the Pi is booted, you can delete `sudo rm /boot/firmware/GADGET_MODE` and reboot -1. Enable: create a file called `GADGET_MODE` in the boot partition/drive when not on a pi. If the Pi is booted, you can create `sudo touch /boot/firmware/GADGET_MODE` and reboot +## Disable +1. Remove the SD card and access it on your computer +1. Delete the file called `GADGET_MODE` in the boot partition/drive usually called `bootfs`. +1. If the Pi is booted, you can `sudo rm /boot/firmware/GADGET_MODE` and reboot. + +## Enable +1. Remove the SD card and access it on your computer +1. Create a file called `GADGET_MODE` in the boot partition/drive called `bootfs`. +2. If the Pi is booted, you can `sudo touch /boot/firmware/GADGET_MODE` and reboot # Connecting over the USB ethernet to ssh into your Pi