Commit 731fc16c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Martin K. Petersen
parent 058595d5
...@@ -31,5 +31,6 @@ Linux SCSI Subsystem ...@@ -31,5 +31,6 @@ Linux SCSI Subsystem
NinjaSCSI NinjaSCSI
ppa ppa
qlogicfas qlogicfas
scsi-changer
scsi_transport_srp/figures scsi_transport_srp/figures
.. SPDX-License-Identifier: GPL-2.0
========================================
README for the SCSI media changer driver README for the SCSI media changer driver
======================================== ========================================
...@@ -28,15 +30,17 @@ The SCSI changer model is complex, compared to - for example - IDE-CD ...@@ -28,15 +30,17 @@ The SCSI changer model is complex, compared to - for example - IDE-CD
changers. But it allows to handle nearly all possible cases. It knows changers. But it allows to handle nearly all possible cases. It knows
4 different types of changer elements: 4 different types of changer elements:
media transport - this one shuffles around the media, i.e. the =============== ==================================================
media transport this one shuffles around the media, i.e. the
transport arm. Also known as "picker". transport arm. Also known as "picker".
storage - a slot which can hold a media. storage a slot which can hold a media.
import/export - the same as above, but is accessible from outside, import/export the same as above, but is accessible from outside,
i.e. there the operator (you !) can use this to i.e. there the operator (you !) can use this to
fill in and remove media from the changer. fill in and remove media from the changer.
Sometimes named "mailslot". Sometimes named "mailslot".
data transfer - this is the device which reads/writes, i.e. the data transfer this is the device which reads/writes, i.e. the
CD-ROM / Tape / whatever drive. CD-ROM / Tape / whatever drive.
=============== ==================================================
None of these is limited to one: A huge Jukebox could have slots for None of these is limited to one: A huge Jukebox could have slots for
123 CD-ROM's, 5 CD-ROM readers (and therefore 6 SCSI ID's: the changer 123 CD-ROM's, 5 CD-ROM readers (and therefore 6 SCSI ID's: the changer
...@@ -131,24 +135,23 @@ timeout_init=<seconds> ...@@ -131,24 +135,23 @@ timeout_init=<seconds>
timeout_move=<seconds> timeout_move=<seconds>
timeout for all other commands (default: 120). timeout for all other commands (default: 120).
dt_id=<id1>,<id2>,... dt_id=<id1>,<id2>,... / dt_lun=<lun1>,<lun2>,...
dt_lun=<lun1>,<lun2>,...
These two allow to specify the SCSI ID and LUN for the data These two allow to specify the SCSI ID and LUN for the data
transfer elements. You likely don't need this as the jukebox transfer elements. You likely don't need this as the jukebox
should provide this information. But some devices don't ... should provide this information. But some devices don't ...
vendor_firsts= vendor_firsts=, vendor_counts=, vendor_labels=
vendor_counts=
vendor_labels=
These insmod options can be used to tell the driver that there These insmod options can be used to tell the driver that there
are some vendor-specific element types. Grundig for example are some vendor-specific element types. Grundig for example
does this. Some jukeboxes have a printer to label fresh burned does this. Some jukeboxes have a printer to label fresh burned
CDs, which is addressed as element 0xc000 (type 5). To tell the CDs, which is addressed as element 0xc000 (type 5). To tell the
driver about this vendor-specific element, use this: driver about this vendor-specific element, use this::
$ insmod ch \ $ insmod ch \
vendor_firsts=0xc000 \ vendor_firsts=0xc000 \
vendor_counts=1 \ vendor_counts=1 \
vendor_labels=printer vendor_labels=printer
All three insmod options accept up to four comma-separated All three insmod options accept up to four comma-separated
values, this way you can configure the element types 5-8. values, this way you can configure the element types 5-8.
You likely need the SCSI specs for the device in question to You likely need the SCSI specs for the device in question to
...@@ -162,13 +165,15 @@ Credits ...@@ -162,13 +165,15 @@ Credits
I wrote this driver using the famous mailing-patches-around-the-world I wrote this driver using the famous mailing-patches-around-the-world
method. With (more or less) help from: method. With (more or less) help from:
Daniel Moehwald <moehwald@hdg.de> - Daniel Moehwald <moehwald@hdg.de>
Dane Jasper <dane@sonic.net> - Dane Jasper <dane@sonic.net>
R. Scott Bailey <sbailey@dsddi.eds.com> - R. Scott Bailey <sbailey@dsddi.eds.com>
Jonathan Corbet <corbet@lwn.net> - Jonathan Corbet <corbet@lwn.net>
Special thanks go to Special thanks go to
Martin Kuehne <martin.kuehne@bnbt.de>
- Martin Kuehne <martin.kuehne@bnbt.de>
for a old, second-hand (but full functional) cdrom jukebox which I use for a old, second-hand (but full functional) cdrom jukebox which I use
to develop/test driver and tools now. to develop/test driver and tools now.
...@@ -176,5 +181,4 @@ Have fun, ...@@ -176,5 +181,4 @@ Have fun,
Gerd Gerd
--
Gerd Knorr <kraxel@bytesex.org> Gerd Knorr <kraxel@bytesex.org>
...@@ -149,7 +149,7 @@ config CHR_DEV_SCH ...@@ -149,7 +149,7 @@ config CHR_DEV_SCH
don't need this for those tiny 6-slot cdrom changers. Media don't need this for those tiny 6-slot cdrom changers. Media
changers are listed as "Type: Medium Changer" in /proc/scsi/scsi. changers are listed as "Type: Medium Changer" in /proc/scsi/scsi.
If you have such hardware and want to use it with linux, say Y If you have such hardware and want to use it with linux, say Y
here. Check <file:Documentation/scsi/scsi-changer.txt> for details. here. Check <file:Documentation/scsi/scsi-changer.rst> for details.
If you want to compile this as a module ( = code which can be If you want to compile this as a module ( = code which can be
inserted in and removed from the running kernel whenever you want), inserted in and removed from the running kernel whenever you want),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment