Patent ID: 7355930

Claim:
A method of opening/closing a disk tray in a disk drive, comprising the steps of: when opening or closing operation of the disk tray is requested, sending a first load/unload command to the disk drive to trigger an operation of opening or closing the disk tray and recording a time value that corresponds to a time point of sending the first command; receiving a value returned by the disk drive for the first load/unload command and recording a time value that corresponds to a time point of receiving the returned value; and calculating a period of time from the sending of the first load/unload command to the receiving of the returned value; and when the calculated period of time is smaller than or equal to a threshold period, sending a second unload/load command to the disk drive, wherein the second unload/load command reverses the operation triggered by the first unload/load command applied to the disk drive.