* [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-23 19:34 Hannes Mayer
@ 2006-07-23 20:01 ` Jan Kiszka
2006-07-23 20:48 ` Hannes Mayer
0 siblings, 1 reply; 7+ messages in thread
From: Jan Kiszka @ 2006-07-23 20:01 UTC (permalink / raw)
To: Hannes Mayer; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 366 bytes --]
Hannes Mayer wrote:
> 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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] rt_intr_create returns ENOSYS ?
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
0 siblings, 2 replies; 7+ messages in thread
From: Hannes Mayer @ 2006-07-23 20:48 UTC (permalink / raw)
To: Jan Kiszka; +Cc: xenomai
Jan Kiszka wrote:
> Hannes Mayer wrote:
>> 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.
Yeah, works. Thanks! :-)
What's the reason for defaulting to off ?
Force users to write RTDM stuff ?
Tanti saluti,
Hannes.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] rt_intr_create returns ENOSYS ?
2006-07-23 20:48 ` Hannes Mayer
@ 2006-07-23 20:55 ` Jan Kiszka
2006-07-23 21:25 ` Philippe Gerum
1 sibling, 0 replies; 7+ messages in thread
From: Jan Kiszka @ 2006-07-23 20:55 UTC (permalink / raw)
To: Hannes Mayer; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 802 bytes --]
Hannes Mayer wrote:
> Jan Kiszka wrote:
>> Hannes Mayer wrote:
>>> 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.
>
> 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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] rt_intr_create returns ENOSYS ?
2006-07-23 20:48 ` Hannes Mayer
2006-07-23 20:55 ` Jan Kiszka
@ 2006-07-23 21:25 ` Philippe Gerum
1 sibling, 0 replies; 7+ messages in thread
From: Philippe Gerum @ 2006-07-23 21:25 UTC (permalink / raw)
To: Hannes Mayer; +Cc: xenomai, Jan Kiszka
On Sun, 2006-07-23 at 22:48 +0200, Hannes Mayer wrote:
> Jan Kiszka wrote:
> > Hannes Mayer wrote:
> >> 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.
>
> 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.
>
> Tanti saluti,
> Hannes.
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
^ 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
* Re: [Xenomai-help] rt_intr_create returns ENOSYS ?
2006-07-24 20:51 [Xenomai-help] rt_intr_create returns ENOSYS ? Hannes Mayer
@ 2006-07-26 9:25 ` Philippe Gerum
0 siblings, 0 replies; 7+ messages in thread
From: Philippe Gerum @ 2006-07-26 9:25 UTC (permalink / raw)
To: Hannes Mayer; +Cc: xenomai
On Mon, 2006-07-24 at 22:51 +0200, Hannes Mayer wrote:
> 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...
>
It's already present in OPT_NATIVE_INTR's help section for 2.6, but this
is missing for 2.4 (no Xenomai help strings available with 2.4
actually).
> Tanti saluti,
> Hannes.
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
^ 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-24 20:51 [Xenomai-help] rt_intr_create returns ENOSYS ? Hannes Mayer
2006-07-26 9:25 ` Philippe Gerum
-- strict thread matches above, loose matches on Subject: below --
2006-07-23 19:34 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
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.