]> git.hungrycats.org Git - linux/commit
[PATCH] USB: don't send any MODE SENSE commands to usb mass storage devices
authorMatthew Dharm <mdharm-usb@one-eyed-alien.net>
Fri, 12 Dec 2003 01:35:24 +0000 (17:35 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 12 Dec 2003 01:35:24 +0000 (17:35 -0800)
commit6a9f43677454e0ff8b5e2daeb61354b629800336
tree3e5ccd3be1be0ca103076d423adfb2766b9a8b42
parentee7895f33956e28fb5571b9ff28bdcae0d8c08c3
[PATCH] USB: don't send any MODE SENSE commands to usb mass storage devices

This patch basically eliminates the use of MODE_SENSE or MODE_SENSE_10 for
direct-access USB storage devices.  That $&%*! command has caused us more
trouble than all the others combined, and after more than a year we still
don't have a good way of handling/using them.

I constantly get complaints about devices which don't work because of the
way 2.5/6 uses MODE_SENSE and MODE_SENSE_10 -- this patch will greatly
increase compatiblity with devices.  As with the patch to limit transfer
sizes, I'd like to see this applied as soon as possible.

Matt

> ----- Forwarded message from Patrick Mansfield <patmans@us.ibm.com> -----
>
> Date: Thu, 20 Nov 2003 08:28:27 -0800
> From: Patrick Mansfield <patmans@us.ibm.com>
> Subject: [PATCH] don't send any MODE SENSE commands to usb mass storage devices
> To: mdharm-scsi@one-eyed-alien.net

Matthew -

Is this patch in your queue? I don't see it in Linus' tree yet.

Don't send any MODE SENSE commands to usb mass storage devices.
drivers/usb/storage/scsiglue.c