Re: comedi_config

On Thursday 25 August 2005 09:30 pm, Scott Smedley wrote:
> Hi Ian,
>
> > >When I run comedi_config I now get:
> > >
> > >Aug 25 10:48:15 echidna insmod: insmod: insmod char-major-98-0 failed
> > >Aug 25 10:48:15 echidna kernel: comedi: not attached and not
> > > CAP_SYS_MODULE
> >
> > You need to run comedi_config as root.
>
> I'm doing that.
>
> > 'make install' for a 2.4 kernel, the modules get renamed (.ko -> .o),
> > so maybe that's confusing it.  Try running 'make install' and then
> > loading the modules with modprobe instead of insmod.
>
> I just tried this, but I get the same error:
>
> eCHiDNa>> sudo /sbin/insmod comedi comedi_debug=1
> Using /lib/modules/2.4.12.echidna/comedi/comedi.o
> eCHiDNa>> sudo /sbin/modprobe ni_pcimio
> eCHiDNa>> sudo ../comedilib/comedi_config/comedi_config -v /dev/comedi0
> ni_pcimio comedi.o not loaded
>
> The output in /var/log/messages is the same.
>
> Man! I'm puzzled. Any other ideas?

Have you tried using su instead of sudo?

-- 
Frank

Received on 2005-08-26Z00:59:16