On Sat, Mar 03, 2001 at 08:54:48PM -0600, [EMAIL PROTECTED] wrote:
> On Sat, Mar 03, 2001 at 06:01:20PM -0800, Matthew Dharm wrote:
> > We have the strings in the unusual device structure for just this reason.
> > A better fix would be to have a scsiglue.c function which could turn these
> > strings into an INQUIRY response, based on a flag set in the flag field.
>
> The vendor and product strings are there. There isn't anything to set
> the device type (unless I'm not current on the code). There is a
> function in usb.c called fill_inquiry_response() that uses those
> strings, but that function is only used in the sddr09 driver. Maybe
> that needs to be used elsewhere and expanded.
You're basically right. The good news is that all devices so far which
need fake inquiry data are all direct-access devices.
And fill_inquiry_response is there for exactly that reason. It probably
needs a little bit of work to make it perfectly usable by others, tho.
Matt
--
Matthew Dharm Home: [EMAIL PROTECTED]
Maintainer, Linux USB Mass Storage Driver
E: You run this ship with Windows?! YOU IDIOT!
L: Give me a break, it came bundled with the computer!
-- ESR and Lan Solaris
User Friendly, 12/8/1998
PGP signature