Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Disabling CD-ROM drive eject button

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Hardware
View previous topic :: View next topic  
Author Message
Nobber
LXF regular


Joined: Mon Apr 11, 2005 4:24 pm
Posts: 370
Location: Nova Scotia

PostPosted: Mon Aug 15, 2005 12:48 pm    Post subject: Disabling CD-ROM drive eject button Reply with quote

When a CD is mounted, the eject button on the CD-ROM drive is disabled (usually). Which is nice (or not, according to personal taste). So...

Q: How can I disable the eject button on my CD-ROM drive when there's NO disc in the drive?

There must be a simple software solution to this problem!
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Mon Aug 15, 2005 1:08 pm    Post subject: RE: Disabling CD-ROM drive eject button Reply with quote

Duct tape Very Happy
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Nobber
LXF regular


Joined: Mon Apr 11, 2005 4:24 pm
Posts: 370
Location: Nova Scotia

PostPosted: Mon Aug 15, 2005 1:48 pm    Post subject: RE: Disabling CD-ROM drive eject button Reply with quote

Around my son's fingers, or across the CD-ROM drive?
_________________
800 LINES ERIC - GET BACK TO PYSKOOL
Back to top
View user's profile Send private message
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Mon Aug 15, 2005 3:23 pm    Post subject: RE: Disabling CD-ROM drive eject button Reply with quote

Found the following on the web...
http://www.informit.com/articles/article.asp?p=24152&seqNum=4&rl=1 wrote:

Disable CD-ROM drive eject buttons

Some newer CD-ROM drives, especially those from big-name manufacturers, ship with a jumper- or switch-operated feature to allow the user to completely disable the frontal eject button while leaving software eject intact. Even in the absence of such an option, you may be able to disable the button manually with a little tinkering, though doing so will likely void your warranty. Once the button has been disconnected or disabled, a CD can be inserted only after the user has logged into Linux and issued the eject command.


I also saw mention of a program called setcd that seems to be able to do what you want - if you're running Debian you can get a package from here, I've seen mentions of an RPM but haven't located it.
_________________
Hope this helps,

Nigel.
Back to top
View user's profile Send private message
Nobber
LXF regular


Joined: Mon Apr 11, 2005 4:24 pm
Posts: 370
Location: Nova Scotia

PostPosted: Mon Aug 15, 2005 3:54 pm    Post subject: RE: Disabling CD-ROM drive eject button Reply with quote

setcd looks like just the ticket - thanks! (I'm running Slackware, but I can just download the source code from a Debian repository. Open source is handy like that.)
_________________
800 LINES ERIC - GET BACK TO PYSKOOL
Back to top
View user's profile Send private message
Nobber
LXF regular


Joined: Mon Apr 11, 2005 4:24 pm
Posts: 370
Location: Nova Scotia

PostPosted: Mon Aug 15, 2005 4:32 pm    Post subject: RE: Disabling CD-ROM drive eject button Reply with quote

Or not...

Looks as if setcd allows you to enable the eject button even when a CD is mounted - but I want the exact opposite!

Sad
_________________
800 LINES ERIC - GET BACK TO PYSKOOL
Back to top
View user's profile Send private message
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Mon Aug 15, 2005 4:49 pm    Post subject: RE: Disabling CD-ROM drive eject button Reply with quote

Rats...

Looks like it's back to the Duct Tape, then Sad

Of course, you could always leave a mounted CD in the drive...
_________________
Hope this helps,

Nigel.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Mon Aug 15, 2005 5:11 pm    Post subject: RE: Disabling CD-ROM drive eject button Reply with quote

Try cdctl. the options include

-oA --lockdoor=A lock or unlock the eject button

or you could stick to duct taping his fingers put of harm's way Smile
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Nobber
LXF regular


Joined: Mon Apr 11, 2005 4:24 pm
Posts: 370
Location: Nova Scotia

PostPosted: Mon Aug 15, 2005 5:17 pm    Post subject: RE: Disabling CD-ROM drive eject button Reply with quote

Aha! [cautious optimism]Looks more promising...[/cautious optimism]
_________________
800 LINES ERIC - GET BACK TO PYSKOOL
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Mon Aug 15, 2005 5:29 pm    Post subject: RE: Disabling CD-ROM drive eject button Reply with quote

cdctl or the duct tape? Very Happy
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Nobber
LXF regular


Joined: Mon Apr 11, 2005 4:24 pm
Posts: 370
Location: Nova Scotia

PostPosted: Thu Aug 18, 2005 9:22 am    Post subject: RE: Disabling CD-ROM drive eject button Reply with quote

And...it works!

(cdctl --lockdoor, that is.)
_________________
800 LINES ERIC - GET BACK TO PYSKOOL
Back to top
View user's profile Send private message
cadmium3



Joined: Mon Aug 29, 2005 7:24 am
Posts: 1

PostPosted: Mon Aug 29, 2005 7:32 am    Post subject: RE: Disabling CD-ROM drive eject button Reply with quote

thanks for the help, trolled to get this fix.....kinda new to the forum...

Have you every tried Alien Package Converter (http://www.kitenet.net/programs/alien/) to change deb's to rpm's? works pretty slick like!!

Thanks for the cd fix too!!
Wink Wink
_________________
Ted Brown
Inland NW Gaming & Systems, LLC
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast