diff --git a/dmctl.md b/dmctl.md index e839b2e..cee4239 100644 --- a/dmctl.md +++ b/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. +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-` device which can also be used by `dmctl` using `--conn /dev/dmj-`. + ### General subcommands #### get-device-info