All of lore.kernel.org
 help / color / mirror / Atom feed
From: edward.robbins@domain.hid
To: xenomai@xenomai.org
Subject: [Xenomai-help] Xenomai and MEN IO Cards/MDIS drivers
Date: Thu, 21 Oct 2010 10:58:04 +0100 (BST)	[thread overview]
Message-ID: <1287655084.19729856@domain.hid> (raw)

Hi again,

I've almost finished setting up xenomai on my machine. I get very little time to work on this project, so wont get back to it until Saturday, but the next stage for me is getting the IO cards to work, and I thought I'd throw out an email as a precursor.

In this system we have a MEN M32 digital input card and an M28 digital output card. These come with Linux drivers, but they have to run through MEN's cross-platform driver API/framework, MDIS5. Previous versions of MDIS supported Xenomai and RTAI explicitly, but they seem to have dropped that support in the latest version, and I doubt the previous version will 'just work' with newer kernels. I have managed to successfully build the standard Linux MDIS drivers already.

MDIS adds so many layers of obfuscation and abstraction that on a previous occasion when I was attempting to get some M62 analogue output cards to work on a VMEbus VXworks platform I gave up on MDIS and wrote a new driver from scratch. 

Since Linux drivers are more complex to start with, and then there is Xenomai as well, and time is tight, I'd rather not do that for these cards. 

Does anyone have experience of using MEN drivers/IO cards in Xenomai? Can I simply wrap the MDIS API with the Xenomai API (described here http://www.xenomai.org/documentation/xenomai-2.5/html/api/index.html) once I've crawled my way through their code? Is there an easier way?

Also, I presume that as a temporary fall-back I can use the standard, non-RT drivers from Xenomai user-land processes?

Many thanks,
Edward

Control Systems Engineer
Oxford Technologies Ltd
7 Nuffield Way, Abingdon, Oxon, OX14 1RJ
Tel: +44 (0)1235 522119



             reply	other threads:[~2010-10-21  9:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21  9:58 edward.robbins [this message]
2010-10-21 19:37 ` [Xenomai-help] Xenomai and MEN IO Cards/MDIS drivers Gilles Chanteperdrix

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=1287655084.19729856@domain.hid \
    --to=edward.robbins@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.