On Mon, Aug 30, 2004 at 09:44:30PM -0700, Phil Dibowitz wrote: > So Alan Stern offered to let me take over maintaining unusual_devs.h, > and I since I'm actually interested in that, I decided to write up some > notes on how that stuff worked for myself. In the spirit of open-source, > I thought I'd share those (and Alan, who helped me flesh out the notes, > pointed out that Mark R. might want to see these, so he's CC'd). > > Anyway the notes are here: > > http://www.phildev.net/linux/usb-unusualdevs-notes.txt > > Now that I have a pretty good understanding, I'm hoping to start helping > more and more with the maintenance of unusual devices...
US_FL_NEED_OVERRIDE is a bit confusing... perhaps I can help clarify. Consider a device which needs a SubClass/Protocol override. There are plenty of them out there. Now consider that the manufacturer of this device realizes the problem, and changes the device descriptors so the override is no longer needed. However, he fails to change the device revision (my guess is that this behavior is caused by some level of brain-death....) The entry for the old version of the device is needed to make the older devices work. But, that same entry will generate a warning message whenever the new version is seen (remember, the new version has the save revision number as the old version, so the entry applies). In this case, we want to supress the warning message. After all, we know that we want to keep the entry so the old vesrion works. And, we want people to stop sending us e-mail telling us to remove/fix the entry. Matt P.S. We're working on a way to get rid of US_FL_FIX_CAPACITY. And we're pretty sure that most devices don't need US_FL_FIX_INQUIRY -- they may just need some 'settling time' before we send the INQUIRY command (see soon-to-be-released patch). I've even got some back-burner plans to look at ways to get rid of US_FL_SINGLE_LUN. :) -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver Why am I talking to a toilet brush? -- CEO User Friendly, 4/30/1998
pgphNru0N8jF5.pgp
Description: PGP signature