Patent ID: 8027239

Claim:
A data recording and reproducing device comprising: a light emitting element that generates light and emits the light toward an optical recording medium; a light emission control section that feedback-controls an emitted light quantity from the light emitting element; a light attenuating drive section that includes a light attenuating section, and inserts the light attenuating section into an emission path of the light when performing reproduction of data from the optical recording medium and retracts the light attenuating section from the emission path when performing recording of data onto the optical recording medium; and a shock detecting section that detects a shock of a magnitude that causes the light attenuating drive section to switch between insertion and retraction, wherein when the shock detecting section detects the shock during the recording of data, the light emission control section lowers a control target value of the emitted light quantity from a value set at a time of shock detection.