The DVD-rom on my wifes computer keeps opening and closing constantly. It just started today. I downloaded a Virus scanner and scanned her computer, 2 trojans popped up and the scanner said that it cleaned them off successfully. However the CD is still opening and closing, and the big problem that makes me wonder if this is not the drive is it does it as soon as you power up the computer, while its counting up the ram and everything. Now I've heard of Cmos virus and everything else but im just not sure, what are some of your thoughts?
I'd be willing to be the eject button is somehow being constantly engaged. Normally I'd look for something leaning against it, but if you've spent any time troubleshooting it that's probably not the case.
You might turn your computer off and see whether you can "feel" it engage when you push it. If you can't, it's probably blocked by something. If you can, it's either not the button or it's internal and electronic.
Try pulling the battery out completely and plugging in the cord. It could be a battery issue. It could be a bad cord. Do you have any way of knowing if there is power to the cord? Did you have it on an outlet that is controlled by the light switch?