- From: Scott Smedley <ss_at_aaoepp.aao.gov.au>
- Date: Fri, 26 Aug 2005 12:03:49 +1000
> The output in /var/log/messages is the same.
Actually, I had an error in /etc/modules.conf which caused the
"Can't locate module char-major-98-0" error.
/var/log/messages now gives:
Aug 26 11:59:04 echidna kernel: comedi: version 0.7.70 - David Schleef <ds_at_schleef.org>
Aug 26 11:59:09 echidna kernel: Available NI device IDs: 0x1880
Aug 26 11:59:13 echidna kernel: comedi: not attached and not CAP_SYS_MODULE
Looking at comedi_fop_open() in comedi_fops.c there is this code:
if(!dev->attached && !capable(CAP_SYS_MODULE)){
DPRINTK("not attached and not CAP_SYS_MODULE\n");
return -ENODEV;
}
Should the capable() call fail if I'm running comedi_config as root?
SCoTT. :)
Received on 2005-08-26Z01:03:49