Chapter 5ATAPI Interface

Inquiry command

Bit

7

6

 

5

4

 

3

2

 

1

0

Byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Operation code (12h)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4-7

 

 

 

 

Allocation Length

 

 

 

 

 

 

 

 

 

 

 

 

8-15

 

 

 

Vendor ID (8 ASCII characters) ASCII “Seagate “

 

 

 

 

 

 

 

 

 

16-31

 

 

Product ID (16 ASCII characters ASCII “STT8000A

 

 

 

 

 

 

 

 

 

 

 

 

 

The INQUIRY command is always accepted, regardless of the state of the DSC bit. The command does not modify the status of DSC. The INQUIRY command returns the lesser of 36 bytes or the Allocation Length parameter of information. The following table defines the returned values.

Note: Much of the information returned by this command is redundant with the

ATAPI Identify Device command response.

Byte

Description

Value

Meaning

 

 

 

 

0

Peripheral Device Type

01h

Streaming Tape Drive (QIC-

 

 

 

121 Architectural Model)

 

 

 

 

1

Removable Media Bit (RMB)

80h

Removable

 

 

 

 

2

ISO/ECMA/ANSI Version

02h

ANSI=02

 

 

 

 

3

Response Data Format

02h

This Format

 

 

 

 

4

Additional Length

32.

36 total bytes

 

 

 

 

5-7

Reserved

00h

 

 

 

 

8-15

Vendor ID (8 ASCII characters)

ASCII

"Seagate "

 

 

 

 

16-31

Product ID (16 ASCII characters)

ASCII

"STT8000A "

 

 

 

 

32-35

Product Revision (4 ASCII characters)

ASCII

"N.NN"

 

 

 

 

The INQUIRY command is not to be used by the low-level driver; rather, it is intended to be used by applications, which usually have access to the drive only through the ATAPI protocol.

Page 40

STT8000A Product Manual

Page 48
Image 48
Seagate STT8000A manual Inquiry command, Bit Byte