How to determine if CD-ROM problem is caused by hardware or software

Hi,
My CD-ROM drive is acting up again. It cannot read some of my CDs whether it's an audio CD or software CD. I'm planning to replace my CD-ROM drive but before I do, how can you determine if a CD-ROM problem is caused by hardware or software? I already checked my device manager and there seem to be no signs indicating that there is really something wrong with it. Below is the actually screenshot of my device manager and hope it will give you a better view of the possible problem:
Error:
ASUS CRW-3212A
Device type: DVD/CD-ROM drives
Manufacturer: (Standard CD-ROM drives)
Location: Location 0 (0)
Device status
This device is working properly.
If you are having problems with this device, click Troubleshoot to start the troubleshooter.
