# OE linux kernel module

## Package description

The package contain the Opto Engineering linux kernel module that can work with ItalaAPI library (oegevmodule). 
The goal of the module is to minimize packet loss and CPU load at acquisition time, 
especially useful with 10G cameras. 

## License

Check the LICENSE file for information about allowed usage of this package.

## Warning

"oegevmodule" is precompiled for a precise kernel version and configuration.
Installing the module in a kernel other than the one it was build in may crash the system
with undefined behaviour. This may happen specially with custom or third party kernels. 
    
## Install the module

First of all, add the execution permission to install.sh and uninstall.sh, if necessary:

    $ sudo chmod +x ./install.sh ./uninstall.sh 

Than, you can run the install script:

    $ sudo ./install.sh

Check if the module is correctly installed:

    $ sudo lsmod | grep oegevmodule

The above command return the list of modules installed with "oegevmodule" in the name. 
If the command return an empty string, the module is not correctly installed.

After these steps, itala-sdk and ItalaView can use the module.
You can check oegevmodule activity from the kernel logs:

    $ sudo dmesg

Note: you need to sign the module if your system has "secure boot" enabled.

## Uninstall the module

    $ sudo ./uninstall.sh
