Here are some common solutions:
1. Check the hardware connection: Make sure the optical drive is properly connected to the computer.
Check that the data and power cables are securely connected.
Make sure the USB or other ports are connected properly.
2. Check the power supply of the optical drive: Make sure the power cord of the optical drive is connected properly and the power supply is normal.
You can try to replace the power cord or socket to ensure that the power supply is normal.
3. Check Device Manager: Open Device Manager and check if the optical drive is shown in the device list.
If the optical drive shows up with a yellow exclamation mark or question mark, there may be a driver problem.
Right-click on the optical drive and select Update Driver, or uninstall the driver and restart the computer to let the system reinstall the driver.