Re: Comedi on FC5

I really appreciate the response from Paul and Ian.
Thanks a lot, now my Comedi works. 
I'm not sure about the demo test result, I ran
'demo/tut1' but got different values, is that right?
Same happened to 'demo/tut2'.
[root_at_wenshenw demo]# ./tut1
5316160
[root_at_wenshenw demo]# ./tut1
10628672
[root_at_wenshenw demo]# ./tut1
5361216

Cheers,

wenshenw  

在 2006-09-04一的 11:18 +0100,Ian Abbott写道: 
> On 04/09/06 04:15, Wensheng Wang wrote:
> > Hi,
> > I've just installed the comedi-0.7.73 on FC5(2.6.16).
> > It seems everything well, but when I tried to do this:
> >       #modprobe usbdux
> > or
> >       #insmod usbdux
> > I got error messages:
> > WARNING: 
> > Error inserting comedi (/lib/modules/2.6.16-prep/extra/comedi.ko):
> > Invalid module format
> > FATAL: 
> > Error inserting usbdux
> > (/lib/modules/2.6.16-prep/extra/drivers/usbdux.ko): Invalid module
> > format
> > I really don't know what is the problem. I can see those files
> > (comedi.ko, usbdux.ko) in the
> > directory (/lib/modules/2.6.16-prep/extra/). Actually I haven't a real
> > device yet now. 
> > Thank you in advance for your help.
> 
> Running 'dmesg' to display the end of the kernel log should provide more
> info about what went wrong.  In general, it is caused by one of the
> following:
> 
> i) compiling the modules with the wrong version of GCC (the GCC major
> and minor number has to match whatever the kernel was compiled with);
> 
> ii) compiling the modules against the wrong kernel version; or
> 
> iii) compiling the modules against the correct kernel version, but with
> the wrong kernel config settings (the kernel config used to build the
> modules needs to match those used to build the kernel).
> 
> You should also note that most Comedi drivers have not been tested with
> big-endian architectures such as PowerPC (I'm guessing you are using
> PowerPC from the "-prep" suffix), so you may encounter endian problems
> with some drivers.
> 
.在 2006-09-04一的 08:58 +0100,Paul Finnigan写道:
> Hi Wensheng
> 
> On Mon, 2006-09-04 at 09:08 +1000, Wensheng Wang wrote:
> > Hi,
> > I am now going to do some developing with Comedi,
> > my platform is FC5(2.6.16). First I really want to know
> > that anyone else has succeeded with Comedi on FC5?
> > I would thank you very much for some details.
> 
> I use comedi with Fedora Core 5. Just follow the installation
> instructions for comedi ignoring warnings about Redhat, but beware and
> don't upgrade the kernel to 2.6.17. I have not had a problem with any of
> the 2.6.16 fedora kernels I have tried (I am currently using
> 2.6.16.2111).
> 

Received on 2006-09-04Z22:35:51