Mailing Lists: Apple Mailing Lists

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

Optical drives through IOKit



Hi,

First off, sorry if this is the wrong list, I couldn't see an IOKit list and this looked like the closest match.

I'm wanting to know how to access optical drives and manipulate things like the tray state. I can get a list of drives from the registry, and have worked out how to listen for tray open/close events. I can also use the MMCDeviceInterface to open and close the tray, but this is only available for authoring-capable drives ( i.e. CD/DVD burners). Is there anything that can manipulate the tray state for non-burning CD/DVD ROM drives? It seems to me to be a fairly basic thing to do, but I can't find how to do it. NSWorkspace has a method to unmount and eject a volume, but that doesn't help if there's no disc in the drive. I have looked at the DiscRecording framework which has a very simple interface, but also only supports authoring-capable drives.

Thanks,
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



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.