- Joined
- Dec 7, 2019
- Messages
- 12
- Motherboard
- miniPC (China)
- CPU
- Intel Core i9 CPU 10880H
- Graphics
- Intel UHD Graphics 630
- Mac
- Mobile Phone
Hello!
There is a problem. I cannot patch DSDT.
Help me fix DSDT for battery.
I use a utility method B1B2.
Corrected some parameters but stuck here:
I need to fix B1FC + B1DV + B1DC here:
There is a problem. I cannot patch DSDT.
Help me fix DSDT for battery.
I use a utility method B1B2.
Corrected some parameters but stuck here:
Code:
OperationRegion (ECF2, EmbeddedControl, Zero, 0xFF)
Field (ECF2, ByteAcc, Lock, Preserve)
{
Offset (0x18),
SPTR, 8,
...
Offset (0x64),
BFV0,8,BFV1,8,
BCR0,8,BCR1,8,
Offset (0x6A),
BRC0,8,BRC1,8,
B1FC, 16,
Offset (0x76),
B1DV, 16,
B1DC, 16
}
I need to fix B1FC + B1DV + B1DC here:
Code:
If (ECAV)
{
If (LAnd (LAnd (ECRD (RefOf (B1DV)), ECRD (RefOf (B1FC))), ECRD (RefOf (B1DC))))
{
Store (ECRD (RefOf (B1DC)), Index (BPKG, One))
Store (ECRD (RefOf (B1FC)), Index (BPKG, 0x02))
Store (ECRD (RefOf (B1DV)), Index (BPKG, 0x04))
Store (Divide (Multiply (ECRD (RefOf (B1FC)), 0x04), 0x64, ), Index (BPKG, 0x05))
Store (Divide (Multiply (ECRD (RefOf (B1FC)), 0x03), 0x64, ), Index (BPKG, 0x06))
}
}
Attachments
Last edited: