Skip to content
This repository was archived by the owner on Oct 12, 2018. It is now read-only.

Commit c378c8d

Browse files
committed
Fix FakeSMC, FakeSMCKeyStore matching and linking
1 parent ab46eda commit c378c8d

File tree

12 files changed

+71
-60
lines changed

12 files changed

+71
-60
lines changed

ACPISensors/ACPISensors-Info.plist

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
<string>ACPISENSORS_BUNDLE</string>
77
<key>OSBundleLibraries</key>
88
<dict>
9-
<key>com.apple.kpi.mach</key>
10-
<string>10.0.0</string>
9+
<key>FAKESMCKEYSTORE_BUNDLE</key>
10+
<string>FAKESMCKEYSTORE_COMPATIBLE</string>
1111
<key>com.apple.iokit.IOACPIFamily</key>
1212
<string>1.0.0b1</string>
13+
<key>com.apple.kpi.mach</key>
14+
<string>10.0.0</string>
1315
<key>com.apple.kpi.libkern</key>
1416
<string>10.0.0</string>
1517
<key>com.apple.kpi.iokit</key>

CPUSensors/CPUSensors-Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
<string>Copyright © HWSENSORS_LASTYEAR Natan Zalkin &lt;[email protected]&gt;. All rights reserved.</string>
5656
<key>OSBundleLibraries</key>
5757
<dict>
58+
<key>FAKESMCKEYSTORE_BUNDLE</key>
59+
<string>FAKESMCKEYSTORE_COMPATIBLE</string>
5860
<key>com.apple.kpi.iokit</key>
5961
<string>10.0.0</string>
6062
<key>com.apple.kpi.libkern</key>

FakeSMC/FakeSMC-Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@
163163
</dict>
164164
<key>NSHumanReadableCopyright</key>
165165
<string>Copyright © HWSENSORS_LASTYEAR netkas. All rights reserved.</string>
166-
<key>OSBundleCompatibleVersion</key>
167-
<string>FAKESMC_COMPATIBLE</string>
168166
<key>OSBundleLibraries</key>
169167
<dict>
168+
<key>FAKESMCKEYSTORE_BUNDLE</key>
169+
<string>FAKESMCKEYSTORE_COMPATIBLE</string>
170170
<key>com.apple.iokit.IOACPIFamily</key>
171171
<string>1.0.0d1</string>
172172
<key>com.apple.kpi.bsd</key>

FakeSMC/FakeSMC.cpp

+24-23
Original file line numberDiff line numberDiff line change
@@ -53,31 +53,32 @@ bool FakeSMC::start(IOService *provider)
5353
if (!super::start(provider))
5454
return false;
5555

56-
if (IOService *resources = waitForMatchingService(serviceMatching("IOResources"), 0))
57-
this->attach(resources);
58-
59-
OSDictionary *configuration = OSDynamicCast(OSDictionary, getProperty("Configuration"));
60-
61-
if (!(keyStore = OSDynamicCast(FakeSMCKeyStore, waitForMatchingService(serviceMatching(kFakeSMCKeyStoreService), 0)))) {
62-
63-
HWSensorsDebugLog("creating FakeSMCKeyStore");
64-
65-
if (!(keyStore = new FakeSMCKeyStore)) {
66-
HWSensorsInfoLog("failed to create FakeSMCKeyStore");
67-
return false;
68-
}
56+
if (!(keyStore = OSDynamicCast(FakeSMCKeyStore, waitForMatchingService(serviceMatching(kFakeSMCKeyStoreService), kFakeSMCDefaultWaitTimeout)))) {
57+
HWSensorsInfoLog("still waiting for FakeSMCKeyStore...");
58+
return false;
59+
// HWSensorsDebugLog("creating FakeSMCKeyStore");
60+
//
61+
// if (!(keyStore = new FakeSMCKeyStore)) {
62+
// HWSensorsInfoLog("failed to create FakeSMCKeyStore");
63+
// return false;
64+
// }
65+
//
66+
// HWSensorsDebugLog("initializing FakeSMCKeyStore");
67+
//
68+
// if (keyStore->initAndStart(this, configuration)) {
69+
// keyStore->setProperty("IOUserClientClass", "FakeSMCKeyStoreUserClient");
70+
// }
71+
// else {
72+
// keyStore->release();
73+
// HWSensorsFatalLog("failed to initialize FakeSMCKeyStore device");
74+
// return false;
75+
// }
76+
}
6977

70-
HWSensorsDebugLog("initializing FakeSMCKeyStore");
78+
// if (IOService *resources = waitForMatchingService(serviceMatching("IOResources"), 0))
79+
// this->attach(resources);
7180

72-
if (keyStore->initAndStart(this, configuration)) {
73-
keyStore->setProperty("IOUserClientClass", "FakeSMCKeyStoreUserClient");
74-
}
75-
else {
76-
keyStore->release();
77-
HWSensorsFatalLog("failed to initialize FakeSMCKeyStore device");
78-
return false;
79-
}
80-
}
81+
OSDictionary *configuration = OSDynamicCast(OSDictionary, getProperty("Configuration"));
8182

