Re: eject CD
atul shah wrote:
Hello,
I've recently installed Debian on a G4 Powerbook with
a SuperDrive. I have found that I can eject the CD
using the command <eject> from the command line.
But I am at a loss when, in the process of installing
packages from a set of CDs, aptitude asks me to change
the current CD. There is no manual eject for this
slot drive; and neither the eject/F12 nor the ctrl-E
keystrokes will work. How can I get the CD out? Does
aptitude have a hotkey for ejecting media? Or is
there a way to map the <eject> or <umount> commands to
keystrokes that would remain available within
aptitude? I would really appreciate any answers
and/or suggestions.
pbbutonsd - configure it and it will work.
The section that interests you in /etc/pbbuttonsd.conf is:
# [MODULE CDROM]
dev_CDROM = "/dev/cdrom"
EjectCDKey = 161
EjectCDKeyDelay = 1000
Of course, you are interested in EjectCDKey value. Although I find it
weird, when using showkey the code of the key in question (on my PB) is
0x6c on press and 0xec on release, while xev gives the value 161 :/ . I
say weird because pbbuttons works in console mode, too; I don't know the
inner workings of pbbuttonsd nor the keymap code in the kernel... maybe
somebody can enlighten me/us and then I can work with diacritics in
console mode,too :) .
hint - if you don't like to press Fn+F1 ... Fn+F7 to have the Fx
functionality, change the line that contains KBDMode, to "KBDMode =
fkeysfirst"
Much thanks,
Atul Shah
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
--
Regards,
EddyP
===========================
I had a favourite quote, but I forgot it. And it was insightful.
Reply to:
- References:
- eject CD
- From: atul shah <atul_shah1@yahoo.com>