Lock CDROM tray
Hi All,
I have a really touchy laptop cdrom tray button that I always seem to hit when I move my computer (which I do frequently). So I was wondering if there is a way to lock the cdrom tray via a userspace command (like "echo 1 > /proc/ide/ide0/lock" or something) that I could throw in my /etc/rc.d/rc.local file to lock the tray at boot. According to /proc/sys/dev/cdrom/info, I should be able to lock the tray but I don't know how. Anyone have any ideas? TIA |
Keep a CD in there?
(If that doesn't lock it then the tray button is not subject to software control.) Tape over the end of the laptop? |
While the tape idea is a brilliant insight, for other interested in a better solution, here is a useful link:
http://lists.debian.org/debian-user/.../msg05673.html |
cdrecord -lock
|
From wodim man page:
Code:
-lock Load the media, lock the door and exit. This only works with a |
All times are GMT -5. The time now is 01:49 PM. |