On Wed, 17 May 2000, David Schleef wrote:

> Look at Comedi, (http://stm.lbl.gov/comedi), which is a collection
> of data acquisition drivers that work (simultaneously) with both
> regular Linux and RTAI (or RTLinux).  The only thing that I can
> point to as what makes them different as real time drivers is that
> the Comedi-to- low-level driver interface allows/encourages drivers
> to be real time.  (And that Comedi provides a real-time interface.)


Dave, maybe I'm really missing something here.  I'm referring to the
drivers in comedi-0.7.xx/comedi/drivers/*.c.  Nothing in this source code
makes any mention of RTL or RTAI.  The only things that do are actually in
comedi-0.7.xx/comedi/rtl.c and comedi_fops.c.  The problem here is that
stuff like comedi_rtl_init() -- which to me sounds like a pretty important
function -- doesn't DO anything (everything is commented out)!!!

What you're saying (and please please please excuse my stupidity if this
is wrong) is that comedi is already 'wired' to run under RTL or RTAI and
nothing has to be done to a particular driver except to modify it so it
becomes incorportated into comedi (attach, detach, subdevices,
etc).  Meaning, I don't need to put any rt_task_init(),
rt_task_wait() stuff into my driver.

I guess I have some confusion about what's going on in comedi/drivers and
comedi/realtime.

If the above paragraph is true, can you point me to where comedi decides
that a driver is to be run in RTL or otherwise?

Cheers,

Matt Cheselka

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to