All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] rt_intr_create returns ENOSYS ?
@ 2006-07-23 19:34 Hannes Mayer
  2006-07-23 20:01 ` Jan Kiszka
  0 siblings, 1 reply; 7+ messages in thread
From: Hannes Mayer @ 2006-07-23 19:34 UTC (permalink / raw)
  To: xenomai

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.



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [Xenomai-help] rt_intr_create returns ENOSYS ?
@ 2006-07-24 20:51 Hannes Mayer
  2006-07-26  9:25 ` Philippe Gerum
  0 siblings, 1 reply; 7+ messages in thread
From: Hannes Mayer @ 2006-07-24 20:51 UTC (permalink / raw)
  To: xenomai

Ciao Philippe!

Philippe Gerum wrote:
[...]
>>>> 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.

Absolutely, but if one just wants to capture the parallel
port int, I think it's a little overkill to make a driver
for it.

Anyway, is that documented somewhere, that
CONFIG_XENO_OPT_NATIVE_INTR is default off now and that
folks should preferably make RTDM drivers now ?
I'd suggest to add that somewhere...

Tanti saluti,
Hannes.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-07-26  9:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-23 19:34 [Xenomai-help] rt_intr_create returns ENOSYS ? Hannes Mayer
2006-07-23 20:01 ` Jan Kiszka
2006-07-23 20:48   ` Hannes Mayer
2006-07-23 20:55     ` Jan Kiszka
2006-07-23 21:25     ` Philippe Gerum
  -- strict thread matches above, loose matches on Subject: below --
2006-07-24 20:51 Hannes Mayer
2006-07-26  9:25 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.