From: Jan Kiszka <jan.kiszka@domain.hid>
To: "Patrick Gräbel" <graebel@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Calling comedi from a RT task
Date: Tue, 02 Dec 2008 18:12:35 +0100 [thread overview]
Message-ID: <49356C83.8050909@domain.hid> (raw)
In-Reply-To: <4934EB57.9080305@domain.hid>
Patrick Gräbel wrote:
> Hi,
>
> I am using Xenomai 2.3.1 and comedi with driver "ni_pcimio". I am able
> to create a RT task that triggers each msec. But calling the comedi API
> kicks me out of RT as indicated by /proc/xenomai/stat (column MSW). The
> modules loaded are:
>
> comedi_fc 3584 1 ni_pcimio
> kcomedilib 20868 0
> comedi 33248 6 ni_pcimio, ni_tio, comedi_fc, mite, 8255, kcomedilib
> licModule 44272 1 kcomedilib
>
> The comedi modules are from a 2.6.20-14-ipipe/comedi/driver directory.
> How do I use the comedi API so that the task will stay realtime? What do
> I have to check?
You should have a look at the RT-capable comedi stack that currently
only lives in Xenomai SVN trunk. How to get your device supported by
that stack, ie. how to port the existing driver to RT-comedi, that's
something Alexis can tell you more about. And/or have a look at the fake
and loop drivers that are already included.
Jan
--
Siemens AG, Corporate Technology, CT SE 2 ES-OS
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2008-12-02 17:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 8:01 [Xenomai-help] Calling comedi from a RT task Patrick Gräbel
2008-12-02 17:12 ` Jan Kiszka [this message]
2008-12-03 23:55 ` Alexis Berlemont
2008-12-04 9:38 ` Patrick Gräbel
2008-12-04 23:57 ` Alexis Berlemont
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49356C83.8050909@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=graebel@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.