Help: Adding a 5th comedi device

Hi all,

I have a little problem with the installation of an additional PCI
device on my system:

The standard comedi installation creates, by default, only 4 devices
(/dev/comedi0,..., /dev/comedi3), but now I have a PC with 5 NI boards
mounted on, and I need to create and use the related new device;

I already tried simply to add into the Makefile (both of comedi and
comedilib) a 5th line like this (in "comedi" Makefile):

(.....)
dev:
 -mknod -m 666 /dev/comedi0 c 98 0
 -mknod -m 666 /dev/comedi1 c 98 1
 -mknod -m 666 /dev/comedi2 c 98 2
 -mknod -m 666 /dev/comedi3 c 98 3
 -mknod -m 666 /dev/comedi4 c 98 4
(.....)

and this in "comedilib" Makefile:

(.....)
dev: dummy
 -rm /dev/comedi*
 /bin/mknod /dev/comedi0 c 98 0
 /bin/mknod /dev/comedi1 c 98 1
 /bin/mknod /dev/comedi2 c 98 2
 /bin/mknod /dev/comedi3 c 98 3
 /bin/mknod /dev/comedi4 c 98 4
 chown root.root /dev/comedi*
 chmod 666 /dev/comedi*
(.....)

Then, I tried the "make dev" command on both the kernel and the library
directories, and, at first, it seemed to work (now I have the
"/dev/comedi4" device mounted on).

But, when I try to do the "config" command, I obtain this error message,
only for the newly added device:

/usr/sbin/comedi_config /dev/comedi4 ni_pcimio
comedi.o not loaded

even if the "comedi.o" module is loaded.

What perhaps have I missed to do?
Thank you,

Giorgio Panin

=======================================================

  Dr. Giorgio Panin, PhD

Fakultät für Informatik - Teknische Universität München
Orleansstraße, 34 - 81667 Munich, Germany

E-mail: panin_at_in.tum.de

Phone: +49-(0)89-48095274; Fax: +49-(0)89-48095250

=======================================================

Received on 2002-06-07Z10:30:51