vector sigma Posted March 18, 2018 Share Posted March 18, 2018 (edited) Hi guys! Since last days I've added to the HWSensor project a make file to build everything from the command line: make (make all kexts and apps) make pkg (make a package for distribution) The package is translated in English and Italian but you can translate in any languages you want. Before doing that I want to discuss with Slice if titles and descriptions are all ok and clear. Later we can start translating it: Welcome.html.zip Conclusion.html.zip Description.html.zip Localizable.strings.zip HWMonitorSMC.app v2 is still marked as Beta but lately I solved most of the "youth bugs". HWMonitorSMC.app v1 is still there and you can chose one or another as you wish. Forgot to mention that in r107/108 I've added an option in both app to run them at login or not (default is to run at login) so there's no longer the need for a daemon, just run the app once. @Slice please confirm issues with dark theme are solved in 10.11 and 10.12 please. Again, regarding the package, it is able to install kexts in /System/Library/Extensions or in the ESP under /EFI/CLOVER/kexts/Other if Clover is installed. The pkg make a back up of all old extensions found in the target folder (search recursively) and move them to the root of the target volume. Be aware that the package remove all known extensions from this project, but also from kozlek project before install the new ones. You cannot select a single plugin without select the FakeSMC.kext. Why? It is clear to me that these extensions must be associated with the same kexts from the same compilations/revisions to avoid surprises. For that all plugins will be installed inside the dedicated subfolder at FakeSMC.kext/Contents/PlugIns/, so that you will see only it. If You decide to install in SLE or in the EFI folder and those directories does not exist, the package will copy kexts in the root of the target volume, so that you will be able to install them manually. (Installing in SLE is the default option, kexts permissions will be fixed, prelinked rebuilt!) Here is the HWSensors-3_r111.pkg, below the log compiling it: ** Building HWSensor's extensions r111 ** ..using the sdk: macosx10.11 === BUILD TARGET IntelCPUMonitor OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.6) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.6) === BUILD TARGET ACPIMonitor OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.6) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.6) === BUILD TARGET NVClockX OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.6) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.6) === BUILD TARGET RadeonMonitor OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.6) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.6) === BUILD TARGET X3100 OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.6) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.6) === BUILD TARGET IT87x OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.6) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.6) === BUILD TARGET W836x OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.6) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.6) === BUILD TARGET F718x OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.6) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.6) === BUILD TARGET PC8739x OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.6) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.6) === BUILD TARGET GeforceSensor OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.7) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.7) === BUILD TARGET AmdCPUMonitor OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.6) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.6) === BUILD TARGET FakeSMC OF PROJECT HWSensors WITH CONFIGURATION Release 10.6 === ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer OSX version (10.11) than being linked (10.6) ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer OSX version (10.11) than being linked (10.6) ** Building HWMonitorSMC.app v1 ** ** Building HWMonitorSMC.app v2 ** ** Building HWSensors-3_r111.pkg ** [partutil] [Pre] [HWMonitorSMC] [HWMonitorSMC2] [kextsToSLE] [FakeSMC] [IntelCPUMonitor] [AmdCPUMonitor] [GeforceSensor] [NVClockX] [RadeonMonitor] [X3100] [F718x] [ITEIT87x] [PC8739x] [W836x] [ACPIMonitor] [VoodooBatterySMC] [kextsToESP] [Post] NOTE: You need Xcode 9 and Swift 4+ to compile HWMonitorSMC.app v2, otherwise will not be included in the package. Actually Slice compile kexts with the macosx10.11 sdk, so for a better result you should include it in newer Xcode at: ../Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ Close and reopen Xcode, and the project will use the macosx10.11 sdk to build kexts as you can see at the second line of my log! feedbacks appreciated! Those files is to translate into your language HWMonitorSMC.app v2: Preferences.strings.zip Popover.strings.zip Localizable.strings.zip (post your translated file in this Topic) How to checkout and build the project with the Terminal (line by line): cd $HOME svn checkout https://svn.code.sf.net/p/hwsensors/hwsensors3/code3/ hwsensors-hwsensors3-code3 cd $HOME/hwsensors-hwsensors3-code3 make pkg Xcode required! EDIT I cannot upload bigger files than few megabites, I'm going to host the pkg somewhere.. EDIT II link to the package added EDIT III added package with r111 stuff Edited March 18, 2018 by vector sigma added package with r111 stuff 2 Link to comment Share on other sites More sharing options...
Guest Posted March 18, 2018 Share Posted March 18, 2018 (edited) Edited March 18, 2018 by Guest Link to comment Share on other sites More sharing options...
vector sigma Posted March 18, 2018 Share Posted March 18, 2018 12 minutes ago, fabiosun said: Thanks! ...and all ok installing kexts into Clover? Link to comment Share on other sites More sharing options...
vector sigma Posted March 18, 2018 Share Posted March 18, 2018 On 3/3/2018 at 9:23 PM, chris1111 said: thanks for update HWMonitorSMC V2 3 Beta one thing it is possible adding option avoid scrolling bar and stretch all info like the original because my windows is very short here I see here Image post and all infos is visible in the menue never said that I'll remove HWMonitorSMC.app v1.x . Anyway look in the preferences, you can hide the scroll bar permanently. More you can size the window as you like. Link to comment Share on other sites More sharing options...
Guest Posted March 18, 2018 Share Posted March 18, 2018 7 minutes ago, vector sigma said: Thanks! ...and all ok installing kexts into Clover? I have updated my ESP personalizing option in pkg installation checked fakesmc and other kext useful for my rig All went fine Link to comment Share on other sites More sharing options...
vector sigma Posted March 18, 2018 Share Posted March 18, 2018 Grazie (Thanks) Fabio! Link to comment Share on other sites More sharing options...
Cyberdevs Posted March 18, 2018 Share Posted March 18, 2018 @vector sigma Thank you it works great, just one minor problem the hardware monitor doesn't show my NVME SSD, I can see the details of my NVME with iStat Menus. I have to confess that I haven't booted the system with the new sensors and the new FakeSMC.kext maybe it will show up after I reboot the system with the new kexts and sensors. I'll get back to you on that after I reboot the system which might tae a while. Link to comment Share on other sites More sharing options...
Matthew82 Posted March 18, 2018 Share Posted March 18, 2018 Good work, but unfortunately I have to use your HWMonitorSMC 2 with Kozlek FakeSMC. Better support for new radeon and Skylake X. Link to comment Share on other sites More sharing options...
Guest Posted March 18, 2018 Share Posted March 18, 2018 Hi @Cyberdevs Nvme reading will be a part of future upgrade from @vector sigma Link to comment Share on other sites More sharing options...
vector sigma Posted March 18, 2018 Share Posted March 18, 2018 (edited) 1 hour ago, Cyberdevs said: @vector sigma Thank you it works great, just one minor problem the hardware monitor doesn't show my NVME SSD, I can see the details of my NVME with iStat Menus. I have to confess that I haven't booted the system with the new sensors and the new FakeSMC.kext maybe it will show up after I reboot the system with the new kexts and sensors. I'll get back to you on that after I reboot the system which might tae a while. It will. But I need time to import this code: https://github.com/smartmontools/smartmontools It's written in c++ but I need obj-c or swift or even plain c (c is more than enough). in the meantime, if someone wants to start the job I'll be happy since next days I'll be very busy with my work. 1 hour ago, Matthew82 said: Good work, but unfortunately I have to use your HWMonitorSMC 2 with Kozlek FakeSMC. Better support for new radeon and Skylake X. What is better? Edited March 18, 2018 by vector sigma 1 Link to comment Share on other sites More sharing options...
Cyberdevs Posted March 18, 2018 Share Posted March 18, 2018 1 minute ago, vector sigma said: It will. But I need time to import this code: https://github.com/smartmontools/smartmontools It's written in c++ but I need obj-c or swift or even plain c (c is more than enough). in the meantime, if someone wants to start the job I'll be happy since next days I'll be very busy with my work It's not a big deal and there is no rush, take your time, I just reported this just to make sure if it's available or not. Thanks for your time and efforts man 1 Link to comment Share on other sites More sharing options...
vector sigma Posted March 18, 2018 Share Posted March 18, 2018 (edited) Guys, in r107/108 I've introduced a new bug in HWMonitorSMC.app v2 and in Sierra and El Capitan is crashing due to the new code that add the app to the login items. ...working to solve.. so don't panic Edited March 18, 2018 by vector sigma Link to comment Share on other sites More sharing options...
vector sigma Posted March 18, 2018 Share Posted March 18, 2018 (edited) Bug previously mentioned solved in r110. In r111 I've added a new Icon for the app v2, new package here. Please report back. @Slice, I see this post on Apple Life. The "force to use dark appearance" option in the Preferences is for who wants the app to be Dark on a normal appearance (i.e. Light). When the macOS appearance is alerady Dark ...will do nothing ... is already Dark and HWMonitorSMC already know what to do automatically. Edited March 18, 2018 by vector sigma Link to comment Share on other sites More sharing options...
Matthew82 Posted March 18, 2018 Share Posted March 18, 2018 1 hour ago, vector sigma said: What is better? -Support for dual gpu -Fun speed showing good value -better support for temp sensor. Link to comment Share on other sites More sharing options...
vector sigma Posted March 20, 2018 Share Posted March 20, 2018 (edited) On 18/3/2018 at 9:24 PM, Matthew82 said: -Support for dual gpu -Fun speed showing good value -better support for temp sensor. Dual gpu support must be written, Fun speed depend on your DSDT. About temperatures you should post a screen shot to see differences. I'll take a look as soon as I have time with no promis. On 18/3/2018 at 7:48 PM, Cyberdevs said: It's not a big deal and there is no rush, take your time, I just reported this just to make sure if it's available or not. Thanks for your time and efforts man Hi, in the meantime you or anyone has a NVMe disk can try the attached command line and post the output? smarter disk0 It's just a quinck port of smartmontools in obj-c and may not print readable stuff, but I want to see if We got attributes. Thanks! smarter.zip Edited March 20, 2018 by vector sigma Link to comment Share on other sites More sharing options...
Slice Posted March 20, 2018 Author Share Posted March 20, 2018 On 18.03.2018 at 9:35 PM, Matthew82 said: Good work, but unfortunately I have to use your HWMonitorSMC 2 with Kozlek FakeSMC. Better support for new radeon and Skylake X. But it is HWSensors3:RadeonMonitor who has support for all new Radeons. Not kozlek. Link to comment Share on other sites More sharing options...
Cyberdevs Posted March 21, 2018 Share Posted March 21, 2018 8 hours ago, vector sigma said: Dual gpu support must be written, Fun speed depend on your DSDT. About temperatures you should post a screen shot to see differences. I'll take a look as soon as I have time with no promis. Hi, in the meantime you or anyone has a NVMe disk can try the attached command line and post the output? smarter disk0 It's just a quinck port of smartmontools in obj-c and may not print readable stuff, but I want to see if We got attributes. Thanks! smarter.zip Here is the output of the command on disk0 S.M.A.R.T. check disk: 0 SMARTReadData() failed with e00002de Error: S.M.A.R.T. attribute check failed for disk 0 with status -536870178 Link to comment Share on other sites More sharing options...
Guest Posted March 21, 2018 Share Posted March 21, 2018 Samsung 960 pro 1 Tb (nvme) fabios-iMac-Pro:~ fabio$ /Users/fabio/Downloads/smarter disk0 S.M.A.R.T. check disk: 0 SMARTReadData() failed with e00002de Error: S.M.A.R.T. attribute check failed for disk 0 with status -536870178 fabios-iMac-Pro:~ fabio$ Link to comment Share on other sites More sharing options...
vector sigma Posted March 21, 2018 Share Posted March 21, 2018 (edited) 14 hours ago, Cyberdevs said: Here is the output of the command on disk0 S.M.A.R.T. check disk: 0 SMARTReadData() failed with e00002de Error: S.M.A.R.T. attribute check failed for disk 0 with status -536870178 1 hour ago, fabiosun said: Samsung 960 pro 1 Tb (nvme) fabios-iMac-Pro:~ fabio$ /Users/fabio/Downloads/smarter disk0 S.M.A.R.T. check disk: 0 SMARTReadData() failed with e00002de Error: S.M.A.R.T. attribute check failed for disk 0 with status -536870178 fabios-iMac-Pro:~ fabio$ I made some changes (see attached smarter command line), but I can not notice that s.m.a.r.t. it is not enabled for you (see fabiosun screenshot and see mine). also read this:https://mac-optimization.bestreviews.net/why-apple-drop-support-smart-status-late-2016-macbook-pros/ I don't think any driver or plugins will be able to read something about smart if isn't supported by Apple (or I'm wrong?), anyway should print something about "Got a NVMe disk.." to ensure the disk is found. Tell me.. smarter.zip Edited March 21, 2018 by vector sigma 2 Link to comment Share on other sites More sharing options...
Cyberdevs Posted March 21, 2018 Share Posted March 21, 2018 (edited) @vector sigma Yeah the disk utility says that the smart is disabled on the NVMe but check these out: These screenshots are from iStat Menu and TechTool Pro Edited March 21, 2018 by Cyberdevs Link to comment Share on other sites More sharing options...
Guest Posted March 21, 2018 Share Posted March 21, 2018 fabios-iMac-Pro:~ fabio$ /Users/fabio/Downloads/smarter-2 disk0 Got a NVMe disk.. S.M.A.R.T. check disk: 0 SMARTReadData() failed with e00002de Error: S.M.A.R.T. attribute check failed for disk 0 with status -536870178 fabios-iMac-Pro:~ fabio$ 15 minutes ago, vector sigma said: I made some changes (see attached smarter command line), but I can not notice that s.m.a.r.t. it is not enabled for you (see fabiosun screenshot and see mine). also read this:https://mac-optimization.bestreviews.net/why-apple-drop-support-smart-status-late-2016-macbook-pros/ I don't think any driver or plugins will be able to read something about smart if isn't supported by Apple (or I'm wrong?), anyway should print something about "Got a NVMe disk.." to ensure the disk is found. Tell me.. smarter.zip Link to comment Share on other sites More sharing options...
Cyberdevs Posted March 21, 2018 Share Posted March 21, 2018 Here's the results of the second smarter app: Got a NVMe disk.. S.M.A.R.T. check disk: 1 SMARTReadData() failed with e00002de Error: S.M.A.R.T. attribute check failed for disk 1 with status -536870178 Link to comment Share on other sites More sharing options...
vector sigma Posted March 21, 2018 Share Posted March 21, 2018 (edited) Guys try this: smarter.zip ...also is it working for normal sata drives? Edited March 21, 2018 by vector sigma Link to comment Share on other sites More sharing options...
Slice Posted March 21, 2018 Author Share Posted March 21, 2018 @vector sigma My compilation log ended with Traceback (most recent call last): File "/Volumes/HighHD/Users/Slice/Projects/hwsensors3/package/seticon.py", line 2, in <module> import Cocoa ImportError: No module named Cocoa The package is created but with HWMonitor v1. Why not v2? Link to comment Share on other sites More sharing options...
vector sigma Posted March 21, 2018 Share Posted March 21, 2018 (edited) 25 minutes ago, Slice said: @vector sigma My compilation log ended with Traceback (most recent call last): File "/Volumes/HighHD/Users/Slice/Projects/hwsensors3/package/seticon.py", line 2, in <module> import Cocoa ImportError: No module named Cocoa The package is created but with HWMonitor v1. Why not v2? Not sure about python, this is what I have.. the one shipped with the OS: FrancescoRs-MacBook-Pro:~ vectorsigma$ python -V Python 2.7.10 FrancescoRs-MacBook-Pro:~ vectorsigma$ and FrancescoRs-MacBook-Pro:~ vectorsigma$ which python /usr/bin/python FrancescoRs-MacBook-Pro:~ vectorsigma$ please ensure is the stock one. Anyway this is only used to set the image to the package. About HWMonitorSMC.app I have Xcode 9.2 and the log should show errors or something like that: "HWMonitorSMC.app v2.x requires Xcode 9 +" unless the app is built to another location but these are the clear settings: xcodebuild -quiet -project HWMonitorSMC.xcodeproj \ -IDEBuildOperationMaxNumberOfConcurrentCompileTasks=`sysctl -n hw.ncpu` \ -sdk macosx \ -configuration Release \ CONFIGURATION_BUILD_DIR="${SRCROOT}/compilations/HWMonitorSMC2" \ SYMROOT="${SRCROOT}/compilations/HWMonitorSMC2/obj" Edited March 21, 2018 by vector sigma Link to comment Share on other sites More sharing options...
Recommended Posts