MODE SENSE | 6.Command Specification |
Supported page codes are:
Table 6-54: Supported MODE SENSE Page Codes
Page Code | Description |
00h | Standard Sense |
02h | |
0Ah | Control Mode Page |
0Fh | Data Compression Control |
10h | Device Configuration |
11h | Medium Partitions Parameter |
1Ch | Informational Exception Control |
31h | AIT Device Configuration |
32h | Append Partition (Not Support) |
33h | Delete Partition (Not Support) |
3Fh | Return All Pages |
If the initiator selects any other values, the drive will terminate the command with a CHECK CONDITION status and an ILLEGAL REQUEST sense key set.
Note: If the Page Code is ZERO, the drive will only return the
Allocation Length: The Allocation Length specifies the number of bytes that the initiator has allocated for returned MODE SENSE data. An Allocation Length of ZERO means that the drive will return no MODE SENSE data. This is not considered an error and GOOD status will be returned. Any other value indicates the maximum number of bytes that can be transferred. The drive terminates the
If the Page Code is ZERO, the initiator requires MODE SENSE to only return the
If the Allocation Length is
The MODE SENSE data contains a
Table
Bit | 7 | 6 |
| 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
| Mode Data Length |
|
|
| |||
1 |
|
|
|
|
| Medium Type (00h) |
|
|
| |||
2 | WP |
| Buffered Mode (001b) |
|
|
| Speed (00h) |
| ||||
3 |
|
|
|
| Block Descriptor | Length (08h) |
|
|
| |||
4 |
|
|
|
|
| Density Code (33h) |
|
|
| |||
5 | (MSB) |
|
|
| Number of Blocks (00 00 00h) |
|
|
| ||||
6 |
|
|
|
|
|
|
| |||||
7 |
|
|
|
|
|
|
|
|
|
|
| (LSB) |
8 |
|
|
|
|
|
| Reserved |
|
|
| ||
9 | (MSB) |
|
|
|
| Block Length |
|
|
| |||
10 |
|
|
|
|
|
|
|
| ||||
11 |
|
|
|
|
|
|
|
|
|
|
| (LSB) |
Mode Data Length: The mode data length specifies the length in bytes of the following MODE SENSE data that is available to be transferred during the
SONY |