gilles.chanteperdrix at xenomai.org
Wed Apr 30 14:02:16 CEST 2014
On 04/29/2014 06:44 PM, Philippe Gerum wrote:
> On 04/29/2014 06:33 PM, John Morris wrote:
>> My Debian kernel packages  use Gilles's kernel config snippet  for
>> Xenomai configuration, where CONFIG_XENO_OPT_NATIVE_INTR is turned off.
>> Michael Haberler requested  that option be turned on to support RT
>> parport ISRs , presumably since many LinuxCNC and Machinekit users
>> attach stepper motor drivers through the parport.
>> Given the 'one size fits all' approach to these kernel packages, which
>> are intended to run on a variety of x86 hardware for a variety of
>> applications (not necessarily just Machinekit), is this an appropriate
>> option to enable for general use? Is there a specific reason this is
>> turned off in Gilles's configuration?
> The reason to turn this off by default is because this interface is
> deprecated, and was dropped from the upcoming 3.x API. The preferred
> (and strongly suggested) way for dealing with interrupts from userland
> is via an RTDM driver, for reliability reasons.
Note that we have an in-tree analogy driver for PC parallel port, I do
not know if it fits Michael needs. The driver seems ported from comedi,
so it may exist for preempt_rt and rtai as well.
More information about the Xenomai