You are not logged in.

#1 2010-07-01 06:44:16

drugcpp
Member
From: Israel
Registered: 2010-03-16
Posts: 20

[SOLVED] Disable optical drive eject button

My little 2-years-old brother loves to play with eject button on my optical drive. I want to find the most simple way to disable it temporary and I want it to be software, i.e. physically blocking the button isn't good. Any software tool for that?

Thank you for attention, Artyom.

Last edited by drugcpp (2010-07-01 11:02:31)

Offline

#2 2010-07-01 06:56:42

dcc24
Member
Registered: 2009-10-31
Posts: 732

Re: [SOLVED] Disable optical drive eject button

Debian has setcd which does what you are looking for. Here is the description:

This program allows you to control the behaviour of your Linux cdrom player.

You can control: auto close, auto eject, medium type checking and tray/caddy locking. You can get information on the volume name of CD-ROMs and other data, and you can set the speed of your drive and choose a disc from a jukebox.

The source of this package may be an example for cdrom player program developers that wish to exploit the features of the linux cdrom interface.

Unfortunately, there is no Arch package of it. If no one else beats me to it, I can package it later today smile


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#3 2010-07-01 08:32:17

drugcpp
Member
From: Israel
Registered: 2010-03-16
Posts: 20

Re: [SOLVED] Disable optical drive eject button

Thanks dcc24, I would be happy if AUR had it. BTW, I know that cdctl can do what I need, but it isn't packaged also. I've tried to install it manually but with no luck.

Last edited by drugcpp (2010-07-01 11:05:56)

Offline

#4 2010-07-01 10:49:03

portix
Member
Registered: 2009-01-13
Posts: 757

Re: [SOLVED] Disable optical drive eject button

I created  a PKGBUILD, only tested on x86_64 but it should also build on i686.

Offline

#5 2010-07-01 11:02:01

drugcpp
Member
From: Israel
Registered: 2010-03-16
Posts: 20

Re: [SOLVED] Disable optical drive eject button

portix, thank you very much! Works on my x86_64. My little brother is very confused big_smile

Offline

Board footer

Powered by FluxBB