User Tools

Site Tools


ds:comedi

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
ds:comedi [2015/08/06 11:33]
tmilosic
ds:comedi [2015/08/06 16:07] (current)
tmilosic
Line 52: Line 52:
 === Linux In-Tree Comedi Support === === Linux In-Tree Comedi Support ===
  
-Comedi and available drivers are integrated into the Linux kernel since 2.6.30\\ +Comedi and available drivers are also integrated into the Linux kernel \\ 
-located in the experimental staging tree.\\+since 2.6.30located in the experimental staging tree.\\ 
 + 
 +This might be the best choice unless the kernel version of choice\\ 
 +lacks required hardware support or contains bugs stopping its use.\\ 
 +In that case we should use the out-of-tree Git version as described above.\\
  
 To enable Comedi and build the //comedi// module, setup the \\ To enable Comedi and build the //comedi// module, setup the \\
Line 88: Line 92:
 ==== Comedilib ==== ==== Comedilib ====
  
-Comedilib needs to be installed manually either via Git +Comedilib needs to be installed manually either via \\ 
-  git clone git://comedi.org/git/comedi/comedi.git +the latest stable release tarball from the Comedi page
-or by getting the latest stable release tarball from the Comedi page+
   wget http://www.comedi.org/download/comedilib-0.10.2.tar.gz   wget http://www.comedi.org/download/comedilib-0.10.2.tar.gz
-At time of writing 0.10.2 was the latest stable release.+(At time of writing 0.10.2 was the latest stable release
 +or by checking in out from the Git repository 
 +  git clone git://comedi.org/git/comedi/comedi.git 
 +   
 +The Git checkout requires to generate the //configure// script 
 +using //autotools// 
 + 
 +  ./autogen.sh 
 + 
 +Hint: Depending on the autotools version, it might be required 
 +to delete or comment the AM_PROG_AR macro in configure.ac! 
 + 
 +To display all available options 
 + 
 +  ./configure --help 
 + 
 +Afterwards compile and install it via 
 + 
 +  make 
 +  make install 
 +   
 +Once the drivers are properly loaded\\ 
 +an overview of all supported Comedi devices\\ 
 +can be received from
  
   > comedi_board_info   > comedi_board_info
Line 134: Line 160:
 This is useful when writing real-time kernel modules that need\\ This is useful when writing real-time kernel modules that need\\
 access to Comedi devices. access to Comedi devices.
 +
 +The //kcomedilib// module is automatically built with the external\\
 +comedi package (see above). The intree version requires manual\\
 +setting of the appropriate kernel config under "Comedi misc drivers".
  
 ==== Resources ===== ==== Resources =====
 +
 +=== Comedi Webpage ===
 +http:%%//%%comedi.org \\
 +
 +=== Git Targets ===
 +git:%%//%%comedi.org/git/comedi/comedi.git \\
 +git:%%//%%comedi.org/git/comedi/comedilib.git
 +
 +
ds/comedi.1438853605.txt.gz · Last modified: 2015/08/06 11:33 by tmilosic