--- /dev/null
+[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]]
([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
[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]]
[[!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