Monday 27 July 2015

Configure AJA device


0. Dependency:
g++, libasound2, libsound2-dev, and libncurses5-dev
For Qt-based demo, qt4-dev-tools is required. qt4-dev-tools doesn't include QtMultimedia which is required by the demo program.

In Ubuntu:
sudo apt-get install libasound2
sudo apt-get install autoconf


1. In terminal, under directory ntv2projects in the SDK. Use make command.

2. Load the device driver: sudo SDK_Dir/bin/loadOEM2K

3. Verify XENA2 is installed using 'lsmod'

------------------------------
Load .ko (driver) from boot (DO NOT WORKED FOR AJA DEVICE):
1. copy the XENA2.ko to /lib/modules/3.16.0-41-generic/kernel/drivers/ntv2
2. edit /etc/modules and add a line "XENA2"
3. "sudo depmod -a"
4. reboot
Make sure the kernel version is the one currently used.
------------------------------

------------------------------
Base on discussion in this link. To avoid linking error of pthread, following lines need to be added to the CMakeLists.txt due to a cmake bug.
  1. set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")
------------------------------

No comments:

Post a Comment