Update 'dmctl'
parent
40b34e741d
commit
84f134cea5
6
dmctl.md
6
dmctl.md
|
@ -1,5 +1,7 @@
|
||||||
`dmctl` is the host-side utility for configuring the device at runtime. It can be used to query device info, switch to another mode, or perform a few mode-specific commands.
|
`dmctl` is the host-side utility for configuring the device at runtime. It can be used to query device info, switch to another mode, or perform a few mode-specific commands.
|
||||||
|
|
||||||
|
Communicating these commands happens over the USB vendor interface.
|
||||||
|
|
||||||
### General usage
|
### General usage
|
||||||
|
|
||||||
The `dmctl.sh` script can be found in the `host/` directory in the source tree.
|
The `dmctl.sh` script can be found in the `host/` directory in the source tree.
|
||||||
|
@ -32,6 +34,10 @@ subcommands:
|
||||||
SUMP logic analyzer overclock settings
|
SUMP logic analyzer overclock settings
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Connecting to a device
|
||||||
|
|
||||||
|
While it is possible to have `dmctl` connect directly to a USB device (using `--conn vid:pid` or `--conn bus.dev`), having the kernel module loaded will keep the USB vendor interface reserved for itself. To work around this problem, a character device driver has been made, which exposes a `/dev/dmj-<id>` device which can also be used by `dmctl` using `--conn /dev/dmj-<id>`.
|
||||||
|
|
||||||
### General subcommands
|
### General subcommands
|
||||||
|
|
||||||
#### get-device-info
|
#### get-device-info
|
||||||
|
|
Loading…
Reference in New Issue