Update 'dmctl'

Triss 2021-07-30 17:39:22 +00:00
parent 40b34e741d
commit 84f134cea5
1 changed files with 6 additions and 0 deletions

@ -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.
Communicating these commands happens over the USB vendor interface.
### General usage
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
```
### 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
#### get-device-info