Patent ID: 8356311

Claim:
A detecting method for a limit switch of an optical disc drive, comprising: (a) loading an optical disc when a voltage of the limit switch of the optical disc drive is at a high level; (b) detecting if the voltage of the limit switch is changed to a low level; if the voltage of the limit switch is still at the high level, going to step (a) to continue loading the optical disc; if the voltage of the limit switch is changed to the low level, going to step (c); (c) completing a disc loading process; (d) detecting if the voltage of the limit switch is changed to the high level again; if the voltage of the limit switch is not at the high level, going to step (c) to maintain a disc loaded status; if the voltage of the limit switch is at the high level, going to step (e); (e) sampling the voltage of the limit switch predetermined times and detecting if sampled voltages are all at the high level; if the sampled voltages are not all at the high level, going to step (c) to maintain the disc loaded status; if the sampled voltages are all at the high level, going to step (f); and (f) completing a disc ejecting process.