Page 1 of 1

CD/DVD tray won't eject on Linux Mint 14

Posted: Fri Mar 29, 2013 12:28 pm
by Giovani
Hello there.

I have a Dell desktop on which I recently installed Linux Mint 14.Due to lack of experience, I installed it in a faulty way, losing the possibility of booting into Windows in the process.Now Linux Mint is my only OS and I can't eject the CD/DVD drive, which would be useful for me in the process of restoring Windows and making a proper dual boot.

I searched the forums for similar problems and saw a few topics, but the solution seems to be sort of specific to each system.I tried typing some commands into the terminal but what I tried didn't seem to work.

Input: eject

Outut:

Code: Select all

eject: unable to find or open device for: `cdrom'
Input: eject -v

Output:

Code: Select all

eject: using default device `cdrom'
eject: device name is `cdrom'
eject: unable to find or open device for: `cdrom'
Do you guys have any suggestions?

Re: CD/DVD tray won't eject on Linux Mint 14

Posted: Sat Mar 30, 2013 1:44 pm
by homerscousin
I have a Sony Optiarc dvd burner. My eject button works, but sometimes I have to press it many times, or press it, go away, and press it a couple minutes later. It's almost like the drive has gone to sleep and it take a while for it to wake up. I thought the drive was probably getting a bit old and not functioning at 100%. It is 2-3 years old. Now, with your post, I wonder if there is something with Mint 14. I haven't payed enough attention to whether it did this with Mint 13. It still plays and burns fine, just the eject button.

I tried those terminal commands and got the exact same output.

Re: CD/DVD tray won't eject on Linux Mint 14

Posted: Sat Mar 30, 2013 2:56 pm
by dagon

Re: CD/DVD tray won't eject on Linux Mint 14

Posted: Sat Mar 30, 2013 8:53 pm
by caribriz
Eject doesn't work for me either. So like in the bug report linked to above - I tried these commands:

eject sr0
eject cdrom1
eject cdrw1
eject dvd1
eject dvdrw1

They all work for me.

And following a blog I read somewhere, I created a panel launcher to open the dvd tray (in LM14 Cinnamon):
I right-clicked an existing icon on the panel - eg. Firefox
Clicked Add
"Add panel launcher ..." pops up - filled in the fields:

Name: Open DVD Drive
Application: eject /dev/sr0
Icon: /home/d/.icons/Faenza/devices/48/cdrom_unmount.png
Click Add

It works great.
You could do something similar in mate or other desktop environment, but the procedure will be slightly different.

Re: CD/DVD tray won't eject on Linux Mint 14

Posted: Sat Mar 30, 2013 9:57 pm
by Giovani
I managed to add that command to my panel but it doesn't seem to work, same as in the terminal.I wonder if it's a hardware problem.My computer was recently struck by lightning and I opened it up to see if everything was okay.I hope I didn't disconnect anything by chance.

Also, I forgot to say in the main post that the tray button doesn't work either.It's not like it's jammed.It doesn't make any noises or shows any signal of trying to open.On my "computer" interface, I can't find it as a device.Look and see:
Screenshot-Computer.png

Re: CD/DVD tray won't eject on Linux Mint 14

Posted: Sat Mar 30, 2013 10:31 pm
by caribriz
Giovani wrote:I managed to add that command to my panel but it doesn't seem to work, same as in the terminal.I wonder if it's a hardware problem.My computer was recently struck by lightning and I opened it up to see if everything was okay.I hope I didn't disconnect anything by chance.

Also, I forgot to say in the main post that the tray button doesn't work either.It's not like it's jammed.It doesn't make any noises or shows any signal of trying to open.On my "computer" interface, I can't find it as a device.
Ahh, it's a different situation to mine then - therefore the eject sr0 and other commands didn't work for you in the terminal.

Could be a hardware problem - if it's not showing up in "Computer" - it's not a good sign. My laptop dvd drive has two icons in "Computer":
CD Drive and CD/DVD Drive.
Sorry I couldn't be of any help :(