Files
linux-apfs/drivers/scsi
Hans de Goede 8e04d8056c scsi/sr: add no_read_disc_info scsi_device flag
Some USB devices emulate a usb-mass-storage attached (scsi) cdrom device,
usually this fake cdrom contains the windows software for the device.
While working on supporting Appotech ax3003 based photoframes, which do
this I discovered that they will go of into lala land when ever they see a
READ_DISC_INFO scsi command.

Thus this patch adds a scsi_device flag (which can then be set by the
usb-storage driver through an unsual-devs entry), to indicate this, and
makes the sr driver honor this flag.

I know this sucks, but as discussed on linux-scsi list there is no other
way to make this device work properly.

Looking at usb traces made under windows, windows never sends a
READ_DISC_INFO during normal interactions with a usb cdrom device.  So as
this cdrom emulation thingie becomes more common we might see more of this
problem.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-22 10:22:04 -07:00
..
2010-08-17 18:07:43 -07:00
2010-08-11 08:59:01 -07:00
2010-08-11 08:59:01 -07:00
2010-09-02 17:11:55 -03:00
2010-08-03 09:04:14 +02:00
2010-08-20 09:34:56 -07:00
2010-07-27 12:02:00 -05:00
2010-01-18 10:48:08 -06:00
2010-05-02 15:55:03 -04:00
2010-08-11 08:58:59 -07:00
2010-08-11 00:55:42 -04:00
2010-09-16 11:48:48 -04:00
2010-09-07 10:31:54 -05:00
2010-08-07 18:26:08 +02:00
2010-08-11 08:59:02 -07:00
2009-12-10 08:54:13 -06:00