Closed paulbeard closed 10 years ago
I built the current git version for 10.8.5. Yes you have to update the SDK links but you will also need to point several includes to IOKit and grab IOSyncer.h from apple as it is not included with 10.8.x apparently.
You can find my build here: http://www.fluentnudge.com/wp-content/uploads/2013/10/OS-X-SAT-SMART-Driver.zip (DMG is in the zip and source code is included in case you want to build it yourself)
Keep in mind this is a 64 bit only build as clang prevents kext builds for i386. (As it should since 10.8.x is a 64 bit kernel)
Tested of course: 10/2/13 6:34:14.000 AM kernel[0]: SATSMARTDriver v0.6: disk serial 'WD-WCAPD1983137', revision '21.00M21', model 'WDC WD3200KS-00PFB0' S.M.A.R.T. Status : Verified
Hope this helps.
I added the IOSyncer.h and tried to add a separate XCode project for 10.8. Would you try, if it compiles ?
Yep it builds (once I changed your build.sh to actually use the SATSMARTDriver-osx10.8.xcodeproj) and it works: kernel[0]: SATSMARTDriver v0.7: disk serial 'WD-WCAPD1983137', revision '21.00M21', model 'WDC WD3200KS-00PFB0' Lists the verified part in Disk Utility as well.
Without using the SATSMARTDriver-osx10.8.xcodeproj the build will fail.
My previous link now includes your latest git with SATSMARTDriver-0.7.dmg included in the zip file.
Thanks. I added the link to your built to README.
I'm not seeing any evidence of it in my logs and I'm not sure I'm getting it installed properly from the dmg files. The kext doesn't seem to load and I'm not sure if the client library is either.
I'd be willing to build it but even after updating the SDK to 10.8 I get missing header issues.
include "IOSATServices.h"
include "UserClientLib/SATSMARTLibPriv.h"
include "UserClient/SATSMARTUserClient.h"
// /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/
include <storage/ata/ATASMARTLib.h> <- I get errors on this file not being found but I seem to have it.
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/storage/ata/ATASMARTLib.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/storage/ata/ATASMARTLib.h /Developer/SDKs/MacOSX10.4.0.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/storage/ata/ATASMARTLib.h /System/Library/Frameworks/IOKit.framework/Versions/A/Headers/storage/ata/ATASMARTLib.h