Update readme.md.

merge-requests/1/head
Teuniz 2015-05-30 14:56:30 +02:00
rodzic 42aa9ffdb3
commit 3c2d4d8538
1 zmienionych plików z 32 dodań i 0 usunięć

Wyświetl plik

@ -20,3 +20,35 @@ How to compile:
Now you can run the program by typing: dsremote
In order to let the system load the usbtmc driver automatically,
proceed as follows:
Create a new group, usbtmc:
sudo groupadd usbtmc
Add yourself to this group:
sudo usermod -a -G usbtmc <your username>
Create a file /etc/udev/rules.d/usbtmc.rules with the following content:
####################################################################################
# USBTMC instruments
# Rigol Technologies DS6000 series
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="04b0", GROUP="usbtmc", MODE="0660"
# Devices
KERNEL=="usbtmc/*", MODE="0660", GROUP="usbtmc"
KERNEL=="usbtmc[0-9]*", MODE="0660", GROUP="usbtmc"
####################################################################################
Disconnect and connect the osciloscope again (or reboot).