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: Obtaining an IOSCSIMultimediaCommandsDevice instance



Hi --

You might want to start out with what you are trying to achieve. Are you trying to send commands from kernel-level code or user-level code?

If the latter, you might want to check out the sample code found in / Developer/Examples/IOKit/scsi/SCSITaskLib and consult Accessing Hardware From Applications (http://developer.apple.com/documentation/ DeviceDrivers/Conceptual/AccessingHardware/AH_Intro/ chapter_1_section_1.html).

HTH,

-- Chris


On Jan 24, 2006, at 2:30 PM, email@hidden wrote:

I will start by saying the IOKit is pretty much a black box for me. I've
done only basic tasks such as creating a dictionary and calling
IOServiceGetMatchingServices for it. Unless I've missed something, the
IOKit documentation is slightly less than stunning so I'm asking for help
here.


I want to create an IOSCSIMultimediaCommandsDevice for accessing an audio
CD using MMC-2 commands.


If I may rant for a moment, the superclass to
IOSCSIMultimediaCommandsDevice is IOSCSIPrimaryCommandsDevice defined in
"IOSCSIPrimaryCommandsDevice.h". I don't even have that header file in my
10.4u SDK! It's only in the 10.3.9 IOKit. To boot, that class'
superclass is IOSCSIProtocolInterface which also appears only to exist in
my 10.3.9 SDK.


Anyway, IOSCSIMultimediaCommandsDevice is a subclass of IOService. Can
anyone step me through how I would go about obtaining an instance of this
class?


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

This email sent to email@hidden

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

This email sent to email@hidden
References: 
 >Obtaining an IOSCSIMultimediaCommandsDevice instance (From: 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.