Quantum Audio STT2401A Manuel D’Utilisation

Page de 137
Chapter 5 
 
ATAPI Interface 
Page 66 
Seagate Travan 40 Product Manual 
 
PREVENT/ALLOW MEDIA REMOVAL (Group 0, Op. Code 1E) 
This command is used to prevent or allow the removal of the tape cartridge. 
CDB for PREVENT/ALLOW MEDIA REMOVAL Command 
 
Data Bits 
 
Byte 
Hex 
1E 
00 
00 
00 
PRE 
0X 
00 
PRE: When set to 0, an ALLOW command is indicated. Following this command, 
cartridge unloading via the front panel Eject button or the UNLOAD command is 
allowed. 
When set to 1, a PREVENT command is indicated. Following this command, an 
UNLOAD command or an Eject button push will be rejected.  An UNLOAD command 
will be terminated with Check Condition Status. The Sense Key will be set to 5h 
(Illegal Request), and the ASC and ASCQ codes will be set to 53/02h (Media 
Removal Prevented
). This command is canceled by a hard reset or a 
PREVENT/ALLOW command with the PRE bit set to 0. The drive does not 
disconnect from the Initiator while executing this command. A PREVENT command 
can be cleared by an ALLOW command only if sent by the same Initiator.