8283
// Load preconfigured keys
8384
HWSensorsDebugLog("loading keys...");

FakeSMC/FakeSMCDevice.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ bool FakeSMCDevice::initAndStart(IOService *platform, IOService *provider)
255255
return false;
256256

257257
if (!(keyStore = OSDynamicCast(FakeSMCKeyStore, waitForMatchingService(serviceMatching(kFakeSMCKeyStoreService), kFakeSMCDefaultWaitTimeout)))) {
258-
HWSensorsFatalLog("failed to locate FakeSMCKeyStore service!");
258+
HWSensorsFatalLog("still waiting for FakeSMCKeyStore...");
259259
return false;
260260
}
261261

FakeSMCKeyStore/FakeSMCKeyStore-Info.plist

+5-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>${EXECUTABLE_NAME}</string>
99
<key>CFBundleIdentifier</key>
10-
<string>org.hwsensors.${PRODUCT_NAME}</string>
10+
<string>FAKESMCKEYSTORE_BUNDLE</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>
@@ -25,7 +25,7 @@
2525
<key>FakeSMCKeyStore</key>
2626
<dict>
2727
<key>CFBundleIdentifier</key>
28-
<string>org.hwsensors.${PRODUCT_NAME}</string>
28+
<string>FAKESMCKEYSTORE_BUNDLE</string>
2929
<key>IOClass</key>
3030
<string>FakeSMCKeyStore</string>
3131
<key>IOMatchCategory</key>
@@ -35,11 +35,13 @@
3535
<key>IOUserClientClass</key>
3636
<string>FakeSMCKeyStoreUserClient</string>
3737
<key>IOResourceMatch</key>
38-
<string>ACPI</string>
38+
<string>IOKit</string>
3939
</dict>
4040
</dict>
4141
<key>NSHumanReadableCopyright</key>
4242
<string>Copyright © HWSENSORS_LASTYEAR Natan Zalkin &lt;[email protected]&gt;. All rights reserved.</string>
43+
<key>OSBundleCompatibleVersion</key>
44+
<string>FAKESMCKEYSTORE_COMPATIBLE</string>
4345
<key>OSBundleLibraries</key>
4446
<dict>
4547
<key>com.apple.kpi.bsd</key>
File renamed without changes.
File renamed without changes.

GPUSensors/GPUSensors-Info.plist

+6-4
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@
1010
<string>6.0</string>
1111
<key>OSBundleLibraries</key>
1212
<dict>
13-
<key>com.apple.kpi.mach</key>
14-
<string>10.0.0</string>
13+
<key>FAKESMCKEYSTORE_BUNDLE</key>
14+
<string>FAKESMCKEYSTORE_COMPATIBLE</string>
1515
<key>com.apple.iokit.IOACPIFamily</key>
1616
<string>1.0.0d1</string>
17-
<key>com.apple.kpi.libkern</key>
18-
<string>10.0.0</string>
1917
<key>com.apple.iokit.IOPCIFamily</key>
2018
<string>1.0.0b1</string>
19+
<key>com.apple.kpi.mach</key>
20+
<string>10.0.0</string>
21+
<key>com.apple.kpi.libkern</key>
22+
<string>10.0.0</string>
2123
<key>com.apple.kpi.iokit</key>
2224
<string>10.0.0</string>
2325
<key>com.apple.kpi.unsupported</key>

HWSensors.xcodeproj/project.pbxproj

+23-24
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
6A2B4E44152179700093A217 /* SuperIO.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6A2B4E38152179700093A217 /* SuperIO.cpp */; };
1515
6A2B4E46152179700093A217 /* LPCSensors.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6A2B4E3A152179700093A217 /* LPCSensors.cpp */; };
1616
6A2B4E48152179700093A217 /* W836xxSensors.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6A2B4E3C152179700093A217 /* W836xxSensors.cpp */; };
17-
6A9C468D14E657EE0083E5E6 /* FakeSMCPlugin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6A9C468914E657EE0083E5E6 /* FakeSMCPlugin.cpp */; };
1817
6AA172CB150B415200A77CF2 /* FakeSMCDevice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6AA172C4150B415200A77CF2 /* FakeSMCDevice.cpp */; };
1918
6AA2D0D4150B4B99004757C5 /* FakeSMC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6AA2D0D2150B4B99004757C5 /* FakeSMC.cpp */; };
19+
7E003635182D078900847C4E /* FakeSMCKeyStore.kext in CopyFiles */ = {isa = PBXBuildFile; fileRef = 7EFF9525182AD5C200C637C8 /* FakeSMCKeyStore.kext */; };
20+
7E012DAC182D064500D5CD21 /* FakeSMCPlugin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E012DAA182D064500D5CD21 /* FakeSMCPlugin.cpp */; };
2021
7E0EB891169A9A9A000DF2B1 /* evergreen.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E0EB890169A9A9A000DF2B1 /* evergreen.cpp */; };
2122
7E0EB897169A9D3C000DF2B1 /* r600.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E0EB895169A9D3C000DF2B1 /* r600.cpp */; };
2223
7E0EB89B169A9DBE000DF2B1 /* rv770.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E0EB899169A9DBE000DF2B1 /* rv770.cpp */; };
@@ -61,16 +62,25 @@
6162
7EB1366C169C2CE800B42023 /* atom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7EB1366A169C2CE700B42023 /* atom.cpp */; };
6263
7EB73CFA1791BCBC007D93D4 /* OEMInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7EB73CF81791BCBC007D93D4 /* OEMInfo.cpp */; };
6364
7EBEB1DB17B1754D00C114B5 /* GPUSensors.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7EBEB1D917B1754D00C114B5 /* GPUSensors.cpp */; };
64-
7EFF951B182AD44700C637C8 /* FakeSMCKey.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7EFF9513182AD44700C637C8 /* FakeSMCKey.cpp */; };
65-
7EFF951C182AD44700C637C8 /* FakeSMCKeyHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7EFF9515182AD44700C637C8 /* FakeSMCKeyHandler.cpp */; };
66-
7EFF951D182AD44700C637C8 /* FakeSMCKeyStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7EFF9517182AD44700C637C8 /* FakeSMCKeyStore.cpp */; };
67-
7EFF951E182AD44700C637C8 /* FakeSMCKeyStoreUserClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7EFF9519182AD44700C637C8 /* FakeSMCKeyStoreUserClient.cpp */; };
6865
7EFF9534182AD69D00C637C8 /* FakeSMCKey.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7EFF9513182AD44700C637C8 /* FakeSMCKey.cpp */; };
6966
7EFF9535182AD69D00C637C8 /* FakeSMCKeyHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7EFF9515182AD44700C637C8 /* FakeSMCKeyHandler.cpp */; };
7067
7EFF9536182AD69D00C637C8 /* FakeSMCKeyStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7EFF9517182AD44700C637C8 /* FakeSMCKeyStore.cpp */; };
7168
7EFF9537182AD69D00C637C8 /* FakeSMCKeyStoreUserClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7EFF9519182AD44700C637C8 /* FakeSMCKeyStoreUserClient.cpp */; };
7269
/* End PBXBuildFile section */
7370

71+
/* Begin PBXCopyFilesBuildPhase section */
72+
7E003634182D077A00847C4E /* CopyFiles */ = {
73+
isa = PBXCopyFilesBuildPhase;
74+
buildActionMask = 2147483647;
75+
dstPath = "";
76+
dstSubfolderSpec = 13;
77+
files = (
78+
7E003635182D078900847C4E /* FakeSMCKeyStore.kext in CopyFiles */,
79+
);
80+
runOnlyForDeploymentPostprocessing = 0;
81+
};
82+
/* End PBXCopyFilesBuildPhase section */
83+
7484
/* Begin PBXFileReference section */
7585
1D05ABE413ED0DAD00EADBF6 /* FakeSMC.kext */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FakeSMC.kext; sourceTree = BUILT_PRODUCTS_DIR; };
7686
1D05AC0513ED0E8D00EADBF6 /* FakeSMC-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "FakeSMC-Prefix.pch"; sourceTree = "<group>"; };
@@ -94,14 +104,14 @@
94104
6A4E4739152178A00038C5DE /* LPCSensors.kext */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LPCSensors.kext; sourceTree = BUILT_PRODUCTS_DIR; };
95105
6A4E4743152178A00038C5DE /* SuperIOSensors-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SuperIOSensors-Prefix.pch"; sourceTree = "<group>"; };
96106
6A9955C214EFAEE50052C702 /* cpuid.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = cpuid.h; sourceTree = "<group>"; };
97-
6A9C468914E657EE0083E5E6 /* FakeSMCPlugin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FakeSMCPlugin.cpp; sourceTree = "<group>"; };
98-
6A9C468A14E657EE0083E5E6 /* FakeSMCPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FakeSMCPlugin.h; sourceTree = "<group>"; };
99107
6A9F7268150A23C600279E79 /* Kernel.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Kernel.framework; path = System/Library/Frameworks/Kernel.framework; sourceTree = SDKROOT; };
100108
6AA172C4150B415200A77CF2 /* FakeSMCDevice.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FakeSMCDevice.cpp; sourceTree = "<group>"; };
101109
6AA172C5150B415200A77CF2 /* FakeSMCDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FakeSMCDevice.h; sourceTree = "<group>"; };
102110
6AA2D0D2150B4B99004757C5 /* FakeSMC.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FakeSMC.cpp; sourceTree = "<group>"; };
103111
6AA2D0D3150B4B99004757C5 /* FakeSMC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FakeSMC.h; sourceTree = "<group>"; };
104112
6AA710B9152B7D180006E62C /* SMBIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SMBIOS.h; sourceTree = "<group>"; };
113+
7E012DAA182D064500D5CD21 /* FakeSMCPlugin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = FakeSMCPlugin.cpp; path = FakeSMCKeyStore/FakeSMCPlugin.cpp; sourceTree = SOURCE_ROOT; };
114+
7E012DAB182D064500D5CD21 /* FakeSMCPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FakeSMCPlugin.h; path = FakeSMCKeyStore/FakeSMCPlugin.h; sourceTree = SOURCE_ROOT; };
105115
7E0EB890169A9A9A000DF2B1 /* evergreen.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = evergreen.cpp; sourceTree = "<group>"; };
106116
7E0EB893169A9C4D000DF2B1 /* evergreen.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = evergreen.h; sourceTree = "<group>"; };
107117
7E0EB895169A9D3C000DF2B1 /* r600.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = r600.cpp; sourceTree = "<group>"; };
@@ -315,12 +325,11 @@
315325
1D05ABE913ED0DAD00EADBF6 /* FakeSMC */ = {
316326
isa = PBXGroup;
317327
children = (
328+
7E5A8CB51605EA7300FF0099 /* OEMInfo */,
318329
6AA172C5150B415200A77CF2 /* FakeSMCDevice.h */,
319330
6AA172C4150B415200A77CF2 /* FakeSMCDevice.cpp */,
320331
6AA2D0D3150B4B99004757C5 /* FakeSMC.h */,
321332
6AA2D0D2150B4B99004757C5 /* FakeSMC.cpp */,
322-
7E5A8CB51605EA7300FF0099 /* OEMInfo */,
323-
7EF546971828660C00E295B1 /* FakeSMCPlugin */,
324333
1D05ABEA13ED0DAD00EADBF6 /* Supporting Files */,
325334
);
326335
path = FakeSMC;
@@ -499,6 +508,8 @@
499508
7EFF9517182AD44700C637C8 /* FakeSMCKeyStore.cpp */,
500509
7EFF951A182AD44700C637C8 /* FakeSMCKeyStoreUserClient.h */,
501510
7EFF9519182AD44700C637C8 /* FakeSMCKeyStoreUserClient.cpp */,
511+
7E012DAB182D064500D5CD21 /* FakeSMCPlugin.h */,
512+
7E012DAA182D064500D5CD21 /* FakeSMCPlugin.cpp */,
502513
7EFF9529182AD5C200C637C8 /* Supporting Files */,
503514
);
504515
name = FakeSMCKeyStore;
@@ -718,15 +729,6 @@
718729
name = Kernel;
719730
sourceTree = "<group>";
720731
};
721-
7EF546971828660C00E295B1 /* FakeSMCPlugin */ = {
722-
isa = PBXGroup;
723-
children = (
724-
6A9C468A14E657EE0083E5E6 /* FakeSMCPlugin.h */,
725-
6A9C468914E657EE0083E5E6 /* FakeSMCPlugin.cpp */,
726-
);
727-
name = FakeSMCPlugin;
728-
sourceTree = "<group>";
729-
};
730732
7EFF9526182AD5C200C637C8 /* Other Frameworks */ = {
731733
isa = PBXGroup;
732734
children = (
@@ -755,6 +757,7 @@
755757
1D05ABDE13ED0DAD00EADBF6 /* Sources */,
756758
1D05ABDF13ED0DAD00EADBF6 /* Frameworks */,
757759
1D05ABE113ED0DAD00EADBF6 /* Resources */,
760+
7E003634182D077A00847C4E /* CopyFiles */,
758761
);
759762
buildRules = (
760763
);
@@ -935,13 +938,8 @@
935938
isa = PBXSourcesBuildPhase;
936939
buildActionMask = 2147483647;
937940
files = (
938-
7EFF951B182AD44700C637C8 /* FakeSMCKey.cpp in Sources */,
939-
7EFF951C182AD44700C637C8 /* FakeSMCKeyHandler.cpp in Sources */,
940-
7EFF951D182AD44700C637C8 /* FakeSMCKeyStore.cpp in Sources */,
941-
7EFF951E182AD44700C637C8 /* FakeSMCKeyStoreUserClient.cpp in Sources */,
942941
6AA172CB150B415200A77CF2 /* FakeSMCDevice.cpp in Sources */,
943942
6AA2D0D4150B4B99004757C5 /* FakeSMC.cpp in Sources */,
944-
6A9C468D14E657EE0083E5E6 /* FakeSMCPlugin.cpp in Sources */,
945943
7EB73CFA1791BCBC007D93D4 /* OEMInfo.cpp in Sources */,
946944
);
947945
runOnlyForDeploymentPostprocessing = 0;
@@ -1028,10 +1026,11 @@
10281026
isa = PBXSourcesBuildPhase;
10291027
buildActionMask = 2147483647;
10301028
files = (
1031-
7EFF9537182AD69D00C637C8 /* FakeSMCKeyStoreUserClient.cpp in Sources */,
10321029
7EFF9534182AD69D00C637C8 /* FakeSMCKey.cpp in Sources */,
10331030
7EFF9535182AD69D00C637C8 /* FakeSMCKeyHandler.cpp in Sources */,
10341031
7EFF9536182AD69D00C637C8 /* FakeSMCKeyStore.cpp in Sources */,
1032+
7EFF9537182AD69D00C637C8 /* FakeSMCKeyStoreUserClient.cpp in Sources */,
1033+
7E012DAC182D064500D5CD21 /* FakeSMCPlugin.cpp in Sources */,
10351034
);
10361035
runOnlyForDeploymentPostprocessing = 0;
10371036
};

