An apparatus and method for indicating the connection state of an
input/output cable between an ATAPI drive and a host. The apparatus
includes an indicator and a controller. The indicator is a communication
device between an AT Attachment Packet Interface (ATAPI) drive and a host
interconnected via the input/output cable and indicates in response to a
control signal whether the AT Attachment Packet Interface (ATAPI) drive
is connected to or disconnected from the host via the input/output cable.
The controller sets a flag to check the connection state of the
input/output cable, when power is applied to the AT Attachment Packet
Interface (ATAPI) drive, and outputs the control signal to the indicator
to indicate that the input/output cable is not connected to the host when
a command is not received from the host for a predetermined period of
time.