Is there a tool or a utility, that shows the state of the CD tray ?
Wether it's open or closed ?
I have my computer in a different room and never know, what's up there, so I walk and walk and walk...
Leave a disk in the drive. If the disk is mounted, the tray has to be closed. Eject, and the tray is open. Press eject again, and the disk will mount (because the tray is closed)
Am I missing something about the question?
try using "drutil" on terminal, there are many possible options to check the status of the drive. i can't verify on my drive, 'cause i have an imac g5 with slot and not tray.