Alessio Igor Bogani | 24 Apr 2009 11:28
Picon

RFC about Comedi on a patch that remove a lot fo code

Dear Comedi developers,

Sorry for my bad english.

I would be happy to receive your considerations about that patch:

http://marc.info/?l=linux-next&m=123792129500760&w=2

I know that some users use Comedi on dual kernel approach systems.
Obviously I don't have any against this but i think that Linux git
tree isn't the right place to support those software (RTAI, Xenomai,
RTLinux and others). Those projects already released patches against
Linux source code so it very easy for them add also patch for Comedi
drivers in the same tarball.

At the already listed 8 reasons  in that email I want added a ninth one:
9) Give more chance for interested developers to fix it against RT_PREEMPT
http://marc.info/?l=linux-rt-users&m=124049407712792&w=2

Thanks!

Ciao,
Alessio
Riccardo FABBRIS | 24 Apr 2009 12:32
Picon

Problem with Comedi configuration

Hi all,
I installed Comedi 0.7.76 following "RTAI-Lab tutorial: Scilab, Comedi, and real-time control" without
any error and I tried to configure my DAQ card but:

root <at> costa-desktop:/usr/local/src/comedi-0.7.76# modprobe adv_pci1710
root <at> costa-desktop:/usr/local/src/comedi-0.7.76# comedi_config -v /dev/comedi0 adv_pci1710
configuring driver=adv_pci1710 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
Configure failed!: Input/output error
Check kernel log for more information
Possible reasons for failure:
  Driver not found

I had already load Rtai modules and the ones of Comedi:

insmod /usr/rtbucher/modules/rtai_hal.ko
insmod /usr/rtbucher/modules/rtai_up.ko
insmod /usr/rtbucher/modules/rtai_fifos.ko
insmod /usr/rtbucher/modules/rtai_sem.ko
insmod /usr/rtbucher/modules/rtai_mbx.ko
insmod /usr/rtbucher/modules/rtai_msg.ko
insmod /usr/rtbucher/modules/rtai_netrpc.ko ThisNode="127.0.0.1"
insmod /usr/rtbucher/modules/rtai_shm.ko
insmod /usr/rtbucher/modules/rtai_signal.ko
insmod /usr/rtbucher/modules/rtai_tasklets.ko
modprobe comedi
modprobe kcomedilib
modprobe comedi_fc

The card is working (I tried it before installing) and it's a Advantech PCI-1711, I'm working with RTAI
3.6.2 on a vanilla Linux 2.6.24.7.
(Continue reading)

Greg KH | 25 Apr 2009 00:51
Gravatar

Re: RFC about Comedi on a patch that remove a lot fo code

On Fri, Apr 24, 2009 at 11:28:28AM +0200, Alessio Igor Bogani wrote:
> Dear Comedi developers,
> 
> Sorry for my bad english.
> 
> I would be happy to receive your considerations about that patch:
> 
> http://marc.info/?l=linux-next&m=123792129500760&w=2
> 
> I know that some users use Comedi on dual kernel approach systems.
> Obviously I don't have any against this but i think that Linux git
> tree isn't the right place to support those software (RTAI, Xenomai,
> RTLinux and others). Those projects already released patches against
> Linux source code so it very easy for them add also patch for Comedi
> drivers in the same tarball.
> 
> At the already listed 8 reasons  in that email I want added a ninth one:
> 9) Give more chance for interested developers to fix it against RT_PREEMPT
> http://marc.info/?l=linux-rt-users&m=124049407712792&w=2

I am siding with you, and agree all of the RT stuff should be deleted
from the in-kernel comedi code, as there is on in-kernel users of it.

Also, the recent Linux RT changes will not need any of these
driver-specific changes at all from what I can tell, so they are now
obsolete.

Frank, unless you have any major objections, I'd like to remove this
code.

(Continue reading)

Frank Mori Hess | 26 Apr 2009 17:08
Favicon

Re: RFC about Comedi on a patch that remove a lot fo code

On Friday 24 April 2009, Greg KH wrote:
> On Fri, Apr 24, 2009 at 11:28:28AM +0200, Alessio Igor Bogani wrote:
> > Dear Comedi developers,
> >
> > Sorry for my bad english.
> >
> > I would be happy to receive your considerations about that patch:
> >
> > http://marc.info/?l=linux-next&m=123792129500760&w=2
> >
> > I know that some users use Comedi on dual kernel approach systems.
> > Obviously I don't have any against this but i think that Linux git
> > tree isn't the right place to support those software (RTAI, Xenomai,
> > RTLinux and others). Those projects already released patches against
> > Linux source code so it very easy for them add also patch for Comedi
> > drivers in the same tarball.
> >
> > At the already listed 8 reasons  in that email I want added a ninth
> > one: 9) Give more chance for interested developers to fix it against
> > RT_PREEMPT http://marc.info/?l=linux-rt-users&m=124049407712792&w=2
>
> I am siding with you, and agree all of the RT stuff should be deleted
> from the in-kernel comedi code, as there is on in-kernel users of it.
>
> Also, the recent Linux RT changes will not need any of these
> driver-specific changes at all from what I can tell, so they are now
> obsolete.
>
> Frank, unless you have any major objections, I'd like to remove this
> code.
(Continue reading)

Greg KH | 29 Apr 2009 00:56
Gravatar

Re: RFC about Comedi on a patch that remove a lot fo code

On Sun, Apr 26, 2009 at 11:08:06AM -0400, Frank Mori Hess wrote:
> On Friday 24 April 2009, Greg KH wrote:
> > On Fri, Apr 24, 2009 at 11:28:28AM +0200, Alessio Igor Bogani wrote:
> > > Dear Comedi developers,
> > >
> > > Sorry for my bad english.
> > >
> > > I would be happy to receive your considerations about that patch:
> > >
> > > http://marc.info/?l=linux-next&m=123792129500760&w=2
> > >
> > > I know that some users use Comedi on dual kernel approach systems.
> > > Obviously I don't have any against this but i think that Linux git
> > > tree isn't the right place to support those software (RTAI, Xenomai,
> > > RTLinux and others). Those projects already released patches against
> > > Linux source code so it very easy for them add also patch for Comedi
> > > drivers in the same tarball.
> > >
> > > At the already listed 8 reasons  in that email I want added a ninth
> > > one: 9) Give more chance for interested developers to fix it against
> > > RT_PREEMPT http://marc.info/?l=linux-rt-users&m=124049407712792&w=2
> >
> > I am siding with you, and agree all of the RT stuff should be deleted
> > from the in-kernel comedi code, as there is on in-kernel users of it.
> >
> > Also, the recent Linux RT changes will not need any of these
> > driver-specific changes at all from what I can tell, so they are now
> > obsolete.
> >
> > Frank, unless you have any major objections, I'd like to remove this
(Continue reading)


Gmane