linux/drivers/usb/storage
Alan Stern 5fcf93795e USB: ene_usb6250: turn off the Removable flag
In the ene_usb6250 sub-driver for usb-storage, the INQUIRY data
returned by the driver indicates that the device has removable media.
While this is technically correct (memory cards can be removed from
the reader), it is not useful because the device automatically
disconnects itself from the USB bus when no media is present.

In addition, the driver does not support the PREVENT-ALLOW MEDIUM
REMOVAL and START STOP UNIT commands, and this can cause
user-interface frameworks to get confused when the user asks for the
card to be removed or ejected.

This patch fixes the problem by changing the INQUIRY data to specify
non-removable media; in practice this value works much better.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-and-tested-by: Andreas Hartmann <andihartmann@01019freenet.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-18 16:05:25 +02:00
..
alauda.c usb: storage: alauda: don't print on ENOMEM 2016-08-30 19:17:39 +02:00
cypress_atacb.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
datafab.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
debug.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
debug.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
ene_ub6250.c USB: ene_usb6250: turn off the Removable flag 2017-05-18 16:05:25 +02:00
freecom.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
initializers.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
initializers.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
isd200.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
jumpshot.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
karma.c usb: storage: karma: remove useless variable 2017-03-17 13:27:41 +09:00
Kconfig PM / Kconfig: Replace PM_RUNTIME with PM in dependencies 2014-12-13 00:44:04 +01:00
Makefile
onetouch.c usb: storage: fix module reference for scsi host 2015-05-10 16:03:50 +02:00
option_ms.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
option_ms.h
protocol.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
protocol.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
realtek_cr.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
scsiglue.c scsi: introduce a quirk for false cache reporting 2016-09-13 08:08:24 +02:00
scsiglue.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
sddr09.c usb: storage: sddr09: Remove a set-but-not-used variable 2017-01-25 10:52:43 +01:00
sddr55.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
shuttle_usbat.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
sierra_ms.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
sierra_ms.h
transport.c Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y 2016-11-15 11:08:51 +01:00
transport.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
uas-detect.h uas: Set max_sectors_240 quirk for ASM1053 devices 2015-04-28 12:48:57 +02:00
uas.c USB: uas: Fix slave queue_depth not being set 2016-06-01 14:56:24 -07:00
unusual_alauda.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_cypress.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_datafab.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_devs.h USB: storage: e-mail update in drivers/usb/storage/unusual_devs.h 2017-04-25 20:01:23 +02:00
unusual_ene_ub6250.h
unusual_freecom.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_isd200.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_jumpshot.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_karma.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_onetouch.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_realtek.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_sddr09.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_sddr55.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_uas.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_usbat.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
usb.c USB: storage: refactor endpoint retrieval 2017-03-23 13:54:08 +01:00
usb.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
usual-tables.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00