Hope that helps
Dieter
> --
> You received this message because you are subscribed to the Google Groups "Comedi: Linux Control and Measurement Device Interface" group.
> To post to this group, send email to comed...@googlegroups.com.
> To unsubscribe from this group, send email to comedi_list...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/comedi_list?hl=en.
>
>
On 04/08/10 14:11, Alex wrote:
> Hello Dieter,
>
> thank you very much for your fast response! It's working now.
>
> I had to do the following:
> - Loaded comedi and comedilib from CVS-Snapshot
> - Installed flexx and bison (yacc) via apt/synaptic for compiling
> comedilib
> - autogen.sh, configure, make, make install for comedilib and then for
> comedi.
> - After restarting the box it didn't work. In dmesg I saw some entries
> saying that still the old
> drivers were being loaded (saying something like "staging drivers
> loaded - you have been warned").
> - I had to stop the old drivers from getting started. I looked into /
> lib/modules/<version>/modules.dep.
> Here only the old drivers were listed. depmod- a didn't change the
> situation.
> - I moved the directory with the old drivers out of the /lib/module-
> directory and did a depmod -a
> After that the new drivers were listed in modules.dep.
Since you're compiling your own kernel with RTAI support, you might want
to reconfigure the kernel to avoid building the "staging" Comedi
drivers. Then you wouldn't need to move them out of
/lib/modules/$(uname -r)/kernel/drivers/staging/comedi/ as they wouldn't
be built in the first place! (I'm assuming you built the kernel to use
a different `uname -r` value than the normal Ubuntu kernel to avoid
clashes.)
> - Reboot.
> - After loading the driver for out National-Instruments-Card and
> insmodding the RTAI-modules
> everything worked fine.
Great!
[gripe]One thing I hate about RTAI is the default location for the
modules (/usr/realtime/modules) and no way to change it in the
configuration menu. It is possible to configure it to use a more
sensible location using the ./configure script though. The default is
both outside the modutils search path and only usable with a kernel
version.[/gripe]
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abb...@mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
It might clarify a lot if on "http://www.comedi.org/download.html" a
line could be added similar to:
"The recommended way to install COMEDI and COMEDILIB is to compile
from current SVN source."
And change
"HTTP: http://www.comedi.org/download"
to
"HTTP: Obsolete Versions"
Thanks for considering!
Dieter
BTW: Many thanks for your and FMH's efforts. comedi is great!
I've updated the download page a bit to recommend using the CVS version,
and also mentioned the kernel "staging" stuff.
I haven't added any text about the "Linux-Comedi Git repository" linked
to on that page as I don't know how up-to-date it is.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abb...@mev.co.uk> )=-