Installation

Lukas Jirkovsky
There is a newer version of this page. You can find it here.

Installation

Requirements:

GNU/Linux
C compiler
CMake 2.8
libusb 1.x
C++ compiler – optional, needed for qeilin (graphical interface)
Qt 4 – optional, needed for qeilin (graphical interface)

Compiling:

eilin uses CMake build system to build binaries. The simplest way to install eilin is to run the following commands within the source directory:

cmake .
make
make install

This will install eilin to the default CMAKE_INSTALL_PREFIX (probably /usr/local) and it's configuration file into /etc.

Running under a non-root user

eilin accesses the USB directly using the libusb. However this requires that the user
has enough privileges to access USB. Because of that, eilin is installed with setuid
root by default.

Other option is to use udev rule to allow non-root access to the device. To do that,
you must do the following:

  1. create a group named eilin:
groupadd eilin
  1. copy the supplied file "51-eizo.rules" to "/etc/udev/rules.d/"

  2. add all users that are allowed to control monitors to the "eilin" group

usermod -a -G eilin USERNAME
  1. compile and install eilin without setuid by passing
-DINSTALL_SETUID=OFF

to cmake


MongoDB Logo MongoDB