This guide outlines installing DUO devices on Ubuntu Desktop. Before starting, verify that your system meets the minimum system requirements.
Download the latest DUO Software to start using your device. On Linux the DUO requires a driver configuration which is included in the package.
Before plugging the camera you must install the device driver and required libraries. This will require the terminal and basic knowledge of using commands.
~/Documents/CL-DUO3D-LIN-1.1.0.30/
Get the required tools and libraries using this command:
sudo apt-get install build-essential qt5-default git cmake
You must build and load the DUO Kernel Module (duo.ko) for your version of Linux kernel. Go into the ~/Documents/CL-DUO3D-LIN-1.1.0.30/DUODriver/
folder and type:
chmod u+x duodriver.run ./duodriver.run
You can now use these commands to load, unload or install the module:
Loading the driver:
sudo insmod duo-1024.ko
Note: On some systems, since this driver tells DUO to use 1024 byte bulk packets (if DUO is connected to USB 3.0 port), this command results in USB packets being truncated by Linux kernel to 512 bytes resulting in corrupted image. If you see the packet loss in DUO Dashboard on your machine, please unload the driver and use the following:
sudo insmod duo-512.ko
Unloading the driver:
sudo rmmod -f duo
Once you determined that duo-1024 works, you can install the driver using following commands:
sudo cp duo-1024.ko /lib/modules/$(uname -r)/kernel/drivers/duo.ko echo 'duo' | sudo tee -a /etc/modules > /dev/null sudo depmod
Or if duo-1024 does not work, to install the driver use the following commands:
sudo cp duo-512.ko /lib/modules/$(uname -r)/kernel/drivers/duo.ko echo 'duo' | sudo tee -a /etc/modules > /dev/null sudo depmod
Only after you have successfully installed the requirements then connect the DUO to your computer with the supplied USB cable.
duo0
appears in /dev
directory on the file system.After the installation you will have new applications available on your system. Going to where you extracted the package, here is an example with the user directory at ~/Documents/CL-DUO3D-LIN-1.1.0.30/DUODashboard/
.
chmod +x DUODashboard
or right clicking on the file.
Using the Dashboard and Calibration applications will let you test if your DUO device is properly installed, tweak its parameters and view the output. Once your device is operating properly you can start reading the DUO Dashboard article to get started on the following guides.
If your devices is not recognized try resolving the issue with some of the tips in the Troubleshooting article.