Contribute
Register

[Guide] How to patch DSDT for working battery status

I've created a patch for the MSI GS63VR 7RF Stealth Pro, it's attached.

Hardware specs:
MSI GS63VR 7RF Stealth Pro
cpu: Intel Core i7 7700HQ Kabylake
gfx: Intel HD630
gfx-dedicated: gtx 1060 6gb
Motherboard: MS-16K2 (intel hm170 chipset)
memory: 16Gb ddr4 (2x8Gb samsung)
Network: Killer e2500
Drives: - 256 NVME SSD (samsung mzvpw256)
- 2Tb HDD (seagate)

Zip attached with the original DTSD & the patch.
 

Attachments

  • MSI-gs63vr-7rf.battery.patch.zip
    40.8 KB · Views: 161
I've created a patch for the MSI GS63VR 7RF Stealth Pro, it's attached.

Hardware specs:
MSI GS63VR 7RF Stealth Pro
cpu: Intel Core i7 7700HQ Kabylake
gfx: Intel HD630
gfx-dedicated: gtx 1060 6gb
Motherboard: MS-16K2 (intel hm170 chipset)
memory: 16Gb ddr4 (2x8Gb samsung)
Network: Killer e2500
Drives: - 256 NVME SSD (samsung mzvpw256)
- 2Tb HDD (seagate)

Zip attached with the original DTSD & the patch.

The patch is wrong.
You cannot use B1B2 as the target of a Store op.
Such Stores (writes to 16-bit EC field) must be broken into two separate Store ops.
See examples in the existing repo...
 
Hello,

Im a total newbie at this and when I searched for embeddedcontrol I only got this
Code:
OperationRegion (VERM, EmbeddedControl, Zero, 0xFF)
            Field (VERM, ByteAcc, NoLock, Preserve)
            {
                LNPS,   8
            }

does this mean I don't need to do any patching? Im really confused
 
Hello,

Im a total newbie at this and when I searched for embeddedcontrol I only got this
Code:
OperationRegion (VERM, EmbeddedControl, Zero, 0xFF)
            Field (VERM, ByteAcc, NoLock, Preserve)
            {
                LNPS,   8
            }

does this mean I don't need to do any patching? Im really confused

You did not attach any files. Read post #1, "Problem Reporting".
 
Trying to patch my HP envy 15 i7 5500u which comes close to battery_HP-Pavilion-n012tx patch but still there is ACPI errors.Please help me out... tried every patches.
 

Attachments

  • APIC.aml
    140 bytes · Views: 112
  • DSDT.aml
    60.9 KB · Views: 127
  • HPET.aml
    56 bytes · Views: 145
  • SSDT-3.aml
    2.9 KB · Views: 127
  • SSDT-2.aml
    638 bytes · Views: 115
  • SSDT-1.aml
    5.1 KB · Views: 123
  • SSDT-4.aml
    23.4 KB · Views: 109
  • SSDT-5.aml
    13.7 KB · Views: 126
  • SSDT-6.aml
    27.4 KB · Views: 115
  • SSDT-7.aml
    14.5 KB · Views: 108
  • SSDT-8.aml
    23.4 KB · Views: 132
  • SSDT-9.aml
    3 KB · Views: 106
  • SSDT-10.aml
    643 bytes · Views: 96
  • SSDT-11.aml
    5.2 KB · Views: 127
  • SSDT-12.aml
    1.8 KB · Views: 118
  • config.plist
    14.5 KB · Views: 202
  • HP envy 15 k235tx.ioreg
    10 MB · Views: 98
Last edited:
Trying to patch my HP envy 15 i7 5500u which comes close to battery_HP-Pavilion-n012tx patch but still there is ACPI errors.Please help me out... tried every patches.

The DSDT.aml file you attached is already patched (not native).
There are no errors in it (by definition, an AML contains no errors).

You have un-patched multibyte EC fields.
The "HP G6 2221ss" patch looks like it might have been a better match.
 
I have HP Pro 430G4 (Caby Lake i5, HD620).
I've installed El Capitan. Thanks to Rehabman, everything works! Except Power Management :(

Can anybody help me to set up Power Management and Battery Status?
 

Attachments

  • 2017-02-22_11-18-47.png
    2017-02-22_11-18-47.png
    39.2 KB · Views: 101
  • 2017-02-22_11-33-55.png
    2017-02-22_11-33-55.png
    188.3 KB · Views: 100
  • DEN.zip
    4.8 MB · Views: 129
Back
Top