commit | 862532017d43ab68d3d69e8b2c92c858a3944b87 | [log] [tgz] |
---|---|---|
author | Emil Lundmark <emil@limesaudio.com> | Mon Feb 27 16:36:02 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Fri Mar 17 07:28:53 2017 |
tree | 40c9813023a7a8ff9cda10831f0ac90145022de3 | |
parent | e0f32d96db2abf92548b8962ca8a0da7916e87d1 [diff] |
Add more diagnostic commands Add additional commands that should be run by default when diagnosing. The command timeout also needs to be increased since some of the new commands takes longer to complete. BUG=b:35860435 TEST=Attached an Atrus device to a guado and ran `atrusctl diagnose` and verified that the result of all commands were printed. Change-Id: I42b625df5165ab0163a5626e1af777b1ecb0868d Signed-off-by: Emil Lundmark <emil@limesaudio.com> Reviewed-on: https://chromium-review.googlesource.com/447397 Reviewed-by: Marcus Wirebrand <marcus.wirebrand@limesaudio.com> Reviewed-by: Mike Frysinger <vapier@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.