9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] using dvd/rw as WORM drive for venti on USB interface
@ 2004-06-23 13:20 Matt Pidd--Cheshire
  2004-06-23 13:54 ` matt
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Pidd--Cheshire @ 2004-06-23 13:20 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> as to what you need to read and write - good luck !

no kidding. thanks for the hint, that's it for me i'm afraid - i'm
defecting back to FreeBSD <faint cheers> -- where my code /still/
/inexplicably/ runs twice as fast on both my machines -- and drivers
for the devices are ready and working ...

's a pity 'cuz i didn't mind tinkering, but my proj stuff needs to
whizz and i need to spend more time on it than on getting the host
OS to work with it.

sincere thanks to all the patient people who offered assistance and
tolerated my erroneous and chronologically muddled multiple posts.

ttfn


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

* Re: [9fans] using dvd/rw as WORM drive for venti on USB interface
  2004-06-23 13:20 [9fans] using dvd/rw as WORM drive for venti on USB interface Matt Pidd--Cheshire
@ 2004-06-23 13:54 ` matt
  0 siblings, 0 replies; 6+ messages in thread
From: matt @ 2004-06-23 13:54 UTC (permalink / raw)
  To: 9fans

seeya,

as you go , take this with you :

9p is a protocol, independent of plan9
u9fs is a 9p server that runs on Lunix - I run it here on freebsd

if you ever work with distributed file systems, we'll be waiting for you

m



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

* Re: [9fans] using dvd/rw as WORM drive for venti on USB interface
@ 2004-06-23 14:14 Matt Pidd--Cheshire
  0 siblings, 0 replies; 6+ messages in thread
From: Matt Pidd--Cheshire @ 2004-06-23 14:14 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> if you ever work with distributed file systems, we'll be waiting for you

true and this proj will eventually need a large distributed system and
i don't care where the data comes from as long as it arrives fast and
reliably ...

... and to take us out, Mr. Eric Idle ...


Full speed ahead Mr. Pentium!
...
I love to tinker with plan9'er
and sail the code of old 8c
to find, explore the timing for sure
and skirt the shoals of profiled C

it can be manly to skip the opt stage
we'll profile the code every three (runs)
it's all incorruptible
though slower and ineluctable
we're sailing on the output of 8c!

-- To the tune of Monty Python's
    Accountancy Shanty

;-)


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

* Re: [9fans] using dvd/rw as WORM drive for venti on USB interface
  2004-06-21  0:49 Matt Pidd-Cheshire
  2004-06-21  6:10 ` vdharani
@ 2004-06-21 11:25 ` matt
  1 sibling, 0 replies; 6+ messages in thread
From: matt @ 2004-06-21 11:25 UTC (permalink / raw)
  To: 9fans

run usb/usbd

you can then see which USB datafiles appear in /dev

ls -d /dev/usb*

then write a program that includes this :

	sprint(datafile1, "/dev/usb%d/%d/ep1data", usbport, usbchannel);
	sprint(datafile2, "/dev/usb%d/%d/ep2data", usbport, usbchannel);

	fdin = open(datafile1, OREAD);
	fdout = open(datafile2, OWRITE);

	free(datafile1);
	free(datafile2);


as to what you need to read and write - good luck !

when usb/usbd is run it collects the device type ID from the device, the ID is an agreeement about the protocol : certain ID's have published protocols of course some decide to use  ID=FF which means "we're using our own protocol"

I imagine your mass storage device will use an agreed ID - which is why they just *work* in Windows™



m



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

* Re: [9fans] using dvd/rw as WORM drive for venti on USB interface
  2004-06-21  0:49 Matt Pidd-Cheshire
@ 2004-06-21  6:10 ` vdharani
  2004-06-21 11:25 ` matt
  1 sibling, 0 replies; 6+ messages in thread
From: vdharani @ 2004-06-21  6:10 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> does anyone have any hints they can give about how to config
> and use a usb interface to drive this kind of mass storage
> device under plan9?
as far as i know, usb mass storage devices are not supported in plan 9 yet.

thanks
dharani



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

* [9fans] using dvd/rw as WORM drive for venti on USB interface
@ 2004-06-21  0:49 Matt Pidd-Cheshire
  2004-06-21  6:10 ` vdharani
  2004-06-21 11:25 ` matt
  0 siblings, 2 replies; 6+ messages in thread
From: Matt Pidd-Cheshire @ 2004-06-21  0:49 UTC (permalink / raw)
  To: 9fans

does anyone have any hints they can give about how to config
and use a usb interface to drive this kind of mass storage
device under plan9?

thank you kindly.
matt


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

end of thread, other threads:[~2004-06-23 14:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-23 13:20 [9fans] using dvd/rw as WORM drive for venti on USB interface Matt Pidd--Cheshire
2004-06-23 13:54 ` matt
  -- strict thread matches above, loose matches on Subject: below --
2004-06-23 14:14 Matt Pidd--Cheshire
2004-06-21  0:49 Matt Pidd-Cheshire
2004-06-21  6:10 ` vdharani
2004-06-21 11:25 ` matt

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