On Tue, 2 May 2006 10:31:14 -0700, Matthew Dharm <[EMAIL PROTECTED]> wrote:

> > > So what criteria did you use to decide whether to set it to
> > > USB_US_TYPE_STOR or "0"? I'm assuming 0 means usb-storage?
> > 
> > No, zero means "runtime-selectable". The ub only works with 8/6/50
> > devices, so this disqualifies anything that
> >  - uses 8070, 8020, RBC, etc.
> >  - uses UFI, even over bulk
> >  - uses CB or CBI for transport
> >  - needs any initialization function
> > 
> > Also, a bunch of devices use unknown protocols, because they only
> > have SC_DEVICE and PR_DEVICE listed.
> > 
> > So, in the end almost everything has to be locked to usb-storage.
> 
> My only objection is that the above bit of knowledge should be spelled out
> somewhere very clearly in ub, libusual, and usb-storage so that people
> wondering the same thing can find it no matter where they look.

This is very valid, although the list of exceptions which I listed
above muddies the waters.

The simplest way to look at it is to consider the case of libusual
absent. Then, the list of devices which ub supports is given with one
line which matches 8/6/50.

When we are armed with libusual, we can make the safe set more precise
by including devices which mistakenly specify 0xff somewhere and
by excluding that non-disk, pure SCSI adapter by Adaptec.

So, the comment would not be too long, and it does not need to list
exceptions as I did for illustrative purposes. Still, I'm having
difficulties formulating it. I have to think about it a bit more.

You and Alan seem not to have any difficulty figuring it out
from just the code, so I hoped to let it slide :-)

-- Pete


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to