commit | 55fa88d6b93ba0bcc0ad14a30c9bb4811127253a | [log] [tgz] |
---|---|---|
author | Karl Petersson <karl@limesaudio.com> | Fri Apr 21 12:49:04 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Wed May 10 16:43:50 2017 |
tree | ec1c7e90b20943ab49f17f9817112367180660d4 | |
parent | b2e16c9528b581ffa36959101d5ec4565a2139a7 [diff] |
Add commands for enabling/disabling diagnostics We need to be able to disable diagnostics while atrusctl is running. BUG=b:37615566 TEST=Built for guado, tested by first starting atrusctl daemon and verified that when running atrusctl daemon --diag-disable the logs no longer appeared. Change-Id: I0bcf4ebbfaa6c49bcde1fdae9aa433d0e3cbd742 Signed-off-by: Karl Petersson <karl@limesaudio.com> Reviewed-on: https://chromium-review.googlesource.com/484421 Reviewed-by: Emil Lundmark <emil@limesaudio.com> Reviewed-by: Simon Que <sque@chromium.org>
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.