I think the fix we're all agreed on is preventing mode sense being
issued to USB storage.
Since Patrick has already provided the mechanics for this, I suggest we
do this by setting the skip_ms_page_3f and skip_ms_page_8 globally in
the usb-storage slave configure routines.
If there are known good devices, it would probably be best to add them
to the USB special devices list to have these flags reset for the
capabilities.
The nice thing about this approach is that I don't have to do anything
in SCSI, and the control of the USB black/white list is entirely in the
USB subsystem.
Does this sound like a plan?
James
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|