You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,14 @@ It is **a shell script** to run on device in order to enable features, rather th
12
12
- mass-storage
13
13
14
14
## Benefits:
15
+
- simple: one single command/service to run (no kernel parameters-list & drivers fiddling)
15
16
- Interoperates with most host OS computers (Linux/macOS/Windows) without additional host-side drivers or configuration required.
16
17
- Supports any linux device with OTG-peripheral capability (including Raspberry Pis).
17
18
- Performs initial OTG ports sanity-checks and returns diagnostics if not properly set.
18
19
19
20
## Setup procedure:
20
21
Make sure `dwc2` (or `dwc3`) driver is previously loaded on capable device, and configuration is set to **OTG peripheral** mode: this may be driven by hardware (including cable) and/or software.\
21
-
(on supporting Pi devices, just add `dtoverlay=dwc2,dr_mode=peripheral` in `config.txt` to force both by software)
22
+
(on supporting Pi devices[^2], just add `dtoverlay=dwc2,dr_mode=peripheral` in `config.txt` to force both by software)
22
23
23
24
Then connect device to host via USB cable, and run `xg_multi` on device as follows:
24
25
```
@@ -37,7 +38,9 @@ Options: -D|--Device <MAC address> Specify MAC address for device
37
38
```
38
39
Main execution steps are logged: `cat /var/log/messages | grep xg_multi`.
39
40
40
-
OpenRC files are available to run `xg_multi` as a boot service; a complete Alpine Linux [package](https://pkgs.alpinelinux.org/packages?name=xg_multi&branch=edge&repo=&arch=&origin=&flagged=&maintainer=) is also available (check [wiki](https://github.com/macmpi/xg_multi/wiki/Install) for details).
41
+
Services files are provided to run `xg_multi` as a boot service; a complete Alpine Linux [package](https://pkgs.alpinelinux.org/packages?name=xg_multi&branch=edge&repo=&arch=&origin=&flagged=&maintainer=) is also available (check [wiki](https://github.com/macmpi/xg_multi/wiki/Install) for details).
- application-specific ports setup (i.e. serial options, console bring-up, networking configuration, ...) are not in the scope of this project: user shall take care of this after gadget ports are created.\
@@ -47,9 +50,11 @@ OpenRC files are available to run `xg_multi` as a boot service; a complete Alpin
0 commit comments