- From: Bernd Porr <Bernd.Porr_at_cn.stir.ac.uk>
- Date: Thu, 04 Mar 2004 09:07:36 +0000
Hi Dave,
try this patch. Configure disables USB in Rt-linux kernels. So, if
there'll be more USB drivers they all will be disabled.
/Bernd
David Schleef wrote:
> On Wed, Mar 03, 2004 at 11:08:32PM +0000, Bernd Porr wrote:
>
>>Hi!
>>
>>I think we should add a define for RTAI. From my knowledge the realtime
>>linux variants don't support USB so far.
>>
>>It would be great if one of the RTAI people would supply a patch for the
>>autoconf stuff. I don't use realtime linux just now. So I can't provide
>>the patch.
>
>
> CONFIG_COMEDI_RT is conditionally defined both for use in Makefile.am's
> and in the toplevel config.h.
>
>
>
> dave...
>
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
--
www: http://www.cn.stir.ac.uk/~bp1/
http://www.linux-usb-daq.com/
e-mail: Bernd.Porr_at_cn.stir.ac.uk
Mobile: +44 (0)7769-506746
Landl.: +44 (0)1324 875445
Work: +44 (0)1786-46-6378
Postal: Room: 3B141, Department of Psychology, Univ of Stir, FK9 4LA, Scotl
--- comedi/configure.ac.orig Thu Mar 4 08:45:47 2004
+++ comedi/configure.ac Thu Mar 4 08:50:37 2004
_at__at_ -47,6 +47,11 _at__at_
[test ${USE_RTAI} = "yes" -o ${USE_RTLINUX} = "yes"])
if test ${USE_RTAI} = "yes" -o ${USE_RTLINUX} = "yes" ; then
AC_DEFINE([CONFIG_COMEDI_RT],[true],[Define to enable Comedi's real-time support])
+ AC_MSG_NOTICE([USB support in RTLINUX disabled])
+ AM_CONDITIONAL(CONFIG_USB,false)
+else
+# "normal" kernel. Has USB.
+ AS_LINUX_CONFIG_OPTION_MODULE(CONFIG_USB)
fi
_at__at_ -79,7 +84,6 _at__at_
fi
AS_LINUX_CONFIG_OPTION_MODULE(CONFIG_ISA)
AS_LINUX_CONFIG_OPTION_MODULE(CONFIG_PCI)
-AS_LINUX_CONFIG_OPTION_MODULE(CONFIG_USB)
AC_DEFINE(CONFIG_COMEDI_DEBUG, true, [Define if debugging is enabled])
AC_DEFINE(CONFIG_COMEDI_8255, true, [Define if 8255 support is enabled])
Received on 2004-03-04Z09:07:36