Contribute
Register

Problem with patching ThinkPad T460 battery

Joined
Feb 9, 2021
Messages
1
Motherboard
ThinkPad T460
CPU
i5-6300U
Graphics
Intel HD Graphics 520
I'm trying to patch the T460's battery and I have a problem with one of 16-bit fields. I don't know how to change those parts below.

Code:
If (((\RRBF & 0x02) || (\_SB.PCI0.LPC.EC.HWAC & 0x02)))

Local0 = \_SB.PCI0.LPC.EC.HWAC

I tried to replace them with
Code:
If (((\RRBF & 0x02) || (B1B2(\_SB.PCI0.LPC.EC.HWC0,\_SB.PCI0.LPC.EC.HWC1) & 0x02)))

Local0 = B1B2(\_SB.PCI0.LPC.EC.HWC0,\_SB.PCI0.LPC.EC.HWC1)
but I'm getting two Object is not accessible from this scope (B1B2) errors.
 

Attachments

  • DSDT.dsl
    584.7 KB · Views: 8
Top