Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 06-21-2009, 11:05 AM   #31
Registered: Jun 2009
Location: Haarlem, The Netherlands
Distribution: Archlinux
Posts: 125

Rep: Reputation: 20

Originally Posted by lazlow View Post
If it will not open during boot up, it is not an OS issue.
In some BIOS you need to tell it its a optical-drive (eg. CDROM)
These BIOS don't accept the interrupt ejecting the drive if it thinks it a HD
Old 06-21-2009, 11:09 AM   #32
Registered: Jun 2009
Location: Haarlem, The Netherlands
Distribution: Archlinux
Posts: 125

Rep: Reputation: 20
Check the bios setting if is seen as an optical drive, some of them block the interrupt to "open the gate"
Old 06-21-2009, 11:46 AM   #33
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
This IS a most puzzling and interesting thread..

I have a suggestion I don't think has been proposed yet: try the `sdparm` utility, for both EJECT and also for maybe any other settings that may help the drive respond better to your commands

`sdparm` is the SCSI twin of `hdparm` which is the tool for sending commands to hard disks (IDE PATA drives typically.) and may use (I stress **may**) a/different IOCTL for communicating with the drive.

For example, I can open my SATA DVD-RW drive (/dev/sr0) or my IDE CD-RW (/dev/hdc) drive like this:

`sdparm -C eject /dev/hdc`

and to close it:

`sdparm -C load /dev/hdc`

Both hdparm and sdparm offer a plethora of commands and inquiries you can do to drives; I have found them both EXTREMELY handy, especially when a drive goes out to lunch, the -w option to reset the drive works great.

Hope this helps!
Old 07-13-2010, 01:20 AM   #34
LQ Newbie
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
Possible Fix

I have some information that may be helpful. This bug report...
... describes a problem that I also had when using Grip cd ripping software (under Fedora 11, in case it matters).

For me, every time I inserted a disc (after the first one), Grip complained that the "location is already mounted" (but the software continued to work correctly anyway as long as I inserted another disc when Grip opened the drive door.

However, if I closed the drive WITH NO DISC IN IT - an empty drive - I could not get it to eject through any combination of "eject" commands, pushing a paper clip in the manual eject hole, etc.

However, at a command prompt...
$> lsof |grep gvfsd-cdd

I bet you will see /dev/sr0 (or whatever device your cd/dvd rom is).

Apparently a library that Grip uses (and probably other software as well) doesn't properly release the drive, even if you close Grip.

At a command prompt...
$> ps aux |grep gvfsd-cdd

If you are certain that the drive is empty and that it isn't doing anything useful, kill that process.

The eject button will again work.

Last edited by ddieringer; 07-13-2010 at 01:25 AM.
Old 12-28-2010, 04:26 PM   #35
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55

Rep: Reputation: 16
Has anyone considered that this could be a hardware-direct issue?

- when you press eject, do you hear the motor cycle at all? same with system-os controls.. will it cause anything inside to cycle?

I ask this, because I have 5 DVD burners in 3 different computers, and they will turn on, will read, write, burn discs, and they WILL EJECT, ONLY IF a DISC is inside the drive... but if the drive is empty and the door is closed, the only way to open the door is to activate the cycling of the drive by pressing the eject and then pressing the emergency release lock mechnism [the small hole] to the point where the drive releases the door. There was one burner that if i pressed the eject numerous times, it would suddenly release correctly..

i'm thinking it's the humidity in the area, as all these drives are different (Lite-on, Samsung, NEC) and all started to fail AFTER i brought them home...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open the trash folder and empty the trash in command line cmx08 Linux - Newbie 5 08-29-2008 10:15 AM
how do i create an empty bash(.sh) file in command line? bbmak Linux - Newbie 1 10-26-2007 03:39 AM
Pine or Mail - empty mailbox by command line jtp51 Linux - Software 3 01-26-2005 02:49 PM
Empty terminal [command line] with no text after kernel upgrade to 2.6.7 whencat Red Hat 7 07-09-2004 04:59 PM
Command line way to click a mouse button. danielw Linux - General 6 09-02-2003 04:52 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration