A method for detecting a mechanical shock affecting an optical disc drive during reading or recording information onto an optical disc, the optical disc drive comprising a lens system used in reading or recording information from the optical disc, servo means for controlling the positioning of the lens system relative to the optical disc, the servo means generating servo signals, the method comprising steps of
- generating a first shock detection signal based on using at least one servo signal;
- deciding that a mechanical shock is present if a value of the first shock detection signal exceeds a first threshold value;
- the method characterized by
- using a focus error signal (FE) and/or a tracking error (TE) signal from available servo signals for generating the first shock detection signal;
- the first shock detection signal being proportional to a weighted time integration of the focus error signal (FE) and/or the tracking error (TE) signal.