I also have a similar problem with my current LiteOn DVDRW drive. After looking up several forums trying to find a solution I've come to a conclusion that the solution is either getting a new drive or always leaving a cd inside the drive.
Had the same problem. If the drive is an older model then there might be a small round magnet on the inner roof of the drive that clamps down on the disc when it closes. It would seem that after time the rubber belt and pulley mecanism gets slippery or stretches becoming too weak to break free of the magnet. If you open your drive and take the cover off, you can see the small belt on two pulleys below the open tray. I took off the belt and cleaned it and the grooves where it fits on the pulleys with pure alcohol and it has worked normal since then. If that didn't work, buy a new belt or cut out a round piece of strong tape the same size as the magnet and stick it on, make sure there is a hole in the middle of the tape. This weakens the gripping power of the magnet allowing the tray to break free easier.
If you are stuck for a CD/DVD belt, seek out a horse riding place and take the belt with you. The bands they use around the horses tails can often be just the right size and shape. Belts can be installed through the front of the drive with a little care and patience.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.