Skip to content

Commit

Permalink
Reformat layout slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
xcellerator committed Nov 12, 2017
1 parent f4e55a2 commit 65afc48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/OPTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ productname: Composite USB Device
|Option|Description|Format|Default Value|
|-|-|-|-|
|`gadget`|The USB gadget(s) to be used|`gadget1, gadget2, etc`|`serial`|
|`post`|An executable or script to be run after all the gadgets are setup|`file` or `/path/to/file`|none|
|`post`|An executable or script to be run after all the gadgets are setup (See below)|`file` or `/path/to/file`|none|
|`vendorid`|The VID presented to the Host OS|`0x????` (two hex bytes)|`0x1d6b`|
|`productid`|The PID prestented to the Host OS|`0x????` (two hex bytes)|`0x0104`|
|`serialnumber`|The Serial Number of the emulated device|`????????????????` (16 hex characters)|`fedcba9876543210`|
|`manufacturer`|The Manufacturer string reported to the Host OS|Up to 32 characters long|`Generic Corp`|
|`productname`|The Product Name string reported to the Host OS|Up to 32 characters long|`USB Device`|

**Note: The `post` script can be either an absolute path or a path relative to `/boot/usbninja/`.**
**Note:** The `post` script can be either an absolute path or a path relative to `/boot/usbninja/`.

**Note: The `post` script must also have the executable bit set with `sudo chmod +x /path/to/file`.**
**Note:** The `post` script must also have the executable bit set with `sudo chmod +x /path/to/file`.

### Settings available to certain gadgets
|Option|Gadget|Description|Format|Default Value|
Expand Down

0 comments on commit 65afc48

Please sign in to comment.