28 Sep 2016

Macbook без батареи и управление кулером

Category howto

Умерла очередная батарея Macbook Pro, а замена еще не пришла. Батарея умерал полностью, то есть она тепреь неопределяется и ссистема пишет что она не подключена, при этом она перодически активируется что приводит систему в ступор, так как она пытается брать оттуда питание, а там его нет, - система выключавется или впадает в sleep mode.

В Macbook Pro все устроено так если вынуть батарею и использовать только A/C питание то EFI уменьшает частоту считая что система работает в некоем “Безопасном режиме” Таким образом пользоваться с полной нагрузкой комьютером нельзя, он просто начинает торомозить из за недостатка производительсности. Смотреть ютуб и писать тексты конечно можно, но запускать более производительный софт неполучится.

Решения этой проблемы несуществует и все что мне удалось найти это выключения модуля ядра который управляет частотой в зависимости от нагрузки, но в случае отказа батареи уменьшение частоты происходит на более низком уровне (EFI).

В процессе “гугления” я в очередной раз нашел smcFanControl Внутри которого есть утилита smc который позволяет выставлять различные флаги SMC (System Management Controller) там ~380 ключей или правильнее сказать регистров в которые могут быть записны разные параметры. Несколько параметров управляют частотой вращений кулера.

To read data from each fan:

F0Ac - Fan actual speed
F0Mn - Fan minimum speed
F0Mx - Fan maximum speed
F0Sf - Fan safe speed
F0Tg - Fan target speed
FS!  - See if fans are in automatic or forced mode

To set a fan to a specific speed:

FS!  - Sets "force mode" to fan.  Bit 0 (right to left) is fan 0, bit 1
       is fan 1, etc
F0Tg - Sets target speed, make sure you fp78 encode it (left shift by 2)

For example, to force both fans to 3500 RPM:
# python -c "print hex(3500 << 2)"
0x36b0
# smc -k "FS! " -w 0003
# smc -k F0Tg -w 36b0
# smc -k F1Tg -w 36b0

..to force fan 0 to 4000 RPM and leave fan 1 in automatic mode:
# smc -k "FS! " -w 0001
# smc -k F0Tg -w 3e80

..to return both fans to automatic mode:
# smc -k "FS! " -w 0000


Полный список флагов и описание найти для долго не искал, но за то нашел хороший guide по Apple SMC и как с ним работаьт на Objective C https://jrw01.github.io/Articles/smc.html С помошью утилиты smc можно получать много интересных показателей и использовать их например для построения виджета с этой информацией внутри.

