Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hackintosh support #3

Closed
EugeneSnihovsky opened this issue Nov 7, 2020 · 3 comments
Closed

Hackintosh support #3

EugeneSnihovsky opened this issue Nov 7, 2020 · 3 comments

Comments

@EugeneSnihovsky
Copy link

EugeneSnihovsky commented Nov 7, 2020

Hello!
Thanks for great tool!
Is there a way to support hackintosh based systems that uses VirtualSMC?

For now I receive an error

python3 main.py
ERROR: SMC out parse failed
valid "  BCLM  [ui8 ]  60 (bytes 3c)"
current "  BLCM  [     ]  no data"
@DevNulPavel
Copy link
Owner

@EugeneSnihovsky

Hello
It looks like there is no BLCM value in your SMC. You can try to run smc util directly from subfolder and look for other battery values. It starts from BL* prefix.

For example:
./smc -l | grep "BC"

@EugeneSnihovsky
Copy link
Author

It seem that I don't have anything that can be used ?

./smcutil -l            
  #KEY  [ui32]  65  (bytes 00 00 00 41)
  $Adr  [ui32]  768  (bytes 00 00 03 00)
  $Num  [ui8 ]  1  (bytes 01)
  BATP  [flag]  FALSE  (bytes 00)
  BEMB  [flag]  TRUE  (bytes 01)
  CLKH  [{clh]  (bytes 00 00 70 80 00 01 19 40)
  CLKT  [ui32]  50984  (bytes 00 00 c7 28)
  CLWK  [ui16]  65535  (bytes ff ff)
  CRCA  [ui32]  -37901399  (bytes fd bd ab a9)
  CRCB  [ui32]  -1647211523  (bytes 9d d1 8b fd)
  CRCC  [ui32]  -2087022690  (bytes 83 9a 8f 9e)
  CRCF  [ui32]  -1541953902  (bytes a4 17 a6 92)
  CRCK  [ui32]  0  (bytes 00 00 00 00)
  CRCR  [ui32]  622031175  (bytes 25 13 71 47)
  CRCU  [ui32]  -1852440601  (bytes 91 95 ff e7)
  CRCa  [ui32]  -37901399  (bytes fd bd ab a9)
  CRCb  [ui32]  -1647211523  (bytes 9d d1 8b fd)
  CRCc  [ui32]  -2087022690  (bytes 83 9a 8f 9e)
  CRCr  [ui32]  622031175  (bytes 25 13 71 47)
  CRCu  [ui32]  -1852440601  (bytes 91 95 ff e7)
  DPLM  [{lim]  (bytes 00 00 00 00 00)
  DUSR  [ui8 ]  0  (bytes 00)
  EFBM  [ui8 ]  0  (bytes 00)
  EFBP  [ui8 ]  0  (bytes 00)
  EPCI  [ui32]  135327744  (bytes 08 10 f0 00)
  EVCT  [hex_]  (bytes 00 00)
  EVHF  [ch8*]    (bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
  EVRD  [ch8*]    (bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
  FAC0  [ui8 ]  0  (bytes 00)
  FNum  [ui8 ]  0  (bytes 00)
  HBKP  [ch8*]    (bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
  LDKN  [ui8 ]  2  (bytes 02)
  LDLG  [ch8*]    (bytes 00)
  LDSP  [flag]  FALSE  (bytes 00)
  LsNM  [ui8 ]  0  (bytes 00)
  MSDW  [flag]  FALSE  (bytes 00)
  MSFW  [flag]  FALSE  (bytes 00)
  MSPC  [ui8 ]  25  (bytes 19)
  MSPP  [ui8 ]  0  (bytes 00)
  MSPR  [ui8 ]  0  (bytes 00 01)
  MSPS  [hex_]  (bytes 00 04)
  MSQC  [ui8 ]  0  (bytes 00)
  MSSD  [si8 ]  5  (bytes 05)
  MSSP  [si8 ]  5  (bytes 05)
  MSSW  [flag]  FALSE  (bytes 00)
  MSTc  [ui8 ]  0  (bytes 00)
  MSTe  [ui8 ]  0  (bytes 00)
  MSTf  [ui8 ]  0  (bytes 00)
  MSTi  [ui8 ]  0  (bytes 00)
  MSTj  [ui8 ]  0  (bytes 00)
  MSTm  [ui8 ]  0  (bytes 00)
  MSWr  [ui8 ]  0  (bytes 00)
  NATJ  [ui8 ]  0  (bytes 00)
  NATi  [ui16]  0  (bytes 00 00)
  NTOK  [ui8 ]  0  (bytes 00)
  OSWD  [ui16]  0  (bytes 00 00)
  RGEN  [ui8 ]  2  (bytes 02)
  RMAC  [ch8*]  123456  (bytes 31 32 33 34 35 36)
  RMSN  [ch8*]  C02007700GU00001F  (bytes 43 30 32 30 30 37 37 30 30 47 55 30 30 30 30 31 46)
  RMde  [char]  (bytes 41)
  RPlt  [ch8*]  j215  (bytes 6a 32 31 35 00 00 00 00)
  RSSN  [ch8*]  C02C86ZBMD6T  (bytes 43 30 32 43 38 36 5a 42 4d 44 36 54 00 00 00 00)
  RVCR  [{rev]  (bytes ff ff ff ff ff ff)
  WKTP  [ui8 ]  0  (bytes 00)

@DevNulPavel
Copy link
Owner

@EugeneSnihovsky
Yes, unfortunately you don't have required field in SMC. It won't work on your system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants