more cleaning up

This commit is contained in:
2026-06-29 00:22:16 +00:00
parent b7a327904e
commit 6a70ef94d1
+3 -6
View File
@@ -1,16 +1,13 @@
# Gadget Mode to setup a serial connection over USB # Gadget Mode to setup a serial connection over USB
Prepare Raspberry Pi OS connection over a microUSB serial cable Prepare Raspberry Pi OS connection over a microUSB serial cable
Important:  choose either PiUART or OTG.  If you do both, it is possible that neither will work.  Also, you will want to disable the serial console if you are trying to use that serial port for communicating with other devices.  Important reading:  Raspberry PI UART configuration Important: You will want to disable the serial console on RX/TX if you are trying to use that serial port for communicating with other devices.
USB-OTG method (Works on Zero, Zero W, and Compute Module)
Based upon Adafruit guide: https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget/serial-gadget: Based upon Adafruit guide: https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget/serial-gadget:
The author discovered errors in the guide and was able to correct them thanks to this blog https://www.isticktoit.net/?p=1383
# Raspberry Pi Connect
Make sure you have your USB cable plugged into the left port **USB** and not the right port marked **PWR**. Make sure you have your USB cable plugged into the left port **USB** and not the right port marked **PWR**.
1. Open a connection to the device 1. Open a connection to the device via ssh or Raspberry Pi Connect
1. Become root (the superuser) 1. Become root (the superuser)
``` ```
sudo su sudo su