Re: [usb-storage] Re: [PATCH] fix Sony USB mass storage - pass larger receive buffer

Pat LaVarre
2003-11-13T23:44:41Z

Alan S:

> > > > We may as well fix SCSI over IDE and SCSI over 1394/FireWire/iLink at
> > > > the same time we fix SCSI over USB, yes?
> > >
> > > Are they broken?
> >
> > Aye, in much the same way: nothing but Talk Like Windows actually works
> > well ...
>
> Those sound like different issues from the one we've been discussing in
> this thread, namely: how should sd.c try to determine the read/write
> status and cache-type of a disk device?

I mean to be saying sd.c should by default send the CDB's associated
with buffer lengths that produce the same BBB CBW's as Windows XP/2K,
and then determine the read/write status and cache-type from that info
alone.

Do you agree that works for generic USB storage i.e. bInterfaceClass
...SubClass ...Protocol = x 08 (02|05|06) 50?

Do you disagree that is what we should do in sd for generic USB storage?

I'm confident Win XP/2K sometimes sends mode select to PDT x00
HDD/Flash, because I remember some months back a friend fixed some
firmware that didn't interpret mode select like Win wants nowadays.

I imagine that means Win sends mode sense too.

I haven't yet seen a trace of Win XP/2K.

Pat LaVarre