| View previous topic :: View next topic |
| Author |
Message |
Nobber LXF regular

Joined: Mon Apr 11, 2005 4:24 pm Posts: 370 Location: Nova Scotia
|
Posted: Mon Aug 15, 2005 12:48 pm Post subject: Disabling CD-ROM drive eject button |
|
|
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 |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 8002 Location: Warrington, UK
|
Posted: Mon Aug 15, 2005 1:08 pm Post subject: RE: Disabling CD-ROM drive eject button |
|
|
Duct tape  _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
Nobber LXF regular

Joined: Mon Apr 11, 2005 4:24 pm Posts: 370 Location: Nova Scotia
|
Posted: Mon Aug 15, 2005 1:48 pm Post subject: RE: Disabling CD-ROM drive eject button |
|
|
Around my son's fingers, or across the CD-ROM drive? _________________ 800 LINES ERIC - GET BACK TO PYSKOOL |
|
| Back to top |
|
 |
Nigel LXF regular

Joined: Fri Apr 08, 2005 9:03 pm Posts: 1141 Location: Gloucestershire, UK
|
Posted: Mon Aug 15, 2005 3:23 pm Post subject: RE: Disabling CD-ROM drive eject button |
|
|
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 |
|
 |
Nobber LXF regular

Joined: Mon Apr 11, 2005 4:24 pm Posts: 370 Location: Nova Scotia
|
Posted: Mon Aug 15, 2005 3:54 pm Post subject: RE: Disabling CD-ROM drive eject button |
|
|
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 |
|
 |
Nobber LXF regular

Joined: Mon Apr 11, 2005 4:24 pm Posts: 370 Location: Nova Scotia
|
Posted: Mon Aug 15, 2005 4:32 pm Post subject: RE: Disabling CD-ROM drive eject button |
|
|
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!
 _________________ 800 LINES ERIC - GET BACK TO PYSKOOL |
|
| Back to top |
|
 |
Nigel LXF regular

Joined: Fri Apr 08, 2005 9:03 pm Posts: 1141 Location: Gloucestershire, UK
|
Posted: Mon Aug 15, 2005 4:49 pm Post subject: RE: Disabling CD-ROM drive eject button |
|
|
Rats...
Looks like it's back to the Duct Tape, then
Of course, you could always leave a mounted CD in the drive... _________________ Hope this helps,
Nigel. |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 8002 Location: Warrington, UK
|
Posted: Mon Aug 15, 2005 5:11 pm Post subject: RE: Disabling CD-ROM drive eject button |
|
|
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  _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
Nobber LXF regular

Joined: Mon Apr 11, 2005 4:24 pm Posts: 370 Location: Nova Scotia
|
Posted: Mon Aug 15, 2005 5:17 pm Post subject: RE: Disabling CD-ROM drive eject button |
|
|
Aha! [cautious optimism]Looks more promising...[/cautious optimism] _________________ 800 LINES ERIC - GET BACK TO PYSKOOL |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 8002 Location: Warrington, UK
|
Posted: Mon Aug 15, 2005 5:29 pm Post subject: RE: Disabling CD-ROM drive eject button |
|
|
cdctl or the duct tape?  _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
Nobber LXF regular

Joined: Mon Apr 11, 2005 4:24 pm Posts: 370 Location: Nova Scotia
|
Posted: Thu Aug 18, 2005 9:22 am Post subject: RE: Disabling CD-ROM drive eject button |
|
|
And...it works!
(cdctl --lockdoor, that is.) _________________ 800 LINES ERIC - GET BACK TO PYSKOOL |
|
| Back to top |
|
 |
cadmium3
Joined: Mon Aug 29, 2005 7:24 am Posts: 1
|
Posted: Mon Aug 29, 2005 7:32 am Post subject: RE: Disabling CD-ROM drive eject button |
|
|
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!!
 _________________ Ted Brown
Inland NW Gaming & Systems, LLC |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|