From: Peter Soetens <peter.soetens@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Comedi drivers in Xenomai porting/integration status ?
Date: Tue, 17 Feb 2009 09:40:54 +0100 [thread overview]
Message-ID: <200902170940.54910.peter.soetens@domain.hid> (raw)
In-Reply-To: <200902170000.00900.berlemont.hauw@domain.hid>
On Tuesday 17 February 2009 00:00:00 Alexis Berlemont wrote:
> Hi,
>
> > Hello all! I would like to know what is the current status of the Comedi
> > port to Xenomai.
> >
> > Should all the specific Comedi drivers (ni_pcimio, ni_mite) be available
> > for testing (by me or someone with a supported DAQ card) and (if ok) for
> > futher integration ?
>
> I am still working on that port. It is a long work and I am wondering at
> each line whether I should rewrite any part of code which does not comply
> with common coding constraints. Unfortunately, I currently do not have a
> lot of spare time. Anyway, most of the ni subdevices drivers have been
> ported (mite, tio, mio, 8255). I am trying to finalize the global driver
> port.
>
> By the way, in the middle of january, I noticed that the legacy Comedi
> branch found its way into the mainline (through the staging tree). I do not
> know what will be the future of such a package in mainstream. I assume the
> main goal is the definition of a global framework for acquisition boards
> like V4L2 is for video cards.
I'm not sure I understand where this is going. We did a review of the
Xenomai/Comedi code integration a few weeks ago.
These are the facts we observed:
* The Xenomai/Comedi port breaks the complete Comedi API, user space *and*
kernel space. (We thought/assumed that only the user space interface would go
over RTDM and that once that was done, the kernel modules could be almost
copy/pasted into the new framework.)
* The Xenomai/Comedi port is not supported by 'upstream' (what you call
'legacy'). It's not discussed on their ML, they don't send in patches or
feedback.
* There aren't any (?) device drivers ported to the Xenomai/Comedi project
(public trunk)
This is what we concluded:
* Xenomai/Comedi has no future as long as it ignores (or is ignored by)
upstream. Even after a port of a device driver, pulling fixes from upstream
will be hard due to the changed kernel API.
* As GKH puts it: all device drivers belong in the Linux kernel. Upstream is
doing this right now, which makes acceptance of Xenomai/Comedi unlikely, which
makes its life expectations uncertain.
* We're now actually considering Preempt/RT as the kernel to use in
combination with the original Comedi. We might be stupid, but then again, it
might just work.
* We believe the name Xenomai/Comedi is strongly misleading. It suggests a
painless transition path, but it's a completely different software project,
different interfaces, different maintainer(s ?).
Sorry for flaming, and please correct me where I'm wrong.
Peter
--
Peter Soetens -- FMTC -- <http://www.fmtc.be>
next prev parent reply other threads:[~2009-02-17 8:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-16 12:55 [Xenomai-core] Comedi drivers in Xenomai porting/integration status ? Cristian Axenie
2009-02-16 23:00 ` Alexis Berlemont
2009-02-17 8:10 ` Cristian Axenie
2009-02-17 8:40 ` Peter Soetens [this message]
2009-02-17 9:41 ` Jan Kiszka
2009-02-17 11:08 ` Peter Soetens
2009-02-17 11:21 ` Jan Kiszka
2009-02-18 1:20 ` Alexis Berlemont
2009-02-18 7:38 ` Jan Kiszka
2009-02-18 23:43 ` Alexis Berlemont
2009-02-19 8:21 ` Anders Blomdell
2009-02-19 10:19 ` Jan Kiszka
2009-02-19 12:08 ` Peter Soetens
2009-02-19 16:22 ` Jan Kiszka
2009-02-17 9:27 ` Jan Kiszka
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=200902170940.54910.peter.soetens@domain.hid \
--to=peter.soetens@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.