- From: Alex Fielding <afielding_at_adelphia.net>
- Date: Tue, 30 Mar 2004 20:14:13 -0500
Disregarding the USB issue, I am still left with the state that I can't get comedi to run on my system, moving either forwards or backwards. How bad is the incompatibility between red hat and comedi? I were able to get 0.7.67 to run, why shouldn't 0.7.68 and later run? Why would comedi_config produce a segmentation fault attaching a driver to the /dev/comedi0? Alex ----- Original Message ----- From: "Bernd Porr" <Bernd.Porr_at_cn.stir.ac.uk> To: "Alex Fielding" <afielding_at_adelphia.net> Cc: <comedi_at_comedi.org> Sent: Tuesday, March 30, 2004 4:56 AM Subject: Re: issues installing comedi 0.7.68 and CVS > Alex, > > probably this kernel version has no USB 2.0 support at all. > > Try to add a define here: > > #if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,4) > // test if it is high speed (USB 2.0) > usbduxsub[index].high_speed=(usbduxsub[index].usbdev->speed==USB_SPEED_HIGH) ; > #else > // no high speed support > usbduxsub[index].high_speed=0; > #endif > > If it's successful please send back a patch. > > Please add this bug to bugzilla and add my e-mail addess to > it. Thanks. > > /Bernd > -- > http://www.linux-usb-daq.com/ > > > > Alex Fielding wrote: > > I have tried upgrading to comedi 0.7.68 and also the latest CVS version > > and have had similar troubles with both that I didn't have with comedi > > 0.7.67. > > > > I'm running a fairly old red hat linux 2.4.4-rtl (and I see about comedi > > not being supported on red hat), with rtlinux 3.1 patch. > > > > To install comedi 0.7.68/CVS, I had to bump up my revision for automake > > and autoconf. I've done that, and am now running > > automake 1.7 and autoconf 2.56 > > > > One apparently minor issue is a compile error reported in usbdux.c. I > > don't need this driver so I commented out the offensive line, ok? > > > > usbdux.c: In function `usbduxsub_probe': > > usbdux.c:2245: structure has no member named `speed' > > usbdux.c:2245: `USB_SPEED_HIGH' undeclared (first use in this function) > > > > Other than this, the comedi 'make' 'make install' work fine. I can > > install all my drivers (via modprobe) and kcomedlib without any hitches, > > as before. > > > > The biggest trouble encountered is when trying to run the > > ./comedi_config from comedilib_0.7.21, where I get a segmentation fault: > > > > ./comedi_config /dev/comedi0 ni_pcimio > > 1288 Segmentation Fault > > > > I originally didn't have this problem with comedi 0.7.67/comedilib 0.7.21. > > > > Do I need to use the latest version of comedilib from the CVS together > > with the latest version of comedi (or 0.7.68), or should I be able to > > use the one I have now (0.7.21)? > > > > Any other ideas for the fault? > > > > I have also tried re-installing the older version of comedi-0.7.67 and > > am receiving all sorts of unresolved symbol errors in > > /lib/modules/2.4.4-rtl/comedi, and also a modprobe on kcomedilib 0.7.67 > > now reports unresolved symbols. > > > > > > Alex > > > > -- > Contact information: > http://www.berndporr.me.uk > http://www.linux-usb-daq.com/ >
Received on 2004-03-31Z00:14:13