Под катом список всех регистров SMC.

  #KEY  [ui32]  380 (bytes 00 00 01 7c)
  $Adr  [ui32]  768 (bytes 00 00 03 00)
  $Num  [ui8 ]  1 (bytes 01)
  +LKS  [flag]  (bytes 07)
  ACCL  [ui8 ]  0 (bytes 00)
  ACEN  [ui8 ]  1 (bytes 01)
  ACFP  [flag]  (bytes 01)
  ACIC  [ui16]  3456 (bytes 0d 80)
  ACID  [ch8*]  (bytes ba ac 81 11 c0 03 10 03)
  ACIN  [flag]  (bytes 01)
  ACLM  [ui8 ]  85 (bytes 55)
  AL!   [ui16]  0 (bytes 00 00)
  ALA0  [{ala]  (bytes ca 1e ff d6 02 d9)
  ALA1  [{ala]  (bytes 30 a4 02 1f 03 15)
  ALA2  [{ala]  (bytes 0c ea 02 d4 03 96)
  ALA3  [{ala]  (bytes 03 89 03 61 03 dc)
  ALA4  [{ala]  (bytes 00 ee 03 bc 04 00)
  ALA5  [{ala]  (bytes 04 fc ff f3 04 00)
  ALAT  [{alt]  (bytes 00 2b 03 08)
  ALFC  [ui16]  0 (bytes 00 00)
  ALI0  [{ali]  (bytes 04 00 0f 00)
  ALI1  [{ali]  (bytes 00 00 00 00)
  ALP0  [ui16]  322111360 (bytes 13 33 07 80)
  ALP1  [ui16]  0 (bytes 00 00 00 00)
  ALRV  [ui16]  1 (bytes 00 01)
  ALSC  [{alc]  (bytes 00 c8 00 96 03 e8 00 0f 00 01 01 5e 1d 03 01 06)
  ALSF  [fp1f]  0.66299 (bytes 54 dd)
  ALSL  [ui16]  97 (bytes 00 61)
  ALT0  [ui16]  0 (bytes 00 00)
  ALT1  [ui16]  0 (bytes 00 00)
  ALTH  [{alr]  (bytes 00 32 00 70 02 52 00 14 00 41)
  ALV0  [{alv]  (bytes 01 01 01 2c 00 41 00 18 7b e4)
  ALV1  [{alv]  (bytes 00 01 00 00 00 00 00 00 00 00)
  AUPO  [ui8 ]  0 (bytes 00)
  B0AC  [si16]  0 (bytes 00 00)
  B0AV  [ui16]  0 (bytes 00 00)
  B0Al  [ui16]  65535 (bytes ff ff)
  B0Am  [ui8 ]  16 (bytes 10)
  B0Ar  [ui8 ]  0 (bytes 00)
  B0As  [ui8 ]  0 (bytes 00)
  B0At  [ui16]  2400 (bytes 09 60)
  B0Au  [ui16]  2400 (bytes 09 60)
  B0BI  [hex_]  (bytes 44)
  B0CT  [ui16]  0 (bytes 00 00)
  B0FC  [ui16]  0 (bytes 00 00)
  B0LI  [ui16]  32767 (bytes 7f ff)
  B0RI  [ui16]  0 (bytes 00 00)
  B0RM  [ui16]  0 (bytes 00 00)
  B0St  [hex_]  (bytes 00 00)
  B0TF  [ui16]  0 (bytes 00 00)
  BATP  [flag]  (bytes 00)
  BBAD  [flag]  (bytes 01)
  BBIN  [flag]  (bytes 00)
  BC1V  [ui16]  0 (bytes 00 00)
  BC2V  [ui16]  0 (bytes 00 00)
  BC3V  [ui16]  0 (bytes 00 00)
  BCHA  [ui8 ]  2 (bytes 02)
  BCHB  [ui8 ]  0 (bytes 00)
  BCHF  [ui8 ]  0 (bytes 00)
  BCHG  [ui8 ]  0 (bytes 00)
  BCHL  [ui8 ]  0 (bytes 00)
  BCHO  [ui8 ]  31 (bytes 1f)
  BCHP  [ui8 ]  21 (bytes 15)
  BCHR  [ui8 ]  58 (bytes 3a)
  BCHT  [ui8 ]  6 (bytes 06)
  BCHX  [ui8 ]  1 (bytes 01)
  BCLM  [ui8 ]  100 (bytes 64)
  BCMV  [ui16]  0 (bytes 00 00)
  BEMB  [flag]  (bytes 01)
  BFCT  [ui16]  19631 (bytes 4c af)
  BILB  [ui8 ]  31 (bytes 1f)
  BILO  [ui8 ]  7957 (bytes 1f 15)
  BLPT  [ch8*]  (bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
  BNCM  [ui8 ]  0 (bytes 00)
  BNCR  [ui8 ]  3 (bytes 03)
  BNum  [ui8 ]  1 (bytes 01)
  BPII  [sp78]  0.000 (bytes 00 00)
  BPIT  [sp78]  0.000 (bytes 00 00)
  BRII  [sp78]  0.004 (bytes 00 01)
  BRIT  [sp78]  13.500 (bytes 0d 80)
  BRSC  [ui16]  0 (bytes 00 00)
  BSAC  [hex_]  (bytes 33)
  BSIn  [hex_]  (bytes 42)
  BTIL  [ui16]  0 (bytes 00 00)
  BTTI  [ui8 ]  0 (bytes 00)
  BTVI  [ui8 ]  0 (bytes 00)
  BTVR  [ui8 ]  0 (bytes 00)
  BTVT  [ui8 ]  0 (bytes 00)
  BWLM  [ui8 ]  0 (bytes 00)
  CHBI  [ui16]  128 (bytes 00 80)
  CHBV  [ui16]  12600 (bytes 31 38)
  CHGC  [ui16]  98 (bytes 00 62)
  CHGD  [flag]  (bytes 00)
  CHGI  [ui16]  128 (bytes 00 80)
  CHGV  [ui16]  12592 (bytes 31 30)
  CHLC  [ui8 ]  2 (bytes 02)
  CLK!  [ui8 ]  0 (bytes 00)
  CLKC  [{clc]  (bytes 00 00 0e 10 00 00 0e 10 19 8c)
  CLKH  [{clh]  (bytes 00 00 70 80 00 01 19 40)
  CLKS  [fp1f]  0.19958 (bytes 19 8c)
  CLKT  [ui32]  10217 (bytes 00 00 27 e9)
  CLSD  [ui16]  0 (bytes 00 00)
  CLWK  [ui16]  0 (bytes 00 00)
  CRCB  [ui32]  2748993958 (bytes a3 da 51 a6)
  CRCU  [ui32]  1202781829 (bytes 47 b0 fe 85)
  DPLM  [{lim]  (bytes 00 00 00 00)
  ECIP  [ch8*]  (bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
  ECIT  [ui8 ]  0 (bytes 00)
  EPCA  [ui32]  28672 (bytes 00 00 70 00)
  EPCF  [flag]  (bytes 01)
  EPCI  [ui32]  95422208 (bytes 05 b0 07 00)
  EPCV  [ui16]  1 (bytes 00 01)
  EPMA  [ch8*]  (bytes 00 00 60 80)
  EPMI  [ui8 ]  0 (bytes 00)
  EPUA  [ui32]  24576 (bytes 00 00 60 00)
  EPUF  [flag]  (bytes 01)
  EPUI  [ui32]  95420417 (bytes 05 b0 00 01)
  EPUV  [ui16]  1 (bytes 00 01)
  EVCT  [ui16]  257 (bytes 01 01)
  EVMD  [ui32]  0 (bytes 00 00 00 00)
  EVRD  [ch8*]  (bytes 62 10 16 16 36 00 27 e8 62 10 16 16 ff 81 33 69 71 02 ff 00 01 40 00 00 27 05 00 00 06 40 00 03)
  F0Ac  [fpe2]  2999.00 (bytes 2e dc)
  F0ID  [{fds]  (bytes 00 00 0a 00 45 78 68 61 75 73 74 20 20 00 00 00)
  F0Mn  [fpe2]  2000.00 (bytes 1f 40)
  F0Mt  [ui16]  0 (bytes 00 00)
  F0Mx  [fpe2]  6200.00 (bytes 60 e0)
  F0Tg  [fpe2]  3000.00 (bytes 2e e0)
  FMAx  [fpe2]  6025.00 (bytes 5e 24)
  FNum  [ui8 ]  1 (bytes 01)
  FPDc  [fp79]  35.5469 (bytes 47 18)
  FPhz  [si16]  0 (bytes 00 00)
  FS!   [ui16]  3 (bytes 00 03)
  FSDc  [ui16]  0 (bytes 00 00)
  G3WD  [flag]  (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)
  HBKT  [ui32]  345600 (bytes 00 05 46 00)
  HBWK  [flag]  (bytes 00)
  HDBS  [ui8 ]  1 (bytes 01)
  HDST  [hex_]  (bytes 00 00 00 00)
  HDSW  [hex_]  (bytes 00 00 00 00)
  IB0R  [sp4b]  0.1787 (bytes 01 6e)
  IB0r  [ui16]  1280 (bytes 05 00)
  IC0C  [sp69]  0.000 (bytes 00 00)
  IC0R  [sp5a]  0.5967 (bytes 02 63)
  IC0c  [ui16]  4096 (bytes 10 00)
  IC0r  [ui16]  3584 (bytes 0e 00)
  IC1C  [sp5a]  0.0000 (bytes 00 00)
  IC1c  [ui16]  2432 (bytes 09 80)
  ID0R  [sp5a]  0.9248 (bytes 03 b3)
  ID0r  [ui16]  8192 (bytes 20 00)
  IN0C  [sp5a]  0.0000 (bytes 00 00)
  IN0c  [ui16]  3008 (bytes 0b c0)
  IO0R  [sp4b]  0.3638 (bytes 02 e9)
  IO0r  [ui16]  3648 (bytes 0e 40)
  KWS4  [ui8 ]  0 (bytes 00)
  LAcN  [ui8 ]  0 (bytes 00)
  LAtN  [ui16]  0 (bytes 00 00)
  LC2D  [ui16]  4940 (bytes 13 4c)
  LC2E  [ui16]  4940 (bytes 13 4c)
  LCCN  [ui8 ]  187 (bytes bb)
  LCCQ  [ui8 ]  187 (bytes bb)
  LCKA  [ui8 ]  226 (bytes e2)
  LCSA  [ui8 ]  10 (bytes 0a)
  LCTN  [ui8 ]  9 (bytes 09)
  LCTQ  [ui8 ]  22 (bytes 16)
  LDEN  [ui16]  0 (bytes 00 00)
  LDI2  [ui8 ]  1 (bytes 01)
  LDS4  [ui8 ]  0 (bytes 00)
  LDSP  [flag]  (bytes 00)
  LDWE  [ui32]  0 (bytes 00 00 00 00)
  LKSB  [{lkb]  (bytes 00 00)
  LS!   [ui8 ]  0 (bytes 00)
  LSCF  [{lsc]  (bytes 00 c8 01 90 80 00 02 02 00 20)
  LSDD  [{lsd]  (bytes 00 02 00 03 00 03 00 19)
  LSDU  [{lsd]  (bytes 00 03 00 02 00 14 00 03)
  LSFD  [{lsf]  (bytes 00 00 00 04 00 8c)
  LSFU  [{lsf]  (bytes 00 00 00 04 00 8c)
  LSLB  [{pwm]  100.0% (bytes ff ff)
  LSLF  [{pwm]  0.0% (bytes 00 00)
  LSLN  [{pwm]  100.0% (bytes ff ff)
  LSOF  [flag]  (bytes 01)
  LSOO  [flag]  (bytes 00)
  LSPV  [{pwm]  0.0% (bytes 00 00)
  LSRB  [flag]  (bytes 00)
  LSSB  [{lso]  (bytes 00 00)
  LSSE  [flag]  (bytes 01)
  LSSS  [{lso]  (bytes 00 00)
  LSSV  [ui16]  65535 (bytes ff ff)
  LSUP  [ui8 ]  0 (bytes 00)
  MACA  [ui32]  0 (bytes 00 00 00 00)
  MACM  [flag]  (bytes 01)
  MACR  [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)
  MOCF  [ui16]  33536 (bytes 83 00)
  MOCN  [ui16]  0 (bytes 00 00)
  MOHD  [ui8 ]  10 (bytes 0a)
  MOHT  [sp78]  1.875 (bytes 01 e0)
  MOLD  [ui8 ]  10 (bytes 0a)
  MOLT  [sp78]  0.125 (bytes 00 20)
  MOST  [ui16]  0 (bytes 00 00)
  MOTP  [ui8 ]  1 (bytes 01)
  MOVX  [sp78]  0.000 (bytes 00 00)
  MOVY  [sp78]  0.000 (bytes 00 00)
  MOVZ  [sp78]  0.000 (bytes 00 00)
  MO_X  [sp78]  0.000 (bytes 00 00)
  MO_Y  [sp78]  0.000 (bytes 00 00)
  MO_Z  [sp78]  0.000 (bytes 00 00)
  MSAL  [ui8 ]  75 (bytes 4b)
  MSAc  [fp88]  0.000 (bytes 00 00)
  MSAf  [fp6a]  0.0000 (bytes 00 00)
  MSAg  [fp88]  0.000 (bytes 00 00)
  MSAm  [fp88]  0.000 (bytes 00 00)
  MSBC  [ui16]  0 (bytes 00 00)
  MSBP  [ui16]  0 (bytes 00 00)
  MSBc  [ui16]  0 (bytes 00 00)
  MSBp  [ui16]  0 (bytes 00 00)
  MSDI  [flag]  (bytes 00)
  MSDW  [flag]  (bytes 00)
  MSG3  [flag]  (bytes 00)
  MSLB  [ui16]  0 (bytes 00 00)
  MSLC  [ui8 ]  0 (bytes 00)
  MSLD  [ui8 ]  0 (bytes 00)
  MSLF  [ui8 ]  0 (bytes 00)
  MSLG  [ui8 ]  0 (bytes 00)
  MSLP  [ui8 ]  0 (bytes 00)
  MSLT  [ui16]  3328 (bytes 0d 00)
  MSPA  [fp6a]  1.0000 (bytes 04 00)
  MSPC  [ui8 ]  16 (bytes 10)
  MSPS  [ui16]  3 (bytes 00 03)
  MSPs  [ui16]  0 (bytes 00 00)
  MSSD  [si8 ]  0 (bytes 00)
  MSSE  [ui16]  0 (bytes 00 00)
  MSSF  [ui32]  0 (bytes 00 00 00 00)
  MSSG  [ui32]  0 (bytes 00 00 00 00)
  MSSP  [si8 ]  0 (bytes 00)
  MSSS  [{mss]  (bytes 00)
  MSTC  [ui16]  0 (bytes 00 00)
  MSTM  [ui8 ]  1 (bytes 01)
  MSTS  [ui8 ]  6 (bytes 06)
  MSTc  [ui8 ]  0 (bytes 00)
  MSTf  [ui8 ]  0 (bytes 00)
  MSTg  [ui8 ]  0 (bytes 00)
  MSTm  [ui8 ]  0 (bytes 00)
  MSWA  [fp6a]  0.0000 (bytes 00 00)
  MSWE  [ui8 ]  (bytes 00)
  MSWF  [ui16]  1000 (bytes 03 e8)
  MSWO  [ui16]  1000 (bytes 03 e8)
  MSWP  [ui8 ]  (bytes 00)
  MSWR  [ui8 ]  0 (bytes 00)
  MSWr  [ui8 ]  0 (bytes 00)
  MSXC  [ch8*]  (bytes 00 00 00 00)
  MSXD  [ch8*]  (bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
  MSXK  [ch8*]  (bytes 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d dc dd f0 f1 f2 f3 f4 00 00 00 00 00 00 00 00 00 00 00 00)
  MSXN  [ui8 ]  20 (bytes 14)
  MSXS  [ch8*]  (bytes 01 02 03 04)
  MSXb  [ui8 ]  0 (bytes 00)
  MSXc  [ch8*]  (bytes 00 00 00 00)
  MSXd  [ch8*]  (bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
  MSXk  [ch8*]  (bytes 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 dc dd de f0 f1 f2 f4 00 00 00 00 00 00 00 00)
  MSXm  [ui16]  8 (bytes 00 08)
  MSXn  [ui8 ]  24 (bytes 18)
  MSXs  [ui32]  16909060 (bytes 01 02 03 04)
  MSa!  [ui8 ]  0 (bytes 00)
  MSac  [ui8 ]  0 (bytes 00)
  MSaf  [ui8 ]  0 (bytes 00)
  MSag  [ui8 ]  0 (bytes 00)
  MSam  [ui8 ]  0 (bytes 00)
  MSap  [ui8 ]  0 (bytes 00)
  MVDS  [flag]  (bytes 01)
  MVS4  [ui8 ]  0 (bytes 00)
  NACK  [ui8 ]  0 (bytes 00)
  NATJ  [ui8 ]  2 (bytes 02)
  NATi  [ui16]  30 (bytes 00 1e)
  NOPB  [ui8 ]  0 (bytes 00)
  NTOK  [ui8 ]  0 (bytes 00)
  ONMI  [ui8 ]  0 (bytes 00)
  PB0R  [sp78]  2.242 (bytes 02 3e)
  PC0C  [sp78]  0.000 (bytes 00 00)
  PC0R  [sp78]  7.492 (bytes 07 7e)
  PCPC  [sp78]  1.746 (bytes 01 bf)
  PCPG  [sp78]  0.207 (bytes 00 35)
  PCPL  [sp78]  35.000 (bytes 23 00)
  PCPT  [sp78]  5.590 (bytes 05 97)
  PD0R  [sp78]  15.328 (bytes 0f 54)
  PHPC  [sp78]  7.492 (bytes 07 7e)
  PN0C  [sp78]  0.000 (bytes 00 00)
  PO0R  [sp78]  4.570 (bytes 04 92)
  PTHC  [sp78]  39.000 (bytes 27 00)
  PZ0F  [sp78]  39.000 (bytes 27 00)
  PZ0S  [sp78]  39.000 (bytes 27 00)
  RBr   [ch8*]  (bytes 6b 39 30 69 00 00 00 00)
  REV   [{rev]  (bytes 01 68 0f 00 00 99)
  RMde  [char]  (bytes 41)
  RPlt  [ch8*]  (bytes 6b 39 30 69 00 00 00 00)
  RSvn  [ui32]  0 (bytes 00 00 00 00)
  RVBF  [{rev]  (bytes 01 68 0f 00 00 96)
  RVUF  [{rev]  (bytes 01 68 0f 00 00 96)
  SAS!  [hex_]  (bytes 00 00 be b3)
  SBF   [hex_]  (bytes 00 00 00 00)
  SBFC  [flag]  (bytes 00)
  SBFD  [hex_]  (bytes 00 00 00 00)
  SBFE  [flag]  (bytes 01)
  SBFN  [hex_]  (bytes 00 00 00 00)
  SBFU  [hex_]  (bytes 00 00 00 08)
  SBS!  [ui16]  0 (bytes 00 00)
  SCIA  [ui16]  1016 (bytes 03 f8)
  SCII  [ui8 ]  0 (bytes 00)
  SCIL  [ui8 ]  0 (bytes 00)
  SCXC  [sp78]  100.000 (bytes 64 00)
  SDAF  [ui16]  0 (bytes 00 00)
  SDAS  [ui16]  0 (bytes 00 00)
  SDRd  [ui16]  0 (bytes 00 00)
  SFBR  [ui8 ]  4 (bytes 04)
  SIS!  [hex_]  (bytes 00 00)
  SIT!  [hex_]  (bytes 00 00)
  SIU!  [hex_]  (bytes 00 00)
  SMBC  [ch8*]  (bytes 00 00 00 00 00 00)
  SMBG  [ui8 ]  0 (bytes 00)
  SMBR  [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)
  SMBS  [ch8*]  (bytes 00 00)
  SMBW  [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)
  SPH0  [ui16]  0 (bytes 00 00)
  SPHR  [ui32]  64 (bytes 00 00 00 40)
  SPHS  [ui8 ]  1 (bytes 01)
  SPHT  [ui16]  257 (bytes 01 01)
  SPHZ  [ui8 ]  (bytes 00)
  SPS!  [hex_]  (bytes 00 00 00 00)
  SPT!  [hex_]  (bytes 00)
  SWER  [hex_]  (bytes 00)
  Sr0P  [sp78]  -2.000 (bytes fe 00)
  Sr0T  [sp78]  49.000 (bytes 31 00)
  Sr1P  [sp78]  -8.000 (bytes f8 00)
  Sr1T  [sp78]  93.000 (bytes 5d 00)
  Sw0P  [sp78]  0.000 (bytes 00 00)
  Sw0T  [sp78]  56.500 (bytes 38 80)
  Sw1P  [sp78]  -2.000 (bytes fe 00)
  Sw1T  [sp78]  52.000 (bytes 34 00)
  Sw2P  [sp78]  0.000 (bytes 00 00)
  Sw2T  [sp78]  98.000 (bytes 62 00)
  Sw3P  [sp78]  0.000 (bytes 00 00)
  Sw3T  [sp78]  0.000 (bytes 00 00)
  Sw4P  [sp78]  0.000 (bytes 00 00)
  Sw4T  [sp78]  0.000 (bytes 00 00)
  TB0T  [sp78]  -127.000 (bytes 81 00)
  TB1T  [sp78]  -127.000 (bytes 81 00)
  TB2T  [sp78]  -127.000 (bytes 81 00)
  TC0C  [sp78]  56.844 (bytes 38 d8)
  TC0D  [sp78]  55.750 (bytes 37 c0)
  TC0E  [sp78]  57.477 (bytes 39 7a)
  TC0F  [sp78]  58.375 (bytes 3a 60)
  TC0J  [sp78]  0.898 (bytes 00 e6)
  TC0P  [sp78]  52.875 (bytes 34 e0)
  TC1C  [sp78]  55.000 (bytes 37 00)
  TC2C  [sp78]  57.000 (bytes 39 00)
  TCFC  [ui16]  32 (bytes 00 20)
  TCGC  [sp78]  55.000 (bytes 37 00)
  TCSA  [sp78]  55.000 (bytes 37 00)
  TCTD  [sp78]  -0.023 (bytes ff fa)
  TM0P  [sp78]  43.500 (bytes 2b 80)
  TM0S  [sp78]  52.141 (bytes 34 24)
  TMBS  [sp78]  0.000 (bytes 00 00)
  TP0P  [sp78]  48.875 (bytes 30 e0)
  TPCD  [sp78]  57.000 (bytes 39 00)
  TW0P  [sp78]  -127.000 (bytes 81 00)
  Th1H  [sp78]  43.875 (bytes 2b e0)
  Ts0P  [sp78]  30.875 (bytes 1e e0)
  Ts0S  [sp78]  41.059 (bytes 29 0f)
  UPRC  [ui16]  2117 (bytes 08 45)
  VC0C  [sp3c]  0.75635 (bytes 0c 1a)
  VC0c  [ui16]  15040 (bytes 3a c0)
  VD0R  [sp5a]  16.5576 (bytes 42 3b)
  VD0r  [ui16]  54912 (bytes d6 80)
  VN0R  [sp3c]  0.46387 (bytes 07 6c)
  VN0r  [ui16]  8896 (bytes 22 c0)
  VP0R  [sp4b]  12.5542 (bytes 64 6f)
  VP0r  [ui16]  41600 (bytes a2 80)
  WKEN  [ui8 ]  (bytes 00)
  WVr0  [ui8 ]  255 (bytes ff)
  WVw0  [ui8 ]  3 (bytes 03)
  zDBG  [ui8 ]  (bytes 00)
  zDSF  [flag]  (bytes 00)

Если знаете каким регистром и значением можно вернуть производительность CPU при отключенной батаери пишите в комментариях.

Comments