We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:xprotolab [2016/06/20 17:10]
john1117 [Build & Run]
en:xprotolab [2016/10/04 14:38] (current)
john1117 [Build & Run]
Line 23: Line 23:
 ==== Build & Run ==== ==== Build & Run ====
 1. Install Qt packages 1. Install Qt packages
-  sudo apt-get update 
 === XU4 === === XU4 ===
   sudo apt-get update   sudo apt-get update
Line 29: Line 28:
   sudo apt-get --reinstall install libgles2-mesa   sudo apt-get --reinstall install libgles2-mesa
 === C2 === === C2 ===
-You must remove mali-fbdev package before installing qt5. +  sudo apt-get update 
-<WRAP hide> ​ ​apt-get ​remove mali-fbdev</​WRAP>​+  ​sudo apt-get ​upgrade
   sudo apt-get install qt5-default libqt5serialport5-dev libusb-1.0-0-dev   sudo apt-get install qt5-default libqt5serialport5-dev libusb-1.0-0-dev
-<WRAP hide> ​  +<WRAP hide> 
-  apt-get download mali-fbdev +You must remove mali package before installing qt5. \\ 
-  dpkg -i --force-overwrite mali-fbdev*.deb+Also need to update the system software with [[http://​odroid.com/​dokuwiki/​doku.php?​id=en:​c2_ubuntu_release_note_v1.2#​how_to_update_the_kernel_and_system|dist-upgrade]] first. 
 +<​code>​ 
 +sudo apt-get ​update 
 +sudo apt-get remove mali-x11 
 +sudo apt-get install qt5-default libqt5serialport5-dev libusb-1.0-0-dev 
 +sudo apt download mali-x11 
 +sudo dpkg -i --force-overwrite mali-x11*.deb 
 +sudo apt-get install xserver-xorg-video-mali 
 +sudo ldconfig 
 +</​code>​
 </​WRAP>​ </​WRAP>​
- 
 === C1 === === C1 ===
   sudo apt-get update   sudo apt-get update
Line 56: Line 63:
   cd xscopes-qt   cd xscopes-qt
   qmake   qmake
-  make -j8+  make -j5
  
 4. Run 4. Run
Line 66: Line 73:
  
 [[http://​www.gabotronics.com/​product-info/​xprotolab-pc-interface.htm|Other OS programs]] [[http://​www.gabotronics.com/​product-info/​xprotolab-pc-interface.htm|Other OS programs]]
 +
 +==== Run without sudo ====
 +If you want to run the program without sudo such as desktop icon, you need to add following line into "/​etc/​udev/​rules.d/​10-odroid.rules"​.
 +  SUBSYSTEMS=="​usb",​ ATTRS{idVendor}=="​16d0",​ ATTRS{idProduct}=="​06f9",​ GROUP="​users",​ MODE="​0666"​
 +And then, reload the udev.
 +  sudo udevadm control --reload
 ==== Oscilloscope echo test using AWG ==== ==== Oscilloscope echo test using AWG ====
 1. Wiring 1. Wiring
en/xprotolab.1466412015.txt.gz · Last modified: 2016/06/20 17:10 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0