Linux support
Here you get support for using cronologic products with Linux.
Linux support is available for all cards except the HPTDC8-PCI, which has not been in the range for some time.
We provide an open source kernel module as a DKMS package, that can be installed on all modern linux distributions.
In order to set up your cronologic device with your Linux machine:
1.) install our cronologic_linux_kernel
, an open-source project availabe on our GitHub.
2.) get the necessary libraries for the particular device you bought.
They are provided with our wrappers, utilities, and examples available on GitHub:
You can find detailed instructions for the installation on the respective GitHub repositories, as well.
1. Install cronologic_linux_kernel
The cronologic_linux_kernel
has been tested on the following 64-bit distributions
(see the GitHub README for details on the particular versions):
- Ubuntu
- CentOS
- Fedora
- Debian
- openSUSE
1.1 Install the prerequisites
Make sure to install the prerequisites before attempting to install cronologic_linux_kernel
. sudo
privileges are necessary for installation.
We strongly recommend using DKMS to manage the kernel installation.
Ubuntu
CentOS
Fedora
Debian
openSUSE
1.2 Clone the GitHub repository
git clone https://github.com/cronologic-de/cronologic_linux_kernel.git
Alternatively, download the latest release and unpack it.
1.3 Install the kernel using DKMS
We strongly recommend using DKMS
to manage your installation. In a terminal, navigate to the project folder you just cloned (or downloaded and unpacked) and run.
sudo dkms install .
If you are unable to use DKMS
, you can find instructions on a manual installation here.
Warning
If you don’t use DKMS
to manage the installation, you have to recompile and reinstall cronologic_linux_kernel
for every change to your Linux kernel.
2. Compile and run the GitHub example
Clone the babel
repository of your card using the following command (alternatively, download the latest release from the respective repository release page):
xHPTDC8-PCIe
xTDC4-PCIe
Ndigo6G-12
Ndigo5G-10
Follow the instructions in the repository README
on how to compile the user guide example.
If you can successfully run the user guide example, either adjust it to your needs or make sure that you link the necessary Linux libraries in your own project. They are provided in the \lib\
directory of the respective repository.