beautypg.com

8 prevent/allow medium removal command – FUJITSU MCM3064AP User Manual

Page 134

background image

Host Interface

4-64

C156-E227-01EN

4.6.8 PREVENT/ALLOW MEDIUM REMOVAL command

Table 4.79 PREVENT/ALLOW MEDIUM REMOVAL command

Bit

Byte

7

6

5

4

3

2

1

0

0

Operation Code (1Eh)

1

Logical Unit Number

Reserved

2-3

Reserved

4

Reserved

Prevent

5-11

Reserved

The PREVENT/ALLOW MEDIUM REMOVAL command allows or inhibits
media ejection on the device.

A value of 0 in the Prevent bit allows ejection and a value of 1 disables ejection.

The power-on default value is Enabled.

If there is any data not written yet in the write cache, the ODD completes writing
on media, then allows ejection.

Hard reset resets the prevent state to allow ejection.

Table 4.80 Response to Prevent/Allow/Eject

Operation

Status at

operation

When no media is

loaded

When media is loaded

Prevent = 0

Enabled

No error

No error

Inhibited

No error

No error

Prevent = 1

Enabled

No error

No error. Media ejection is inhibited.

Inhibited

No error

No error

Eject

Enabled

No error

No error: Eject the cartridge

(Ejection with
START/STOP UNIT
command)

Inhibited

Error:
SENSE KEY 5
ASC/ASCQ 5302

Error:
SENSE KEY 5
ASC/ASCQ 5302

Eject

Enabled

The state remains
unchanged.

Eject the cartridge

(Ejection with the Eject
switch)

Inhibited

The state remains
unchanged.

The state remains unchanged. Media
ejection is still inhibited.

This manual is related to the following products: