On undefined, Bosko Radivojevic <[EMAIL PROTECTED]> wrote: > Hi! > > [ Hardware: AT91SAM9260, Xenomai: 2.4.2, Kernel: 2.6.20.21] > > I'm having problems running code based on user-irq.c example. If I try > to create handler for IRQ already "registered" within Linux (for > example, IRQ 82, for DM9000 eth controller) user_Irq example works > just fine. But, if I try to "catch" interrupt on some other pin (PC10) > I'm just getting nothing (looping inside rt_intr_wait()). > > I did the same to initialize PC10 pin as it is done for DM9000 (pin > PB18) -> calling at91_set_gpio_input() function from kernel module > which I load before I start user_irq. Measuring voltage on the board, > I can see that pin is setup correctly. > > Is there some more detailed doc about this matter? Or more complex > example? :) Or anyone knows what I'm doing wrong?
On past versions of Xenomai you needed to call rt_intr_enable after rt_intr_create. But I thought this was no longer needed. You can try this anyway. -- Gilles _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
