fix dependeces for CONFIG_USB_STORAGE
Subsystems (2)
PATCH 1/1 fix dependeces for CONFIG_USB_STORAGE
This patch adds a missed dependence for CONFIG_USB_STORAGE.
drivers/usb/storage/Kconfig renamed from drivers/usb/storage/Kconfig.orig +1 -0
@@ -6,6 +6,7 @@ tristate "USB Mass Storage support" depends on USB select SCSI + select BLK_DEV_SD ---help--- Say Y here if you want to connect USB mass storage devices to your computer's USB port. This is the driver you need for USB floppy drives,
Signature · 2 lines
Paolo Ornati Linux v2.6.6
drivers/usb/storage/Kconfig line 9
Quoted 11 lines · Paolo Ornati
This patch adds a missed dependence for
CONFIG_USB_STORAGE.Signed-off-by Paolo Ornati <[email protected]>drivers/usb/storage/Kconfig renamed from drivers/usb/storage/Kconfig.orig +1
-0@@ -6,6 +6,7 @@ tristate "USB Mass Storage support" depends on USB select SCSI + select BLK_DEV_SD
Huh, why?
Quoted 5 lines · Christoph Hellwig
Quoted 4 lines · Paolo Ornati
This patch adds a missed dependence for
CONFIG_USB_STORAGE.Signed-off-by Paolo Ornati <[email protected]>
Quoted 10 lines
drivers/usb/storage/Kconfig line 9
Quoted 8 lines
--- linux/drivers/usb/storage/Kconfig.orig 2004-06-02
10:55:18.000000000 +0200 +++
linux/drivers/usb/storage/Kconfig 2004-06-02 10:56:03.000000000 +0200drivers/usb/storage/Kconfig renamed from drivers/usb/storage/Kconfig.orig +1
-0@@ -6,6 +6,7 @@ tristate "USB Mass Storage support" depends on USB select SCSI + select BLK_DEV_SDHuh, why?
This HELP (taken from linux/drivers/scsi/Kconfig) is quite explicit:
config BLK_DEV_SD
tristate "SCSI disk support"
depends on SCSI
---help---
If you want to use SCSI hard disks, Fibre Channel disks, USB storage or the SCSI or parallel port version of the IOMEGA ZIP drive, say Y and read the SCSI-HOWTO, the Disk-HOWTO and the Multi-Disk-HOWTO, available from
<http://www.tldp.org/docs.html#howto>. This is NOT for SCSI CD-ROMs.
So if you want to use USB Mass Storage devices (that use SCSI emulation) you need also SCSI disk support (I have realized it when I've tried to mount one those USB devices, without success).
Bye,
Signature · 2 lines
Paolo Ornati Linux v2.6.6
Quoted 3 lines · Paolo Ornati
So if you want to use USB Mass Storage devices (that use SCSI emulation) you need also SCSI disk support (I have realized it when I've tried to mount one those USB devices, without success).
There's also external usb cdrom enclosures. In which case you only need sr.
Quoted 7 lines · Christoph Hellwig
Quoted 3 lines · Paolo Ornati
So if you want to use USB Mass Storage devices (that use SCSI emulation) you need also SCSI disk support (I have realized it when I've tried to mount one those USB devices, without success).
There's also external usb cdrom enclosures. In which case you only need sr.
ok... you are right...
Consequently this help could be a bit more explicit:
config USB_STORAGE
tristate "USB Mass Storage support"
depends on USB
select SCSI
---help---
Say Y here if you want to connect USB mass storage devices to your computer's USB port. This is the driver you need for USB floppy
drives,
USB hard disks, USB tape drives and USB CD-ROMs, along with similar devices. This driver may also be used for some cameras and card readers.
For example we can add something like this:
NOTE that these devices use SCSI emulation, so remember to enable the needed support in "SCSI Devices" section (for example: enable "SCSI Disk Support" if you are going to use USB hard drives).
;-)
Signature · 2 lines
Paolo Ornati Linux v2.6.6
Quoted 4 lines
So if you want to use USB Mass Storage devices (that use SCSI emulation) you need also SCSI disk support (I have realized it when I've tried to mount one those USB devices, without success).
... but I only want to use USB cdroms ;)
Quoted 16 lines
Quoted 2 lines
Huh, why?
This HELP (taken from linux/drivers/scsi/Kconfig) is quite explicit:
config
BLK_DEV_SD
tristate "SCSI disk support"
depends on SCSI
---help---
If you want to use SCSI hard disks, Fibre Channel disks, USB storage or the SCSI or parallel port version of the IOMEGA ZIP drive, say Y and read the SCSI-HOWTO, the Disk-HOWTO and the Multi-Disk-HOWTO, available from
<http://www.tldp.org/docs.html#howto>. This is NOT for SCSI CD-ROMs.
Quoted 3 lines
So if you want to use USB Mass Storage devices (that use SCSI emulation) you need also SCSI disk support (I have realized it when I've tried to mount one those USB devices, without success).
The help text is misleading. You need SD to mount disks. There are other devices which are not disks. In fact there are USB<->SCSI bridges, so you could do everything SCSI can do, eg. attach an old scanner which needs only SG.
Regards
Oliver