merge-requests/1/head
Teuniz 2017-02-04 18:07:43 +01:00
rodzic 56160c11e3
commit 9407e9debd
2 zmienionych plików z 53 dodań i 12 usunięć

Wyświetl plik

@ -5,20 +5,29 @@ Operate your Rigol oscilloscope from your Linux desktop.
How to compile:
---------------
- Install the Qt4 development package.
For example, on openSuse, start Yast and install the package "libqt4-devel".
On Ubuntu, open a console and enter: sudo apt-get install libqt4-dev libqt4-core g++
- Now, open a terminal (console) and cd to the directory that contains the source files and
enter the following commands:
- Install Git, the GCC compiler and the Qt4 development package:
Linux Mint 18: sudo apt-get install git-core libqt4-dev libqt4-core g++
openSuse Leap 42.2: sudo zypper in git-core libqt4-devel
Fedora 25: sudo dnf install git-core qt-devel gcc-c++
qmake
- Download the source code:
mkdir DSRemote_git
cd DSRemote_git
git init
git pull https://github.com/Teuniz/DSRemote
make -j16
- Create the makefile:
Linux Mint 18: qmake
openSuse Leap 42.2: qmake
Fedora 25: qmake-qt4
sudo make install
- Compile the source code and install it:
make -j16
sudo make install
Now you can run the program by typing: dsremote
Now you can run the program by typing: dsremote
Read also the file readme_usbtcm_driver.txt
and the file notes.txt.

Wyświetl plik

@ -1,5 +1,37 @@
This applies to the DS6000 series.
The DS1054Z is plug and play with a recent kernelversion.
You probably have to add yourself to the group "usbtmc" before you can access the device.
Here's how you do that:
First, check the groupname of the device, enter:
ls -l /dev/usbtmc*
Now, add yourself to the group (usbtmc in this example):
sudo usermod -a -G usbtmc <username>
You need to logout and login again to let the changes take into effect.
In case you have a permission problem because /dev/usbtmc0 uid and gid are set to root,
create a file /lib/udev/rules.d/30-usbtmc.rules that contains the following:
####################################################################################
# USBTMC instruments
# Rigol Technologies DS1000Z series
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="04ce", GROUP="usbtmc", MODE="0660"
# Devices
KERNEL=="usbtmc/*", MODE="0660", GROUP="usbtmc"
KERNEL=="usbtmc[0-9]*", MODE="0660", GROUP="usbtmc"
####################################################################################
You need to reboot in order to take it into effect.
///////////////////////////////////////////////////////////////////////////////
The following applies to the DS6000 series.
In order to let the system load the usbtmc driver automatically,
proceed as follows:
@ -13,7 +45,7 @@ Add yourself to this group:
sudo usermod -a -G usbtmc <username>
Create a file /etc/udev/rules.d/usbtmc.rules with the following content:
Create a file /lib/udev/rules.d/30-usbtmc.rules with the following content:
####################################################################################
# USBTMC instruments
@ -27,6 +59,6 @@ KERNEL=="usbtmc[0-9]*", MODE="0660", GROUP="usbtmc"
####################################################################################
Disconnect and connect the oscilloscope again (or reboot).
You need to reboot in order to take it into effect.