Add diagnostics related to signal processing

This change adds AEC related diagnostics and revises the name/ID:s of some
of the already present diagnostic commands.

- Exclude command name when writing to syslog to save some log space.
- Remove diag_command struct, since its now redundant

TEST=Built successfully for guado

Change-Id: I9b3d9b22e93f89b28d124fec8e87c3837644f698
Signed-off-by: Karl Petersson <>
Reviewed-by: Emil Lundmark <>
Reviewed-by: Simon Que <>
1 file changed
tree: 46d6b9ceb9ea2c31e60245ac55f9df605621c242
  1. .clang-format
  2. .clang-tidy
  3. .gitignore
  4. CMakeLists.txt
  6. PRESUBMIT.cfg
  8. conf/
  9. src/


This tool is used to interact with an Atrus device.


The GNU C Library, libusb 1.0 and libudev are required. GNU C is required because the program utilizes argp.


CMake is used for building the application.

Here is an example of how to build:

$ mkdir build/
$ cd build/
$ cmake ..
$ make

You can also install it on your machine by running:

$ make install


Run the following to see the help section of the application.

$ atrusctl --help

Also, make sure you have read and write access to the USB device. This may be done by, e.g., setting appropriate udev rules.


Individual files are tagged with SPDX-License-Identifier to indicate its license instead of including the full license text. See the SPDX License List for more information.