iseg VME Control is a graphical program to control iseg high voltage VME devices.
The connection to VME bus is done with the WIENER VM-USB controller.
To use the VM-USB controller, the library libusb must be installed (best via packet manager of your Linux distribution).
Furthermore, the Wiener library libxx_usb.so must be copied to /usr/lib/. This library is a wrapper that uses libusb to access the VM-USB controller. After connecting the VM-USB to the PC, it is recognized as USB 2.0 device. Depending on system, you can get more information (e.g. serial number) about this by
/sbin/lsusb -vor (only with recent kernels):
dmesg
The VM-USB serial number is always VMxxxx, where xxxx is the four digit serial number, e.g. VM0124.
For iseg Control, the Qt libraries (version 4.2 or higher) are needed on your system. If not installed yet, please do so via your systems packet manager.sudo apt-get install g++ sudo apt-get install libusb-dev sudo apt-get install qt4-dev-tools libqt4-dev
The easiest way to build iseg Control is to use Qt Creator (Version 3.3.0 or newer is recommended). Just load the isegControl.pro project file and choose Build All (Ctrl+Shift+B). Otherwise, use the shell and create a build directory parallel to the source directory:
mkdir isegControl-build-desktop qmake ../isegControl/isegControl.pro make
./isegControl: error while loading shared libraries: /usr/lib/libxx_usb.so: cannot restore segment prot after reloc: Permission deniedIn this case, you can temporary turn off SELinux with:
/usr/sbin/setenforce 0or, if you want to, disable SELinux permanently by editing /etc/selinux/config, set enforcing disabled and reboot your system.
chcon -t texrel_shlib_t libxx_usb.soshould also work, but was not tested.
ACTION=="add", SUBSYSTEM=="usb_device", \ PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \ NAME="%c", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb-device", MODE="0666"Following, you can re-plug the VME-Controller's USB cable.