Browse Source

Update "README.md".

Update "README.md" adding udevadm instructions and build status image.
tags/v0.0.1
pvivell 6 years ago
parent
commit
4829c3cccc
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      README.md

+ 4
- 1
README.md View File

14
 ![Kromek RadAngel](docs/Kromek_RadAngel.png)
14
 ![Kromek RadAngel](docs/Kromek_RadAngel.png)
15
 
15
 
16
 ## Daemon: radangel
16
 ## Daemon: radangel
17
+[![Build Status](https://drone.unino.de/api/badges/pvivell/radangel/status.svg)](https://drone.unino.de/pvivell/radangel)
18
+
17
 
19
 
18
 The `radangel` binary communicates with the RadAngel HID device (`04d8:0100`) via USB (`hidapi-libusb`) and uses threads (`pthreads`) to read events and push them in a queue, then pop them from the queue and write them into files.
20
 The `radangel` binary communicates with the RadAngel HID device (`04d8:0100`) via USB (`hidapi-libusb`) and uses threads (`pthreads`) to read events and push them in a queue, then pop them from the queue and write them into files.
19
 
21
 
20
 To grant permissions to the USB device, the udev system can be employed:
22
 To grant permissions to the USB device, the udev system can be employed:
21
 
23
 
22
- `echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="04d8", ATTR{idProduct}=="0100", MODE="0666"' | sudo tee /etc/udev/rules.d/99-kromek-radangel.rules`
24
+ * `echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="04d8", ATTR{idProduct}=="0100", MODE="0666"' | sudo tee /etc/udev/rules.d/60-kromek-radangel.rules`
25
+ * `udevadm control --reload-rules && udevadm trigger`
23
 
26
 
24
 Compiling the radangel binary for the linux operating system is easy:
27
 Compiling the radangel binary for the linux operating system is easy:
25
 Just run `make` in the `src` directory or
28
 Just run `make` in the `src` directory or

Loading…
Cancel
Save