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.

TEST=Verified that logs are separated to its own file

Change-Id: I94cf5dafd253feefe5a8151a47cdf8a436734516
Signed-off-by: Emil Lundmark <>
Reviewed-by: Dmitry Torokhov <>
1 file changed
tree: fed975ba5d0fedff5de1fbf63229314533dc37c7
  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.