|
Hello Jan, Comments are inline below... FYI - I now have two Pentium II machines exhibiting the same behavior. Both are configured with a vanilla 2.6.16.5 kernel with Xenomai trunk snapshot. (Rev 941). One machine has the local APIC enabled in the kernel, one does not. Xenomai user space is configured with --enable-x86-tsc and --enable-x86-sep. Thanks, Sean Jan Kiszka wrote: The counters in /proc/xenomai/irq do not appear to be incrementing. I can see my irq number allocated while the device is open, and removed when the device is closed. The interrupt number does not increment.Sean McGranaghan wrote:Hello all, Also, the oscilloscope shows the interrupt going active (hi) but never in-active (lo). Is it never acknowledged via IPIPE or Linux? I verified that I am returning RTDM_IRQ_HANDLED.Then double-check if you pass the correct code on return from the IRQ handler: either RTDM_IRQ_HANDLED (if that IRQ was for you - standard), or RTDM_IRQ_NONE. Nothing else (RT_IRQ_ENABLE is "native stuff", i.e. violates the rule to keep your driver clean from non-RTDM APIs). Now enabled.Regarding debugging options: CONFIG_XENO_OPT_DEBUG_RTDM is highly recommended for drivers under development. Jan |
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