Shared/HWSensorsVersion.pch

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010

1111
#define HWSENSORS_LASTYEAR 2013
1212

13+
#define FAKESMCKEYSTORE_BUNDLE org.hwsensors.driver.FakeSMCKeyStore
1314
#define FAKESMC_BUNDLE org.netkas.driver.FakeSMC
1415
#define ACPISENSORS_BUNDLE org.hwsensors.driver.ACPISensors
1516
#define CPUSENSORS_BUNDLE org.hwsensors.driver.CPUSensors
1617
#define LPCSENSORS_BUNDLE org.hwsensors.driver.LPCSensors
1718
#define GPUSENSORS_BUNDLE org.hwsensors.driver.GPUSensors
1819

19-
#define FAKESMC_COMPATIBLE 915
20+
#define FAKESMCKEYSTORE_COMPATIBLE 935
2021
#define LPCSENSORS_COMPATIBLE 735

SuperIOSensors/LPCSensors-Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -4475,6 +4475,8 @@
44754475
<string>LPCSENSORS_COMPATIBLE</string>
44764476
<key>OSBundleLibraries</key>
44774477
<dict>
4478+
<key>FAKESMCKEYSTORE_BUNDLE</key>
4479+
<string>FAKESMCKEYSTORE_COMPATIBLE</string>
44784480
<key>com.apple.iokit.IOPCIFamily</key>
44794481
<string>1.0.0b1</string>
44804482
<key>com.apple.kpi.iokit</key>

0 commit comments

Comments
 (0)