Re: Help: Adding a 5th comedi device

Thanks a lot, now the system works..  ;-)

Giorgio Panin

-------------

Michal Dobes wrote:


> Giorgio Panin wrote:
> > 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):
>
> Probably you must change in comedi/include/linux/comedi.h this:
>
> /*
>    maximum number of minor devices.  This can be increased, although
>    kernel structures are currently statically allocated, thus you
>    don't want this to be much more than you actually use.
>  */
> #define COMEDI_NDEVICES 4
>
> and recompile whole comedi.
>
>         Majkl

Received on 2002-06-07Z15:20:23