[openbeos] Re: USB Mass Storage driver (Was RE: Re: Driver Tutorial)

> 
> Hi,
> >> Siarzhuk has already written a USB Mass Storage driver, which
> > Have downloaded it from BeBits, am just applying the 
> usb.patch at the 
> > moment... ...which worked! :D  USBDeskbar now works too so 
> I can 'see' 
> > the 128MB memory stick I've got plugged in.
> >   
> Nice. Keep me informed in case of problems with other USB storage 
> device. OK? :-)
Will do.  To start with I have two USB memory sticks - one 128MB IBM one
(which seems to have LEDs that indicate the USB type in use).  This reports
as follows in USBDeskbarView:

Product :       
Manufacturer :  
SerialNumber :  
Class : 0
Subclass : 0
Protocol : 0
VendorID : 2284
ProductID : 21
Version : 512
+ Configuration : 0
  + Interface : 0
    Class : 8 (Mass storage)
    SubClass : 6 (?)
    Protocol : 80 (?)
    + EndPoint : 0
      MaxPacketSize= 64
      Interval= 0
      Bulk
      Direction= Input
    + EndPoint : 1
      MaxPacketSize= 64
      Interval= 0
      Bulk
      Direction= Output

The other one is a 256MB stick I got with my GeForce 7800GS card, it reports
as follows:

Product : USB DISK 28X    
Manufacturer :         
SerialNumber : 07610991C40A
Class : 0
Subclass : 0
Protocol : 0
VendorID : 5118
ProductID : 6656
Version : 256
Configuration : 0
  + Interface : 0
    Class : 8 (Mass storage)
    SubClass : 6 (?)
    Protocol : 80 (?)
    + EndPoint : 0
      MaxPacketSize= 64
      Interval= 0
      Bulk
      Direction= Input
    + EndPoint : 1
      MaxPacketSize= 64
      Interval= 0
      Bulk
      Direction= Output

> > Out of interest, who wrote the USB.Patches devices - and is 
> the source 
> > code to these available?
> >   
> It is just a binary replacement for USB bus managers. As you should 
> already heard - the Dano had USB interface version 3 (BeOS R5 had USB 
> v2). Unfortunately, Dano version of USB modules requires some system 
> calls not available on R5. AFAIR it was "wake_up()" or something like 
> this. It was not possible to use Dano modules in R5 directly. 
> But! There 
> was some intermediate, development version of BeOS R5. :-) And that 
> version has USB v3 but not requires those system calls. 
> Someone has just 
> observed it, wrote an update instruction and pack it as 
> BeOS.USB.patches.zip. By the way - if your copy of USB 

Cool :)

> patches contains 
> no drivers for keyboard and mice - look for it. You'll have an wheel 
> support for some mouse types. Unfortunately I do not remember 
> the name 
> of this archive. :-\ The sources of this USB stuff is part of 
> R5 source 

I didn't get those drivers so I'll have a look for them.

[snip]
> >   
> Feel free to ask - anyway it is better to spend your time to 
> something 
> useful for others. :-D
> 

Thanks!  I'm currently downloading the latest Haiku SVN now so will take a
look around once it's complete.  Just to clarify - when you talk about the
"USB Stack" what files does that consist of exactly?




Other related posts: