Inquiry
32 SL150 Interface Reference Manual Julyl 2017
Inquiry
The Inquiry command (12h) requests that the library send to the initiator information
regarding the library’s parameters.
The Inquiry data returned for the Standard Inquiry page and the Inquiry Device
Identification Page depend on the bridged tape drive.
Note – The Inquiry command returns check condition status only
when the requested data cannot be returned. This command will
not clear any pending unit attention conditions.
TABLE 4-8 Inquiry Command
Byte
Bit
765432 1 0
0 Operation Code (12h)
1 Ignored Reserved (00h) CmdDt (0) EVPD
2 Page Code
3
to
4
MSB
Allocation Length
LSB
5 Control Byte (00h)
Inquiry Command Definitions:
CmdDt Command support data is not supported (0).
EVPD
The enable vital product data bit indicates the type of inquiry data the initiator
is requesting. Supported values are:
0 = Request for standard inquiry data
1 = Request for vital support product data page
Page Code
If the EVPD value is 0, this field is set to 00h.
If the EVPD value is 1, this field must be:
00h = Supported vital product pages
80h = Unit serial number page
83h = Device identification page
88h = SCSI ports page
C8h = Vendor Specific Device Capabilities Page (Bridged HP LTO-6 Tape Drive)
Allocation Length
The allocation length field specifies the maximum number of bytes that the
initiator has allocated for data returned from the Inquiry command. The library
transfers either the number of bytes specified by the Allocation Length field or
all of the available inquiry data, whichever is less.
A value of 0 indicates that no inquiry data is to be transferred. This condition is
not considered an error.