Bläddra i källkod

Update "README.md".

Update "README.md" adding udevadm instructions and build status image.
tags/v0.0.1
pvivell 6 år sedan
förälder
incheckning
4829c3cccc
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4
    1
      README.md

+ 4
- 1
README.md Visa fil

@@ -14,12 +14,15 @@ The digitized detector signals are sent to a PC via the mini-USB which also powe
14 14
 ![Kromek RadAngel](docs/Kromek_RadAngel.png)
15 15
 
16 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 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 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 27
 Compiling the radangel binary for the linux operating system is easy:
25 28
 Just run `make` in the `src` directory or

Laddar…
Avbryt
Spara