Thanks Jan.
Please tell me which xenomai version are you using.i think i need to recompile me kernel again.
Best regards
imran
Jan Kiszka <jan.kiszka@domain.hid> wrote:
mani bhatti wrote:
> Hi all
> i am trying to create a user space parallel port interrupt but the problem is that err=rt_intr_create(&intr_desc,"MyIrq",IRQ_NUMBER,I_NOAUTOENA);
>
> returns -22 instead of zero which means success.i dont have idea what this error code -22 means.please help me in this regard.i am attaching the sample code.If some one can send me some basic working user space xenomai code i would be very thankful.Thanks,
Your test loads fine for me over latest Xenomai (but I see no reason why
older versions should fail). Maybe your kernel/userspace pair is out of
sync.
If the problem persists, add some printk into the path the
rt_intr_create syscall takes. Start here:
http://www.rts.uni-hannover.de/xenomai/lxr/source/ksrc/skins/native/syscall.c#3066
Jan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com