9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Joel C. Salomon" <joelcsalomon@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] Bits of Plan 9 I wish were more popular...
Date: Thu,  3 Jul 2008 00:50:20 -0400	[thread overview]
Message-ID: <7871fcf50807022150p49efa5f8je93f874d394b1bf6@mail.gmail.com> (raw)
In-Reply-To: <617ec344d909e304f8fb72f7043568f0@quintile.net>

On Wed, Jul 2, 2008 at 7:13 PM, Steve Simon <steve@quintile.net> wrote:
> So you have the source for the quadrature encoder, and a DAC cannot be thar complex can it? why not email Comedi and ask them for card programming info.

Comedi is an Open Sores project to unify the worlds data acquisition
devices under one driver model.  It's about as good a model as fits
the Linux Way™ of these things, and there's enough sample code
included to make it feasible to bring up a new card fairly quickly.
Rather have Comedi drivers than some random vendor's conceptions of
how to program the device, but it's nothing like a simple write(2) to
/dev/analogout0/channel1.

The only issue is that I can't justify the time needed to write Plan 9
drivers when a usable system already exists.

> Still you could use 9vx to run plan9 on top of this system, that way you could maybe
> migrate the system gradually.

Unless vx32 can run real-time tasks (pretty sure it cannot) that's not
much use.  Almost every bit of my code (all except a very thin command
interface) is living in a loadable kernel module

Don't you want Kalman filters in *your* OS kernel?

> Russ has a version of libthread for windows on his web page.

Do you mean libtask?  That could be helpful too, but the system uses
interrupts so cannot entirely be run as cooperative multithreading.

The discipline of thinking in terms of channels. even if the
implementation has gone a-gley, is proving useful too.

--Joel

  reply	other threads:[~2008-07-03  4:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02 22:30 Joel C. Salomon
2008-07-02 23:13 ` Steve Simon
2008-07-03  4:50   ` Joel C. Salomon [this message]
2008-07-03 12:51 erik quanstrom
2008-07-03 16:25 ` Digby Tarvin
2008-07-03 17:51   ` Joel C. Salomon

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=7871fcf50807022150p49efa5f8je93f874d394b1bf6@mail.gmail.com \
    --to=joelcsalomon@gmail.com \
    --cc=9fans@9fans.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).