aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2020-08-25 01:06:05 +0200
committerGitHub <noreply@github.com>2020-08-25 01:06:05 +0200
commit9006857c4517044b8fcb6e6266e172d6e8c1cce5 (patch)
tree09df3ce35a314978b5ac45a05f48a11c548732f1 /docs/linux
parent622e52f44c4904c8e58cb23dc3259d69a9a6c38e (diff)
docs/usb: fix raw-gadget instructions
Diffstat (limited to 'docs/linux')
-rw-r--r--docs/linux/external_fuzzing_usb.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/linux/external_fuzzing_usb.md b/docs/linux/external_fuzzing_usb.md
index 40c68a8da..226576ec1 100644
--- a/docs/linux/external_fuzzing_usb.md
+++ b/docs/linux/external_fuzzing_usb.md
@@ -218,13 +218,12 @@ These instructions describe how to set this up on a Raspberry Pi Zero W, but any
15. Insert the module with `sudo insmod raw_gadget.ko`.
-16. [Download](https://raw.githubusercontent.com/xairy/raw-gadget/master/examples/keyboard.c), [patch](https://raw.githubusercontent.com/xairy/raw-gadget/master/examples/rpi_zero.patch), build and test the [keyboard emulator program](https://github.com/xairy/raw-gadget/tree/master/examples):
+16. [Download](https://raw.githubusercontent.com/xairy/raw-gadget/master/examples/keyboard.c), build and run the [keyboard emulator program](https://github.com/xairy/raw-gadget/tree/master/examples):
``` bash
# Get keyboard.c
- # Apply rpi_zero.patch
gcc keyboard.c -o keyboard
- sudo ./keyboard
+ sudo ./keyboard 20980000.usb 20980000.usb
# Make sure you see the letter 'x' being entered on the host.
```