From ff6a34ab91eae6574834854194c5d981bdb04b82 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 8 Dec 2010 15:17:47 -0500 Subject: [PATCH] Add Comedi post. --- posts/Comedi.mdwn | 34 ++++++++++++++++++++++++ posts/Gentoo_overlay.mdwn | 5 ++-- posts/warning:__Clock_skew_detected.mdwn | 5 ++-- 3 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 posts/Comedi.mdwn diff --git a/posts/Comedi.mdwn b/posts/Comedi.mdwn new file mode 100644 index 0000000..c154bdd --- /dev/null +++ b/posts/Comedi.mdwn @@ -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]] diff --git a/posts/Gentoo_overlay.mdwn b/posts/Gentoo_overlay.mdwn index e7b65be..fd44f68 100644 --- a/posts/Gentoo_overlay.mdwn +++ b/posts/Gentoo_overlay.mdwn @@ -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]] diff --git a/posts/warning:__Clock_skew_detected.mdwn b/posts/warning:__Clock_skew_detected.mdwn index 1e68799..f129ec3 100644 --- a/posts/warning:__Clock_skew_detected.mdwn +++ b/posts/warning:__Clock_skew_detected.mdwn @@ -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 -- 2.26.2