Re: kcomedilib woes

I wasn't sure if comedi_config was required when using kcomedilib
However, I tried the following, ( which works fine in non-real time, using
plain user space comedi):

modprobe daqboard2000
comedi_config -i fpga /dev/comedi0 daqboard2000

When I issue the second command, I get a segmentation fault, and the kernel
issues the following complaint:

 May 14 07:01:43 localhost kernel: comedi0: daqboard2000: ids4daqboard2000_resetLocalBus
 May 14 07:01:43 localhost kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000080

 ... and then a register+stack dump

So is the comedi_config semantics supposed to be the same for kcomedilib as for
user space comedi ??  Or does it have to be ammended in some way to avoid this
happening ??

Thanks for your help.

John

On Thu, May 13, 2004 at 05:55:50PM -0400, Frank Mori Hess wrote:
> 
> Probably you haven't configured anything on the specified device file with 
> comedi_config.
> 
> On Wednesday 12 May 2004 08:03 pm, John Darrington wrote:
> >
> > Anyway I tried that and although nothing disastrous happens, it always
> > returns NULL.  Am I using it right?  Why would it return NULL ?
> >
> >
> 
> - -- 
> Frank

Received on 2004-05-13Z22:13:15