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

Alan Stern
2003-11-13T14:54:14Z

On Wed, 12 Nov 2003, Matthew Dharm wrote:

> I'm starting to think that this may be the best solution -- blacklist all
> MODE_SENSE[_10] commands from all Direct-Access devices.

I was just going to suggest that myself -- or rather, blacklist all
MODE-SENSE(x) commands from all USB disk-type devices.

Is there any strong reason not to do this? Bear in mind that Windows
apparently does not use these commands. I don't see how not knowing the
true read-write status or caching type will hurt anything. (And the
read-write status can be adjusted, if necessary, when a WRITE command
fails with Medium Error: Write Protected sense.)

Alan Stern