Skip to contentSkip to conversation

rt_intr_create returns ENOSYS ?

Xenomai-help Hannes Mayer 3 participants 5 messages Jul 23, 2006

lore
Share & tools
lore
#0 lore raw

Hi all!

Subject basically says it.

I'm trying to do this:
err = rt_intr_create(&intr_desc, "parint", PARPORTINT, I_PROPAGATE); in main() before spawning an RT tasks, but it fails with ENOSYS. Xeno2.2, 2.4.32

Any enlightenment very much appreciated!

Thanks a lot,
Hannes.

#1 lore raw
Quoted 10 lines · Hannes Mayer

Hi all!

Subject basically says it.

I'm trying to do this:
err = rt_intr_create(&intr_desc, "parint", PARPORTINT, I_PROPAGATE); in main() before spawning an RT tasks, but it fails with ENOSYS. Xeno2.2, 2.4.32

Any enlightenment very much appreciated!

CONFIG_XENO_OPT_NATIVE_INTR? It's default off now.

Jan

#2 lore raw
Quoted 5 lines · Jan Kiszka
Quoted 4 lines · Hannes Mayer

Hi all!

Subject basically says it.

Quoted 8 lines
Quoted 6 lines

I'm trying to do this:
err = rt_intr_create(&intr_desc, "parint", PARPORTINT, I_PROPAGATE); in main() before spawning an RT tasks, but it fails with ENOSYS. Xeno2.2, 2.4.32

Any enlightenment very much appreciated!

CONFIG_XENO_OPT_NATIVE_INTR? It's default off now.

Yeah, works. Thanks! :-)

What's the reason for defaulting to off ?
Force users to write RTDM stuff ?

Tanti saluti,
Hannes.

#3 lore raw
Quoted 11 lines · Hannes Mayer
Quoted 10 lines · Jan Kiszka
Quoted 9 lines · Hannes Mayer

Hi all!

Subject basically says it.

I'm trying to do this:
err = rt_intr_create(&intr_desc, "parint", PARPORTINT, I_PROPAGATE); in main() before spawning an RT tasks, but it fails with ENOSYS. Xeno2.2, 2.4.32

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

Any enlightenment very much appreciated!

CONFIG_XENO_OPT_NATIVE_INTR? It's default off now.

Yeah, works. Thanks! :-)

What's the reason for defaulting to off ?
Force users to write RTDM stuff ?

No one is forced. We only kindly remind the user to think about the design decision. :) (and for all others this removes unused code)

One day we will have RTDM services in user space as well. Then this decision will be even simpler, I'm sure.

Jan

#4 lore raw
In reply to Hannes Mayer
Quoted 11 lines · Hannes Mayer
Quoted 10 lines · Jan Kiszka
Quoted 9 lines · Hannes Mayer

Hi all!

Subject basically says it.

I'm trying to do this:
err = rt_intr_create(&intr_desc, "parint", PARPORTINT, I_PROPAGATE); in main() before spawning an RT tasks, but it fails with ENOSYS. Xeno2.2, 2.4.32

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

Any enlightenment very much appreciated!

CONFIG_XENO_OPT_NATIVE_INTR? It's default off now.

Yeah, works. Thanks! :-)

What's the reason for defaulting to off ?
Force users to write RTDM stuff ?

This gives a strong hint about what would be a good design decision when crafting a device driver over Xenomai: i.e. use RTDM.

Quoted 8 lines

Tanti saluti,
Hannes.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Philippe.