9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans@cse.psu.edu
Subject: usbd - revision (Was: [9fans] USB developments)
Date: Thu, 15 Jan 2004 12:30:09 +0200	[thread overview]
Message-ID: <20040115123004.D25947@cackle.proxima.alt.za> (raw)
In-Reply-To: <1bc4a83f021e1f3542be7e8c1d0233e4@plan9.escet.urjc.es>; from Fco.J.Ballesteros on Thu, Jan 15, 2004 at 10:13:10AM +0100

On Thu, Jan 15, 2004 at 10:13:10AM +0100, Fco.J.Ballesteros wrote:
>
> #U, does mostly what it does, but stays appart of csp definitions.

I presume we'll look at this later, I'm sure there's a bit of work
needed here.

> usbd: simply configures the device and reads a usbdb file to
> learn which program is to be used for each csp.
> usbd: starts those programs when a new csp is noticed.

Let me see if I understand this correctly.  I would remove the initial
configuration from the kernel driver (#U) and delay it until usbd is
activated, although it's not (yet) clear to me whether the code needs
to reside in the kernel, in which case an "enumerate" function would
be implemented in #U and would return, through the control or status
file, the list of enumerated devices, each uniquely identifiable (by
numeric index seems good enough).

Let me stop here.  Have I explained how I see things properly?  How
do others suggest I tackle the above?

Next, we need to looks at /lib/usbdb, establish s tentative format and
a set of routines to read it.  Is that what aux/vga does?  How much
can we copy from there?

I then expect the ipconfig-like operation that Richard Miller suggest
could use /dev/sdctl needs to be implemented.  As Richard suggests,
this need not happen in a first phase, although I find it hard to
implement something knowing I'll do it differently soon enough.

My vote with Nemo about the plumber, which is not to say that plumbing
is not the right principle to employ.

Here I pause.  I think I need some input before proceeding, so feel
free to mail me, privately or publicly.  If private, make sure you
let me know if you don't want to be quoted in public.  And don't count
on me not making mistakes, with advance apologies right now :-)

++L


  parent reply	other threads:[~2004-01-15 10:30 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-15  6:16 [9fans] USB developments Lucio De Re
2004-01-15  8:23 ` Fco.J.Ballesteros
2004-01-15  8:42   ` Lucio De Re
2004-01-15  9:13     ` Fco.J.Ballesteros
2004-01-15  9:17       ` Fco.J.Ballesteros
2004-01-15 10:05       ` Lucio De Re
2004-01-15 10:23         ` Fco.J.Ballesteros
2004-01-15 13:02         ` Lucio De Re
2004-01-15 14:05           ` Richard Miller
2004-01-15 14:44             ` Lucio De Re
2004-01-15 14:56               ` Fco.J.Ballesteros
2004-01-15 15:20                 ` Lucio De Re
2004-01-15 15:41                   ` Fco.J.Ballesteros
2004-01-15 14:53             ` Fco.J.Ballesteros
2004-01-15 21:25             ` Dan Cross
2004-01-15 10:30       ` Lucio De Re [this message]
2004-01-15 10:46         ` usbd - revision (Was: [9fans] USB developments) Fco.J.Ballesteros
2004-01-15 11:47           ` Lucio De Re
2004-01-15 12:11             ` Charles Forsyth
2004-01-15 12:43               ` Lucio De Re
2004-01-15 18:01                 ` C H Forsyth
2004-01-15 19:10                   ` Lucio De Re
2004-01-15 20:24                     ` Charles Forsyth
2004-01-15 21:00                       ` Micah Stetson
2004-01-16  6:18                       ` Lucio De Re
2004-01-16  7:34                     ` Fco.J.Ballesteros
2004-01-16  7:38                     ` Fco.J.Ballesteros
2004-01-16  7:59                       ` Lucio De Re
2004-01-16 10:23                       ` Bruce Ellis
2004-01-16 10:32                         ` Lucio De Re
2004-01-16 10:39                           ` boyd, rounin
2004-01-16 10:45                           ` Richard Miller
2004-01-16 11:41                             ` Bruce Ellis
2004-01-16 11:50                               ` rog
2004-01-15  9:07   ` [9fans] USB developments Charles Forsyth
2004-01-15  9:18     ` Fco.J.Ballesteros
2004-01-15 10:39     ` Lucio De Re
2004-01-15 10:48       ` Richard Miller
2004-01-15  9:10 ` Richard Miller
2004-01-15  9:14   ` Fco.J.Ballesteros
2004-01-16  9:59 ` boyd, rounin

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=20040115123004.D25947@cackle.proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@cse.psu.edu \
    /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).