Re: [stable] [PATCH ver. 2] usb-storage: add BAD_SENSE flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 08, 2009 at 10:24:29AM -0500, Alan Stern wrote:
> This patch (as1311b) fixes a problem in usb-storage: Some devices are
> pretty broken when it comes to reporting sense data.  The information
> they send back indicates that they have more than 18 bytes of sense
> data available, but when the system asks for more than 18 they fail or
> hang.  The symptom is that probing fails with multiple resets.
> 
> The patch adds a new BAD_SENSE flag to indicate that usb-storage
> should never ask for more than 18 bytes of sense data.  The flag can
> be set in an unusual_devs entry or via the "quirks=" module parameter,
> and it is set automatically whenever a REQUEST SENSE command for more
> than 18 bytes fails or times out.
> 
> An unusual_devs entry is added for the Agfa photo frame, which uses a
> Prolific chip having this bug.
> 
> Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> Tested-by: Daniel Kukula <daniel.kuku@xxxxxxxxx>
> 
> ---
> 
> The first version of this patch accidentally omitted a mask entry for 
> the new flag.  Please replace it with this updated version.

As I messed up and applied your original, can you send the diff of this
one and your original so that I can apply that?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux