Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optical drives through IOKit




On 11/05/07, Herb Petschauer <email@hidden> wrote:

On 10/05/07, Steve Joynt < email@hidden> wrote:

On 11/05/07, Herb Petschauer < email@hidden > wrote:
drutil tray eject (try that in a Terminal window).


But drutil uses the DiscRecording framework and only works with cd/dvd burners. If I could use DiscRecording with non-burning drives I'd be very happy, but that doesn't seem to be possible.

Ah, good point...  hmm...  There is an ejectMedia() type method in the  IOMediaBSDClient (and the CD and DVD versions).  This is a bit more involved though (i.e. driver level)...


Ok. I could be wrong but I think that requires media in the drive. So I can't tell the drive to eject it's tray if there's no disc in it?

- steve

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >Optical drives through IOKit (From: "Steve Joynt" <email@hidden>)
 >Re: Optical drives through IOKit (From: "Herb Petschauer" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.