- From: Andreas Leuner <al14_at_inf.tu-dresden.de>
- Date: Wed, 14 Dec 2005 15:43:25 +0100 (CET)
> Hi list,
>
> I recently tested linux kernel 2.6.14 with ipipe support plus RTAI magma
> (from beginning of december) together with (even more) recent comedi. The
> comedi configure script did not recognize ipipe support and thus didn't
> check for rtai.
I have modified the rtai.m4 script locally to recognize a kernel with
ipipe support. With this the generated configure script detects ipipe
support and activates RTAI support. The so modified comedi compiles fine
and modules load without any crashes. However I haven't tested the result
with real daq hardware yet. This is the patch:
diff -u -r1.9 rtai.m4
--- rtai.m4 15 Jun 2005 23:24:19 -0000 1.9
+++ rtai.m4 14 Dec 2005 14:33:34 -0000
_at__at_ -9,8 +9,9 _at__at_
AS_LINUX_CONFIG_OPTION_MODULE([CONFIG_RTHAL])
AS_LINUX_CONFIG_OPTION_MODULE([CONFIG_ADEOS])
+ AS_LINUX_CONFIG_OPTION_MODULE([CONFIG_IPIPE])
- if test "${CONFIG_RTHAL}" != "no" -o "${CONFIG_ADEOS}" != "no" ; then
+ if test "${CONFIG_RTHAL}" != "no" -o "${CONFIG_ADEOS}" != "no" -o
"${CONFIG_IPIPE}" != "no" ; then
AC_MSG_CHECKING([RTAI directory ${RTAI_DIR}])
if [[ -d ${RTAI_DIR}/include ]] ; then
RTAI_CFLAGS="-I${RTAI_DIR}/include"
> ... the rtai people consider dropping _any_ (kernel 2.6.xy) adeos patches
> from the next stable release (whatever its name might be).
It looks like they have relaxed this a bit meanwhile.
Andreas Leuner
Received on 2005-12-14Z14:43:25