Chapter 5ATAPI Interface
Log Sense command
Bit | 7 |
| 6 | 5 | 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
|
| Operation code (4Dh) |
|
|
| |||
|
|
|
|
|
|
|
|
|
| ||
1 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
| ||
2 |
| 01(PC) |
|
|
| Page Code |
|
|
| ||
|
|
|
|
|
|
|
|
|
| ||
3 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
| ||
4 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
| |||
5 | (MSB) |
|
|
| Parameter Pointer |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
|
|
|
|
|
|
|
|
| (LSB) |
|
|
|
|
|
|
|
|
| |||
7 | (MSB) |
|
|
| Allocation Length |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
|
|
|
|
|
|
|
|
| (LSB) |
|
|
|
|
|
|
|
|
|
| ||
9 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
The PC (Page Control) field is 01, for current values. The Page Code field identifies which page of data is being requested. The Parameter Pointer field allows requested parameter data to begin from a specific parameter code. The Allocation Length field specifies the number of data bytes to transfer.
The following table presents the supported log pages.
Byte | Description | Value | Meaning |
|
|
|
|
0 | Page Code | 00h | Supported Log Pages Page |
|
|
|
|
1 | Reserved | 00h | - |
|
|
|
|
2,3 | Page Length | 00,04h | 4 Supported Pages |
|
|
|
|
4 | First Supported Page | 00h | Supported Log Pages Page Code |
|
|
|
|
5 |
| 03h | Error Counter (Read) Page Code |
|
|
|
|
6 |
| 31h | Tape Capacity Page Code |
|
|
|
|
7 | Last Supported Page | 00h | Filler |
|
|
|
|
Page 44 | STT8000A Product Manual |