7. ATAPI Packet Command Specification
MODE SENSE
SONY AIT-1 Turbo drive SDX-470V series Ver.1.0
7-32
7.8. MODE
SENSE
1Ah
Bit
Byte
7 6 5 4 3 2 1 0
0
Operation Code (1Ah)
1
Reserved DBD
Reserved
2
0(PC) Page
Code
3
(MSB)
4
Allocation Length
(LSB)
6
Reserved
7
Reserved
8
Reserved
9
Reserved
10
Reserved
11
Reserved
The MODE SENSE command provides a means for a Device to report parameters. It is a complementary
command to the MODE SELECT command.
A
D
isable
B
lock
D
escriptors (
DBD
) bit of zero indicates that the Device shall return one block descriptor in the
returned MODE SENSE data. A
DBD
bit of one specifies that the Device shall not return any block descriptors in
the returned MODE SENSE data.
The
Page Code
specifies which page or pages to return.
If a MODE SENSE command is attempted with a page code value not implemented, the Device shall return
“Check Condition” status and shall set the Sense Key to ILLEGAL REQUEST and the Additional Sense Code to
INVALID FIELD IN CDB.
A page code of 3Fh indicates that all pages implemented by the Device shall be returned. Page 00h, if
implemented, shall be returned after all other pages. Devices that implement more than 255 bytes of mode page
parameter data and block descriptors shall return “Check Condition” status to a MODE SENSE request of 3Fh in
the page code field. The Sense Key shall be set to ILLEGAL REQUEST and the Additional Sense Code shall be
set to INVALID FIELD IN CDB.
The Drive returns the current parameter values for the specified page code. The current values returned are:
1. The parameters set in the last successful MODE SELECT command.
2. The default values if a MODE SELECT command has not been executed since the last power-on, hard
RESET condition, or Device reset, or not ready to ready transition.
Table 7-34: Supported Mode Sense Page Codes
Page Code
Description
Parameter List Length
00h Standard
Sense
0Ch
02h Disconnect-Reconnect
0Ch+10h=1Ch
0Fh Data
Compression
Page
0Ch+10h=1Ch
10h Device
Configuration
0Ch+10h=1Ch
11h
Medium Partition Page
0Ch+0Ch=18h (when AIT bit is ZERO)
0Ch+(8+2xn)=14h+2x (when AIT bit is ONE)
1Ch
Informational Exception Control
0Ch+0Ch=18h
31h
AIT Device Configuration
0C+0A=16h
32h
Append Partition
0C+0A=16h (when AIT bit is ONE)
33h
Delete Partition
0C+0A=16h (when AIT bit is ONE)
2Ah
Capabilities and Mechanical Status
0Ch+14h=20h
3Fh
Returns all pages (valid only for the MODE
SENSE command)
0Ch+10h+10h+10h+0Ch+0Ch+0Ah+14h=72h
0Ch+10h+10h+10h+(8+2xn)+0Ch+0Ah+0Ah+0Ah+14h=82h+2xn