Comments (2)
You can do the same for smc-version with
def getMySMCVersion():
return IORegistryEntryCreateCFProperty(IOServiceGetMatchingService(0, IOServiceMatching("AppleSMC")), "smc-version", None, 0)
from efigy.
Thanks, and 100% agree.
Have updated the file to use IOKit/objc to get all of the base versions for EFI, SMC, and the Board_ID. Also updated the collection of sysUUID and the mac model to use objc calls as well with the following incase they're of use to you:
mac_model_code = IORegistryEntryCreateCFProperty(IOServiceGetMatchingService(0,IOServiceMatching("IOPlatformExpertDevice")), "model", None, 0)
sys_uuid = IORegistryEntryCreateCFProperty(IOServiceGetMatchingService(0, IOServiceMatching("IOPlatformExpertDevice")), "IOPlatformUUID", None, 0)
Appreciate the notes and helping to make the client better :)
from efigy.
Related Issues (20)
- log option HOT 1
- EFI firmware version check ERROR - Unknown Build Number '17B48' given. (1511394575.64) HOT 4
- API Feature request HOT 2
- EFI version not found HOT 5
- Dubious Version Number Warning HOT 6
- Incorrect results? HOT 6
- Wrong Results HOT 3
- Exception if running on firmware with "E" in build number HOT 2
- API returning out of date results HOT 3
- Using EFIgy with Mac management systems HOT 5
- EFI Verification HOT 5
- Request - additional option to auto run HOT 2
- Support the 2018 MacBook Pros HOT 5
- EFIgy database not being updated? Wrong command/version processed? HOT 3
- Handling for new firmware version style seems to be incorrect HOT 6
- Version information in EFIgyLite_cli.py wrong HOT 4
- -o command line flag returns bad result HOT 2
- SMC version and model unrecognized
- Catalina OS and firmware not supported?
- https://api.efigy.io SSL Certificate has expired HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from efigy.