61
Chapter 8 SCSI Commands
8.2. INQUIRY Command (12h)
The INQUIRY command is used to send autoloader data to the initiator.
Autoloader supplementary data can also be requested as an option.
Table 8.2.1 : INQUIRY command
When the Enable vital product data (EVPD) bit is 1, the autoloader returns the
VPD data specified in the Page Code field. When the EVPD bit is 0, the
autoloader returns standard Inquiry data. In this case, if the Page Code field is
set to a value other than 0, a CHECK CONDITION is returned from the
autoloader with the sense key ILLEGAL REQUEST and additional sense code
INVALID FIELD IN CDB.
The Page code field determines the page of VPD data to be returned by the
autoloader. (See Table 8.2.2.1)
Only when the INQUIRY data requested by the INQUIRY command cannot be
returned is a CHECK CONDITION status is returned. If an INQUIRY
command is received from an initiator having an unresolved UNIT
ATTENTION condition, the autoloader does not clear the UNIT ATTENTION
condition, but returns the INQUIRY data.
8.2.1. Standard INQUIRY data
The standard INQUIRY data (see table), consists of 36 bytes.
Bit
Byte
7
6
5
4
3
2
1
0
0
Operation code (12h)
1
Logical unit
number(000b)
Reserved(0h)
CMDDT
EVPD
2
Page or Operation code
3
Reserved(0h)
4
Allocation length
5
Control(0h)
Bit
Byte
7
6
5
4
3
2
1
0
0
Peripheral qualifier
Peripheral device type
1
RMB(1)
Device-type modifier(00h)
2
ISO version(0)
ECMA version(0)
ANSI-approved
version(2)
3
AENC
(0)
TrmIOP
(0)
Reserved(0)
Response data format(2)
4
Additional length (1Fh)
5
Reserved(0h)
6
Reserved(0h)
7
RelAdr WBus32 WBus16
Sync
Linked
Reserved
CmdQue
SftRe
8
(MSB)
Vendor identification
"SONY"
15
(LSB)