[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 Git 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://comedi.org/git?p=comedi/comedi.git;a=summary [kernel]: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=drivers/staging/comedi;hb=HEAD [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/linux]] [[!tag tags/programming]] [[!tag tags/tools]] [[!tag tags/hardware]]