[mythtv-users] Mapping CDROM Eject Button

Brad DerManouelian myth at dermanouelian.com
Mon Sep 17 15:53:07 UTC 2007

On Sep 17, 2007, at 8:46 AM, Ryan Steffes wrote:

> On 9/15/07, Lachlan McIntosh <lachlan at directions.com.au> wrote:
>> Hi
>> Does anyone know if it is possible to map the button on the CDROM/ 
>> DVD drive so that it will run a script or appear as a HID (so I  
>> can get it to run a script)?
>> I want to be able to eject a disk from the drive no matter what  
>> myth and the PC is doing with it.
>> (yes I know this may be a bad thing, but it's my system and I can  
>> do bad things to it if I want to....)
>> Any help would be appreciated.
>> Thanks
>> Lachlan
> While I'm not an expert, mapping a button to a script that runs "eject
> -m" MAY work for you.

I prefer eject -mT which will also close the tray if it's open as  
well as open if it's closed. 

More information about the mythtv-users mailing list