9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] USB developments
@ 2004-01-15  6:16 Lucio De Re
  2004-01-15  8:23 ` Fco.J.Ballesteros
                   ` (2 more replies)
  0 siblings, 3 replies; 41+ messages in thread
From: Lucio De Re @ 2004-01-15  6:16 UTC (permalink / raw)
  To: 9fans mailing list

Will the USB developers on Plan 9 please stand up, specially the
one with all the comments about how classes should not be managed
in usb/usbd?

I now have a surprising number of USB 2.0 peripherals as wells as
enough USB specifications to make me want to test them.

Let me list them, in case anyone wants me to test their efforts:

	HP ScanJet 5200 scanner
	Canon BJC-2100 colour printer
	Handspring Visor USB cradle
	external IDE drive enclosure with ISD-300 USB controller
	Speed Com+ USB modem (VD56US?)
	an as yet unconnectable Flash RAM reader/writer (Apacer thing)

I've been messing around with the existing code, including Richard
Miller's mass storage driver, but I'm only a little more familiar
with the goings on after all the source perusing and hacking.

I _have_ made a change to /sys/src/usb/usbd/device.c that allows
a configure index of -1 to be used to specify the first available
configuration as the external IDE enclosure I use has only
configuration 2 :-(  No use looking for 1 as usbd.c does in
enumerate(), specially when that is only a first stab at the real
thing as indicated by the /* TO DO */ comment.

My immediate question is whether it makes sense and is even possible
to imitate the behaviour of ip/ipconfig in the case of USB and, in
the instance I have in mind, mount the IDE driver (or the SCSI
driver or the generic "sd" driver, whichever comes closest after
making the necessary adjustments) on the appropriate desired port,
as ipconfig does with etherx and the TCP/IP stack?

If somebody cares to hold my hand while I misuse the last few days
of freedom I have left while the SO is overseas, I'd like to make
some progress on this score.

I have read the USB source code for Plan 9, if not in its entirety,
certainly a few important modules; I still don't understand
(conspicuous amongst many other issues) how isochronous transfers
are created or sustained (I presume the host controller does all
the hard work, if not, I'm missing a huge chunk of knowledge), and
Richard Miller has set me right on a few other issues indicative
of great ignorance on my part.

I have to admit I _like_ USB 2.0, although I am familiar with all
the complaints levelled at it and I believe Plan 9 can and ought
to support it wholeheartedly.  If I can help getting this right,
I'd really like to do it.

++L


^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2004-01-16 11:50 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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       ` usbd - revision (Was: [9fans] USB developments) Lucio De Re
2004-01-15 10:46         ` 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

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).