commit | 04180693826b79b37efae6103f79e163f2ed2e5d | [log] [tgz] |
---|---|---|
author | Emil Lundmark <emil@limesaudio.com> | Mon Mar 06 11:21:40 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Fri Apr 07 12:21:30 2017 |
tree | fed975ba5d0fedff5de1fbf63229314533dc37c7 | |
parent | 3222ca2822fdb04920c134b5599fd0c0cbcc5171 [diff] |
Add rsyslog config atrusctl is querying the Atrus device once a minute for status of different parameters and states. We do not want these messages to fill up /var/log/messages, and we want them to be easy to grab and send them as an attachment with a feedback report. BUG=b:35860447 TEST=Verified that logs are separated to its own file Change-Id: I94cf5dafd253feefe5a8151a47cdf8a436734516 Signed-off-by: Emil Lundmark <emil@limesaudio.com> Reviewed-on: https://chromium-review.googlesource.com/450245 Reviewed-by: Dmitry Torokhov <dtor@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.