Skip to content

Commit 42681b9

Browse files
James Burengregkh
authored andcommitted
usb-storage: Add compatibility quirk flags for iODD 2531/2541
commit 05c8f1b upstream. These drive enclosures have firmware bugs that make it impossible to mount a new virtual ISO image after Linux ejects the old one if the device is locked by Linux. Windows bypasses this problem by the fact that they do not lock the device. Add a quirk to disable device locking for these drive enclosures. Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: James Buren <braewoods+lkml@braewoods.net> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20211014015504.2695089-1-braewoods+lkml@braewoods.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1309753 commit 42681b9

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎drivers/usb/storage/unusual_devs.h‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,16 @@ UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
406406
"785EPX Storage",
407407
USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
408408

409+
/*
410+
* Reported by James Buren <braewoods+lkml@braewoods.net>
411+
* Virtual ISOs cannot be remounted if ejected while the device is locked
412+
* Disable locking to mimic Windows behavior that bypasses the issue
413+
*/
414+
UNUSUAL_DEV( 0x04c5, 0x2028, 0x0001, 0x0001,
415+
"iODD",
416+
"2531/2541",
417+
USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE),
418+
409419
/*
410420
* Not sure who reported this originally but
411421
* Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN

0 commit comments

Comments
 (0)