Editing Granity for Linux

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help page.

Latest revision Your text
Line 2: Line 2:
  
 
==Installation & usage==
 
==Installation & usage==
To install the Granity for Linux, extract the zip file in any folder (for example your home folder) and make GranityLinux64 file executable. Following commands should be run under the folder where GranityLinux files is located:
+
To install the Granity for Linux, extract the zip file in any folder (for example your home folder) and make GranityLinux file executable. Following commands should be run under the folder where GranityLinux files is located:
  
 
<pre>chmod +x GranityLinux</pre>
 
<pre>chmod +x GranityLinux</pre>
Line 8: Line 8:
 
Then start it by:
 
Then start it by:
  
<pre>./GranityLinux64</pre>
+
<pre>./GranityLinux</pre>
 
+
To use 64 bit version (starting from Granity 1.14.0), just use GraniteLinux64 instead of GranityLinux as stated above.
+
  
 
This works in an ideal case where all necessary system libraries are installed. However, in typical cases few additional libraries (like 32 bit Qt4) are needed. For distribution specific instructions and library dependencies, please see guides below.
 
This works in an ideal case where all necessary system libraries are installed. However, in typical cases few additional libraries (like 32 bit Qt4) are needed. For distribution specific instructions and library dependencies, please see guides below.
  
 
==Distribution specific guides==
 
==Distribution specific guides==
 +
===LinuxCNC===
 +
Granity has been compiled on LinuxCNC 2.6 distribution. List of needed commands to install the needed libraries:
 +
 +
<pre>
 +
sudo apt-get update
 +
sudo apt-get install libqt4-webkit
 +
</pre>
 
===Debian 8.2 (64 bit Jessie release)===
 
===Debian 8.2 (64 bit Jessie release)===
 
<pre>
 
<pre>
Line 25: Line 30:
 
No data of other distributions are at the moment available. You may get hint of missing libraries by commanding
 
No data of other distributions are at the moment available. You may get hint of missing libraries by commanding
 
<pre>
 
<pre>
ldd GranityLinux64
+
ldd GranityLinux
 
</pre>
 
</pre>
 
It will list library dependencies and give hints of "not found" libraries. Feel free to add a chapter in this wiki page to help out others with the similar problem!
 
It will list library dependencies and give hints of "not found" libraries. Feel free to add a chapter in this wiki page to help out others with the similar problem!
 
===LinuxCNC===
 
{{info|This LinuxCNC section is outdated as 32 bit version of Granity is not included in latest versions. Use 64 bit Linux distributions instead, or use older release of Granity with 32 bit support.}}
 
Granity has been compiled on LinuxCNC 2.6 distribution. List of needed commands to install the needed libraries:
 
 
<pre>
 
sudo apt-get update
 
sudo apt-get install libqt4-webkit
 
</pre>
 
 
 
==Troubleshooting==
 
==Troubleshooting==
 
===Finding correct port===
 
===Finding correct port===
Line 43: Line 38:
  
 
===Port permissions===
 
===Port permissions===
Some distributions don't give enough permissions to access the port. To overcome this, try starting Granity with root permissions (command ''sudo ./GranityLinux'') or change port permissions (command sudo chmod a+rw /dev/ttyUSB0).
+
Some distributions don't give enough permissions to access the port. To overcome this, try starting Granity with root permissions (command sudo ./GranityLinux) or change port permissions (command sudo chmod a+rw /dev/ttyUSB0).
 
+
===Using direct FTDI USB chipset support===
+
Granity from version 1.14.0 supports connecting with the direct support of FTDI USB chip found on Granite Devices products. This is alternative to the virtual serial port and if Granity finds the compatible FTDI device, it is automatically listed in the communication interface list.
+
 
+
{{info|Sometimes kernel's FTDI driver is being loaded automatically and it prevents the usage of direct FTDI support in Granity. If device connection fails to open, try running command ''sudo rmmod ftdi_sio'' and try launching Granity again (if it works, consider blocking ftdi_sio driver automatic with [https://www.cyberciti.biz/tips/avoid-linux-kernel-module-driver-autoloading.html these] instructions). Also it may be necessary to run Granity with root privileges (''sudo ./GrantyLinux'') or adjust system USB device permissions. }}
+
  
 
===Scope graphs not displaying===
 
===Scope graphs not displaying===
 
This happens if the executable is launched in the other folder than it's location (because program doesn't find then "flot" folder). To workaround, start program in the same folder where the GranityLinux file is. I.e. in command prompt run ./GranityLinux. The fix for this is coming after V1.9.1.
 
This happens if the executable is launched in the other folder than it's location (because program doesn't find then "flot" folder). To workaround, start program in the same folder where the GranityLinux file is. I.e. in command prompt run ./GranityLinux. The fix for this is coming after V1.9.1.
 
[[Category:Granity_user_guide]]
 
[[Category:Granity]]
 
[[Category:Granity_troubleshooting]]
 

Please note that all contributions to Granite Devices Knowledge Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Granite Devices Knowledge Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Select categories:

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)