Compare commits

..

2 Commits

Author SHA1 Message Date
foley 789cb5e70e missing a t 2026-06-28 23:49:02 +00:00
foley d10ad7ee94 added UDC 2026-06-28 23:48:49 +00:00
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -1,3 +1,4 @@
#!/bin/bash
# Adapted from # Adapted from
# "Using OTG mode on Raspberry Pi SBCs" # "Using OTG mode on Raspberry Pi SBCs"
# https://pip-assets.raspberrypi.com/categories/685-app-notes-guides-whitepapers/documents/RP-009276-WP/Using-OTG-mode-on-Raspberry-Pi-SBCs # https://pip-assets.raspberrypi.com/categories/685-app-notes-guides-whitepapers/documents/RP-009276-WP/Using-OTG-mode-on-Raspberry-Pi-SBCs
@@ -46,3 +47,7 @@ ln -s functions/acm.usb0 configs/c.1/
## Ethernet (RNDIS and ECM) ## Ethernet (RNDIS and ECM)
mkdir functions/ecm.usb0 mkdir functions/ecm.usb0
ln -s functions/ecm.usb0 configs/c.1/ ln -s functions/ecm.usb0 configs/c.1/
## USB Device Controller update
UDC=`ls /sys/class/udc`
echo $UDC > UDC
+1 -1
View File
@@ -4,4 +4,4 @@ After=systemd-user-sessions.service
[Service] [Service]
ExecStart=/root/rover-pi/Scripts/gadget.sh ExecStart=/root/rover-pi/Scripts/gadget.sh
[Install] [Install]
WantedBy=multi-user.targe WantedBy=multi-user.target