| You need to send SCSI-2 Move Medium commands. It is part of
the Medium Changer command set, which is in Chapter 17 of
the SCSI-2 spec. Other useful commands:
o Inquiry to verify a device is medium changer.
o Mode Sense to get the Element Address Assignment Page.
o Read Element Status to find out what is in the slots
and drive.
The other commands are less interesting, but once you can
send these, they should be easy. For shipping commands
down to the device, something that goes through the CAM
User Agent interface may not be too hard; compared to
writing a full device driver. Inquiry and Mode Sense
you may be able to get to using the I/O controls of the
rzdisk interface.
The NSR kit has a Medium Changer driver buried in it,
which may offer I/O control access to the medium changer
commands.
|