Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: IOIteratorNext() return 0 on VendorSpecificType00 sample
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOIteratorNext() return 0 on VendorSpecificType00 sample



Mark --

I am a newbie to Mac OS X and Mac OS X device driver development.
My purpose is to read/write one sector from/to SATA disk attached on specified controller.
From searching and reading lots of previous mail list, I know that I need to study two sample codes, VendorSpecificType00 and
SimpleUserClient.
My problem is after I compiling the VendoeSpecificType00 and load this driver successfully, then run the SetPropertiesTestTool, this sample AP
failed on while ((service = IOIterator(iter))), so I could never reach kr = IORegisterEntrySetCFProperties(parent, dictRef).
 
It’s really strange because VendorSpecificType00 sample code should work without problem.
It will be appreciated if anyone could tell me what happened here?
 
My compile environment is:
Mac Pro: two Xeon inside
SDK: MacOSX10.4u.sdk
 
Thanks and Best regards!



SATA drives are not exposed via the SCSI stack (unless they sit behind a controller doing translation in hardware/firmware). Just because you have this driver installed, it does not mean that it will match against the SATA drive.

-- Chris

------------------

6 Infinite Loop

M/S 306-2MS

Cupertino CA 95014

phone: (408) 974-4033

fax:   (408) 862-7577

email: email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Ata-scsi-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >IOIteratorNext() return 0 on VendorSpecificType00 sample (From: "marklu" <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.