Add Comedi post.
authorW. Trevor King <wking@drexel.edu>
Wed, 8 Dec 2010 20:17:47 +0000 (15:17 -0500)
committerW. Trevor King <wking@drexel.edu>
Wed, 8 Dec 2010 20:19:26 +0000 (15:19 -0500)
posts/Comedi.mdwn [new file with mode: 0644]
posts/Gentoo_overlay.mdwn
posts/warning:__Clock_skew_detected.mdwn

diff --git a/posts/Comedi.mdwn b/posts/Comedi.mdwn
new file mode 100644 (file)
index 0000000..c154bdd
--- /dev/null
@@ -0,0 +1,34 @@
+[Comedi][] is a Linux COntrol and MEasurement Device Interface.  We
+use Comedi in our lab to contol [[experiments|Research]] via a [NI
+PCI-6052E][6052E].  The basic architecture for a Comedi application
+is:
+
+    kernel space   |   user space
+                   |
+    device         |
+      |            |
+    kernel --------|-- libcomedi - application
+      |            |
+    comedi module  |
+
+To make matters more complicated, there are two version of the kernel
+module, one [in CVS at comedi.org][external] and another [in the
+kernel itself][kernel].
+
+Luckily, many distributions now package versions of the in-kernel
+staging driver (e.g. [Debian][] and [Ubuntu][]).  I was feeling left
+out on Gentoo, so I've just revived the [old Gentoo packages][gentoo]
+and added them to my [[Gentoo overlay]].
+
+[Comedi]: http://www.comedi.org/
+[6052E]: http://sine.ni.com/nips/cds/view/p/lang/en/nid/2601
+[external]: http://www.comedi.org/cgi-bin/viewvc.cgi/comedi/
+[kernel]: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=drivers/staging/comedi
+[Debian]: http://packages.debian.org/sid/python-comedilib
+[Ubuntu]: http://packages.ubuntu.com/natty/python-comedilib
+[Gentoo]: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-libs/comedilib/?hideattic=0
+
+[[!tag tags/latex]]
+[[!tag tags/programming]]
+[[!tag tags/tools]]
+[[!tag tags/hardware]]
index e7b65be0c01960fb1e124d359c5c5706b4682123..fd44f688403f5387b2539ca40bbb11efc69d88e1 100644 (file)
@@ -25,9 +25,9 @@ personal `layman.xml`).  The overlay is a fairly strange mix:
   ([Gentoo 76017](http://bugs.gentoo.org/76017),
    also in the [Sunrise overlay][])
 - sci-libs/comedilib
-  ([comedilib][comedi])
+  ([[comedilib|Comedi]])
 - sci-misc/comedi-headers
-  ([comedi][] kernel module headers)
+  ([[Comedi]] kernel module headers)
 - sci-physics/hooke
   (my branch of the [[Hooke]] [[force spectroscopy]] analyzer)
 - sci-physics/sawsim
@@ -56,7 +56,6 @@ ikiwiki ebuild into the stock Portage tree..
 [layman]: http://layman.sourceforge.net/
 [global]: http://www.gentoo.org/proj/en/overlays/repositories.xml
 [Sunrise overlay]: http://overlays.gentoo.org/proj/sunrise
-[comedi]: http://www.comedi.org/
 [ikiwiki]: http://ikiwiki.info/
 
 [[!tag tags/linux]]
index 1e68799022df4623499fa9cfb1a8dffddde5c14f..f129ec32bdafe563286d3fc458c63ed1c784c142 100644 (file)
@@ -1,7 +1,8 @@
 [[!meta  title="warning:  Clock skew detected"]]
 [[!meta  date="2009-05-08 14:56:46"]]
-I was running `make` to build [Comedi](http://www.comedi.org/) against
-the current Hardy kernel, and it died with
+
+I was running `make` to build [[Comedi]] against the current Hardy
+kernel, and it died with
 
     ...
     make[1]: Warning: File `Makefile' has modification time 1.1e+02 s in the future