Re: Re:(no subject) (Frank Mori Hess)

Hello All,
I don't get what exactly Frank Hess wan'ts to say. And I tried the 
module by changing the DEFAULT_COMEDI_MINOR by "/dev/comedi0",  
but it gives the same error only by changing the address of 
virtual memory to a big number.
  I am also trying to debug the problem, But till now  I don't 
find any.
thanks to all.
waiting for solution.
with warm regards
-SIDDHARTH

> > Ok, I looked at the code I wrote.  The URL is
> > https://cvs.comedi.org/pipermail/comedi/2002-May/003066.html.  
>I see th=
>at
> > it is using the old-style comedi_open().  Newer versions of 
>comedi in t=
>he
> > kernel take _strings_ rather than actual comedi minor numbers.  
>So you
>
>No, they use the token returned by comedi_open(), like the user 
>space lib=
>rary=20
>does.  comedi_open() is the only one that takes a string. =20
>
> > have to replace all instances of DEFAULT_COMEDI_MINOR with 
>"/dev/comedi=
>0"
> > in the code, or, alternatively, edit rt_module.h and change
> > DEFAULT_COMEDI_MINOR from 0 to "/dev/comedi0".
> >
> > -Calin
> >
>
>- --=20
>Frank


_______________________________________________________________________
Odomos - the only  mosquito protection outside 4 walls -
Click here to know more!
http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&wn

Received on 2003-03-19Z13:34:14