rehabman / laptop-dsdt-patch Goto Github PK
View Code? Open in Web Editor NEWCommon DSDT patches for Ivy/Sandy/Haswell laptops for running OS X
License: Other
Common DSDT patches for Ivy/Sandy/Haswell laptops for running OS X
License: Other
asus n55 battery patch works for ASUS K55 tooo, thanks
hi,thx for this patch,in the early days i used this patch with my N56VV dsdt, when I set smbios is macbook pro9,2 it’s perfect!
But if I change smbios from mbp9,2 to mbp10,1 or mba5,2 and others models, battery in the status bar is always display 100% electricity, even battery level is very low.
link file is the original dsdt
https://www.dropbox.com/s/yhms6oy53s5q0x7/dsdt.zip?dl=0
please help me.
Hi,
I am having issues with my battery symbol on macOS Mojave 10.14.6. I have an ASUS VivoBook X510UAR laptop. For some reason, the battery symbol is stuck at a certain percentage and when toggling percentage (show and hide), it updates itself but the issue won't go away. Sometimes it even says I'm charging after I disconnect the laptop from the charger. I am using ACPIBatteryManager 1.90.1.
I tried to use your DSDT patch that is supposed to work with the VivoBook lineup of laptops, but it completely broke my DSDT. No battery symbol and even sound and Bluetooth were borked because of the DSDT patch. Can anyone help me patch it? Here is a copy of my DSDT.aml file. Please take a look, it's a very annoying bug.
Any answer would be very appreciated, I just need help ASAP. Thank you very much.
NOTE: The battery symbol had no issues until the moment I'm writing this. This isn't the first time encountering this issue with the battery.
Thanks in advance.
I need type key |
and \
, but don't type. My laptop is dell vostro 3550, install mac os yossemite. Please help me type full keyboard?
Please add support for HD4400/HD4600 laptop:
into method label _DSM parent_adr 0x00020000 remove_entry;
into device name_adr 0x00020000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"AAPL,ig-platform-id", Buffer() { 0x06, 0x00, 0x26, 0x0a },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"AAPL00,DualLink", Buffer() { 0x01, 0x00, 0x00, 0x00 },\n
})\n
}\n
end;
I see the hp_x360 file in /battery, but is the support for the spectre? There are several versions 2015-2017 but I think the wifi/battery stays pretty similar.
lenovo xiaoxin air14 install WIN7 0x000000A5 ACPI BSOD ERRORS!
It may be that the motherboard Acpi Table, DSDT patcher and WIN7 are incompatible, causing WIN7 0x000000A5 ACPI BSOD ERRORS
Find the Acpi Table and DSDT patcher compatible with WIN7,Clover loads WIN7 compatible Acpi Table and DSDT patcher to avoid WIN7 0x000000A5 ACPI BSOD ERRORS,Is this idea feasible? Excuse me, RehabMan, do you have an Acpi Table or DSDT patcher compatible with WIN7?
This is a screenshot of lenovo xiaoxin air14 Bios:
。
This is the lenovo xiaoxin air14 hardware:
Thank you for your reply and good luck! I am willing to work with you to solve the problem。
Hey can u add support to the laptop NP510R5E it would be really good or help me do it pls[
DSDT.aml.zip
](url)
Here is list of compatible battery patches:
Lenovo G470 -> Lenovo Twist
Acer 4738z -> Acer 3820g
Dell 1464/1564 -> Dell XPS L502x
Also, Dell XPS L502x is shown as Dell XPX L502x in MacIASL
It has been released for a while but there;s no patches about it at all, i could help out if you need hardware information. thanks, just pm me
Hey,
I would like to try if I can adapt your code to work with thinkpads.
I got a table for fan values from a win-based tool I used before:
left is celcius temperature, right is fan value that needs to be written via ACPI.
Level=38 0 # fan off
Level=45 1 # fan very silent around 2000 RPM
Level=51 1 # 2000 RPM
Level=64 2 # ~3140rpm
Level=68 3 # ~3660rpm
Level=76 128 # BIOS controlled
Here is some fan related stuff I found in the DSDT I use from that tutorial:
http://www.insanelymac.com/forum/topic/285678-lenovo-thinkpad-t420-with-uefi-only/page-25
// add monitor function for TMP and FAN
Device (SMCD)
{
Name (_HID, "MON0000")
Method (FAN0, 0, NotSerialized)
{
//Store (\_SB.PCI0.LPC.EC.HFN1, Local0)
Store (B1B2 (\_SB.PCI0.LPC.EC.HFN1, \_SB.PCI0.LPC.EC.HFN2), Local0)
Return (Local0)
}
Method (TCPU, 0, NotSerialized)
{
Store (\_SB.PCI0.LPC.EC.TMP0, Local0)
Return (Local0)
}
}
And here is a snippet that sets the thinkpad button to switch between full speed and auto
Scope (\_SB.PCI0.LPC.EC)
{
Method (_Q19, 0, NotSerialized)
{
// tjl comment old code
// If (\_SB.PCI0.LPC.EC.HKEY.MHKK (0x00800000))
// {
// \_SB.PCI0.LPC.EC.HKEY.MHKQ (0x1018)
// }
//
// \UCMS (0x03)
// change use Thinkpad Button to change fan speed
// tjl-begin
Name (FANS, 0x01)
Store (HFSP, FANS)
XOr (FANS, 0x80, Local0)
If (Local0)
{
Store (0x80, HFSP) //Fan speed auto
}
Else
{
Store (0x07, HFSP) //Fan speed 7
}
// tjl-end
}
The full DSDT is available in this archive: http://www.insanelymac.com/forum/index.php?app=core&module=attach§ion=attach&attach_id=137788 (in subdirectory T420/EFI/CLOVER/OEM/ProductID.1366x768/ACPI/patched)
I just need a few pointers as my ACPI knowledge is weak...
please add my patch to the battery patch. works for NP900X5T
battery_Samsung-NP900x5t.txt
So, initially I had error 8302, 6105, Invalid object type for reserved name (_PLD: found Buffer, Package required)
and I tried to fix it using Fix _PLD...
from your patches, but it seems to be not working (not working regex due to new standards?). Then I went to Gentoo
forums and found this:
https://forums-web2.gentoo.org/viewtopic-t-1098226-start-0.html
So I managed to fix _PLD error
, but then I got these:
And fixing them using X220 battery patches is not working, I'm not familiar with MaciASL patches so I now I don't know how to fix them, also I am using this version of MaciASL:
https://github.com/acidanthera/MaciASL
Hi,
I would really like a battery patch for this laptop. It would be very nice if you would be able to do this.
Hello, admirable developer!
Because for me, this computer is very suitable for me to design images
I tried the method in the tutorial myself, but I didn't make it. That's probably why I'm so badLooking forward to your help
thx
我想问一下ThinkPad S3用哪个比较好
Is it possible mod so battery reports correct cycle count?
`Device(H_EC)
{
Name(_HID, EISAID("PNP0C09"))
Name(_UID, One)
Method(_CRS, 0, NotSerialized)
{
Name(BFFR, ResourceTemplate()
{
IO(Decode16, 0x0062, 0x0062, 0x00, 0x01)
IO(Decode16, 0x0066, 0x0066, 0x00, 0x01)
})
Return(BFFR)
}
OperationRegion(ECR, EmbeddedControl, Zero, 0xFF)
Field(ECR, ByteAcc, Lock, Preserve)
{
Offset(0x18), //Offset(24),
SPTR, 8,
SSTS, 8,
SADR, 8,
SCMD, 8,
SBFR, 256,
SCNT, 8,
Offset(0x80), //Offset(128),
B1EX, 1,
, 1,
ACEX, 1,
, 5,
SWBE, 1,
DCBE, 1,
, 6,
WLST, 1,
, 7,
LIDS, 1,
, 7,
B1ST, 8,
, 8,
BRIT, 8,
Offset(0xA0), //Offset(160),
B1RP, 16,
B1RA, 16,
B1PR, 16,
B1VO, 16,
Offset(0xB0), //Offset(176),
B1DA, 16,
B1DF, 16,
B1DV, 16,
B1DL, 16,
Offset(0xC0), //Offset(192),
CTMP, 8,
Offset(0xC7), //Offset(199),
TIST, 8,
Offset(0xD0), //Offset(208),
B1TI, 16,
B1SE, 16,
B1CR, 16,
B1TM, 16,
}
Device(BAT1)
{
Name(_HID, EISAID("PNP0C0A"))
Name(_UID, One)
Name(BATI, Package(13)
{
One, 0xFFFFFFFF, 0xFFFFFFFF, One, 0xFFFFFFFF, 0x03, 0x0A, One, One,
"Unknown", "Unknown", "Unknown", "Unknown"
})
Method(_BIF, 0, NotSerialized)
{
If(LEqual(ECON, Zero))
{
Store(SECW(0x82, 0xB0, Zero), Local0)
If(LEqual(Local0, 0xFFFF))
{
Store(0xFFFFFFFF, Index(BATI, One))
}
Else
{
Store(Local0, Index(BATI, One))
}
Store(SECW(0x82, 0xB2, Zero), Local0)
If(LEqual(Local0, 0xFFFF))
{
Store(0xFFFFFFFF, Index(BATI, 0x02))
}
Else
{
Store(Local0, Index(BATI, 0x02))
}
Store(SECW(0x82, 0xB4, Zero), Local0)
If(LEqual(Local0, 0xFFFF))
{
Store(0xFFFFFFFF, Index(BATI, 0x04))
}
Else
{
Store(Local0, Index(BATI, 0x04))
}
Store(Zero, Index(BATI, 0x05))
Store(SECW(0x82, 0xB6, Zero), Local0)
If(LEqual(Local0, 0xFFFF))
{
Store(Zero, Index(BATI, 0x06))
}
Else
{
Store(Local0, Index(BATI, 0x06))
}
}
Else
{
Store(B1DA, Local0)
ShiftLeft(Local0, 0x08, Local1)
And(Local1, 0xFF00, Local1)
ShiftRight(Local0, 0x08, Local0)
Or(Local0, Local1, Local0)
If(LEqual(Local0, 0xFFFF))
{
Store(0xFFFFFFFF, Index(BATI, One))
}
Else
{
Store(Local0, Index(BATI, One))
}
Store(B1DF, Local0)
ShiftLeft(Local0, 0x08, Local1)
And(Local1, 0xFF00, Local1)
ShiftRight(Local0, 0x08, Local0)
Or(Local0, Local1, Local0)
If(LEqual(Local0, 0xFFFF))
{
Store(0xFFFFFFFF, Index(BATI, 0x02))
}
Else
{
Store(Local0, Index(BATI, 0x02))
}
Store(B1DV, Local0)
ShiftLeft(Local0, 0x08, Local1)
And(Local1, 0xFF00, Local1)
ShiftRight(Local0, 0x08, Local0)
Or(Local0, Local1, Local0)
If(LEqual(Local0, 0xFFFF))
{
Store(0xFFFFFFFF, Index(BATI, 0x04))
}
Else
{
Store(Local0, Index(BATI, 0x04))
}
Store(Zero, Index(BATI, 0x05))
Store(B1DL, Local0)
ShiftLeft(Local0, 0x08, Local1)
And(Local1, 0xFF00, Local1)
ShiftRight(Local0, 0x08, Local0)
Or(Local0, Local1, Local0)
If(LEqual(Local0, 0xFFFF))
{
Store(0xFFFFFFFF, Index(BATI, 0x06))
}
Else
{
Store(Local0, Index(BATI, 0x06))
}
}
Store("", Index(BATI, 0x09))
Store("", Index(BATI, 0x0A))
Store("LION", Index(BATI, 0x0B))
Store("SAMSUNG Electronics", Index(BATI, 0x0C))
Return(BATI)
}
`
Battery indicator for ASUS ZenBook UX330UA-AH55 is showing a false reading of 0% even with the DSDT Patches and the APCIBatteryManager.kext
Hi,
Anyone have support for Lenovo S145?
Thanks.
I have 10.15 hackintosh on hp820g1 laptop. And I use ACPIBatteryManager kext. But it cannot work. It just show charge icon when I connect to the power adaptor. Could you help me to resolved. Thanks.
First of all, correct me if i'm wrong because i'm new to this.
I wanna patch my asus x550vx battery and got suggestion to use battery_ASUS-N55SL.txt
I learn from youtube to patching by adding repo, and then browse the patch, then compile it.
But when i compiled it, i got 4 errors as i attached on this site .
If i'm wrong to use it for x550vx, i do apologize. And hope you give some advice which one i should use for High sierra on asus x550vx.
Thanks Before.
Here is the missing patch in ASUS G75VW battery patch for ASUS K43E:
into method label OLPM code_regex \(\\_SB\.PCI0\.SBRG\.EC0\.B0DC, replace_matched begin (B1B2(\\_SB.PCI0.SBRG.EC0.B0D0,\\_SB.PCI0.SBRG.EC0.B0D1), end;
It can use ASUS G75VW patch
Please use the online forums for questions and troubleshooting problems with your setup. Use Google to find them.
Only post bug reports please.
Hi,RehabMan.
My computer is zhanmei mini pc. The video card intel hd6000 can not be drived, the HDMI interface is connected to the display, recognition memory is always 5MB。
Hey, how do you set the keys to adjust the screen brightness on a laptop keyboard ?? Right now it's fn + f12 and fn + key pause. My bootloader is opencore. In my laptop acer v3-371, the shortcut from adjusting the screen brightness on the keyboard is the shortcut fn + left arrow key and fn + arrow right key.
I just updated my Asus G60vw laptop to macOS High Sierra and found that the battery status disappeared from the status menu and the amount of electricity of battery is zero in Preferences.
I used to make the battery work using battery_ASUS-G75vw.txt
patch and your os-x-acpi-battery-driver
in macOS Sierra. I tried updating them to the latest available version but the battery still not detected correctly.
I used KextWizard and found AppleSmartBatteryManager
was loaded. So I guess there are some new issues that I cannot figure out.
I attached my original DSDT files extracted with Clover.
Looking forward for your help!
Most ASUS Haswell laptops have problems with setting wrong value between battery state. The following patch help it. I hope you can add to ASUS battery patches.
into method label FBST code_regex If\s\(CHGS\s\(Zero\)\)[\s]+\{[\s]+Store\s\(0x02,\sLocal0\)[\s]+\}[\s]+Else[\s]+\{[\s]+Store\s\(One,\sLocal0\)[\s]+\} replaceall_matched begin
If (CHGS (Zero))\n
{\n
Store (0x02, Local0)\n
}\n
Else\n
{\n
Store (Zero, Local0)\n
}
end;
Hi!
I can't install this patch to my DSDT.aml (generated from Windows 8.1 x64 by AIDA64 Engineer):
https://github.com/RehabMan/Laptop-DSDT-Patch/blob/master/graphics/graphics_HD4600_yosemite.txt
I download MaciASL (from your repo) and click "Patch", put contets of this file, but "Apply" button is inactive - shows me 0 changes etc.
I do not have Internet in my Hackintosh to use patches from this repository directly.
What I'm doing wrong?
p.s. I use Clover bootloader. Can I add this fix in Clover?
Here are some patches for IGPU on Dell Latitude E5x30
into device label VID name_adr 0x00020000 set_label begin IGPU end; into_all all label _SB.PCI0.VID set_label begin _SB.PCI0.IGPU end; into_all all code_regex PCI0\.VID replaceall_matched begin PCI0.IGPU end;
Hi RehabMan:
My computer is a desktop, dsdt is what I extracted from the windows, my motherboard is b150m-d2vx-si-cf, Intel (R) 100 Series / C230 Series Chipset Family PMC-A121, but can not find this series of fix Patch, please help me hit the patch, can not find this series of patches on the Internet, or a patch of tools, including the new series of motherboards. There is a problem is that I extracted from the windows ssdt ,how to place it in clover.Thank you.
Hello ;)
I didn't know where to write so I put it here. When I patch DSDT I get "only" 290 warnings but since no error I moved it to Clover EFI partition. Still no battery status.
What info you want to get for helping me?
Thanks.
Hi, in usb->usb_7-series-multiplex.txt file is XH1C (line 122 and 123) instead XHC1. Is it typing error?
Hello I just added http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master as source on MacIASL and I can´t see the repository folder there, I tried to restart but nothing.
Hi;
Ideapad V310 15ikb {i7-7500U Intel R620}
at this stage fan control works, keyboard works.
touchpad just works as mouse except it does double tap as double click.
no touchpad in setting of macos mojave.
I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=sysrq kbd leds event0
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=4000 0 0
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input3
U: Uniq=
H: Handlers=event2
B: PROP=0
B: EV=21
B: SW=1
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input4
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Ideapad extra buttons"
P: Phys=ideapad/input0
S: Sysfs=/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/input/input6
U: Uniq=
H: Handlers=kbd rfkill event5
B: PROP=0
B: EV=13
B: KEY=81000800100c03 4400000000300000 0 2
B: MSC=10
I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input8
U: Uniq=
H: Handlers=kbd event6
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0
I: Bus=0003 Vendor=5986 Product=0712 Version=5309
N: Name="EasyCamera: EasyCamera"
P: Phys=usb-0000:00:14.0-9/button
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/input/input9
U: Uniq=
H: Handlers=kbd event7
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0011 Vendor=0002 Product=000e Version=0000
N: Name="ETPS/2 Elantech Touchpad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input7
U: Uniq=
H: Handlers=event8 mouse0
B: PROP=1
B: EV=b
B: KEY=e420 30000 0 0 0 0
B: ABS=661800011000003
I: Bus=0001 Vendor=10ec Product=0236 Version=0001
N: Name="HDA Digital PCBeep"
P: Phys=card0/codec#0/beep0
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input10
U: Uniq=
H: Handlers=kbd event9
B: PROP=0
B: EV=40001
B: SND=6
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input11
U: Uniq=
H: Handlers=event10
B: PROP=0
B: EV=21
B: SW=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input12
U: Uniq=
H: Handlers=event11
B: PROP=0
B: EV=21
B: SW=4
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input13
U: Uniq=
H: Handlers=event12
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH HDMI/DP,pcm=7"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input14
U: Uniq=
H: Handlers=event13
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH HDMI/DP,pcm=8"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input15
U: Uniq=
H: Handlers=event14
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH HDMI/DP,pcm=9"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input16
U: Uniq=
H: Handlers=event15
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH HDMI/DP,pcm=10"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1f.3/sound/card0/input17
U: Uniq=
H: Handlers=event16
B: PROP=0
B: EV=21
B: SW=140
and here is the efi folder and my whole disassemble dsdt patches.
https://transfer.sh/8hLPJ/dsdt.zip
I am willing to work with you test and all things needed to patch this model and add to your repository.
I would appreciate the help.
I saw this a lot on many ASUS/Dell laptops
into_all all code_regex \*pnp0c14 replaceall_matched begin PNP0C14 end; into_all all code_regex pnp0c14 replaceall_matched begin PNP0C14 end;
Hi,Rehabman.
I have used the patch to rename GFX0 to IGPU,but...
Before:
Device (GFX0)
{
Name (_ADR, 0x00020000) // _ADR: Address
Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
{
ADBG ("GFX0 DEP Call")
If (LEqual (S0ID, One))
{
ADBG ("GFX0 DEP")
Return (Package (0x01)
{
\_SB.PEPD
})
}
Else
{
ADBG ("GFX0 DEP NULL")
Return (Package (0x00) {})
}
}
After:
Device (IGPU)
{
Name (_ADR, 0x00020000) // _ADR: Address
Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
{
ADBG ("GFX0 DEP Call")
If (LEqual (S0ID, One))
{
ADBG ("GFX0 DEP")
Return (Package (0x01)
{
\_SB.PEPD
})
}
Else
{
ADBG ("GFX0 DEP NULL")
Return (Package (0x00) {})
}
}
Should i rename them manually?
Thanks for your contribution ,sincerely.
Attached is a maciasl patch file enabling the battery indicator for a Yoga X1 3rd generation running on High Sierra. I have also included the original DSDT.dsl for this laptop extracted via Clover.
This patch is based on the existing battery_Lenovo-X230i.txt, but had enough changes that I thought it was worth separating it out.
Its works with these two caveats:
Battery indicator does not display after a reboot. Sounds like RehabMan/OS-X-ACPI-Battery-Driver#21. You have to turn it back on via System Preferences (when you open the Power page you can see the checkbox is checked for a split second, then it unchecks itself. Then you manually check it and the battery indicator is back).
When you unplug the power adapter, the indicator takes about 10 seconds to recognize the change. On the other hand, plugging in the adapter is instantaneous and makes a nice beep sound (not sure if that is MacOS or the laptop itself).
Thanks - Charlie
Hi there, could you please create a battery patch for the Samsung NP300E5C-S04?
Thanks!
battery_Acer-Aspire-5750g.txt is not suitable for thinkpad x270 with i5-6200u,not working, tested.
Hi there, I have the some issues with my DSDT.
6126, syntax error, unexpected PARSEOP_NAME.
.........................................
Name (SS1, 0x00)
Name (SS2, 0x00)
Name (SS3, One)
One
Name (SS4, One)
One
OperationRegion (GNVS, SystemMemory, 0x5FF57000, 0x072C)
Field (GNVS, AnyAcc, Lock, Preserve)
..................................
I've deleted the "One" not working, and marqued the Ones as comment with "//" but it always return the error : 6126, syntax error, unexpected PARSEOP_NAME.
I use Catalina on a Thinkpad P51 i7 7700HQ, Quadro 1200, intelHD630 graphic, 24 Gig of RAM,.
Need some help.
Here my files
I'm patching my battery for HP Elitebook 8570w in Catalina 10.15.4 but I got some errors. Coud you please help to fix that?
Here is my dsl:
DSDT.dsl.zip
Hi RehabMan,
Can you explain, how to fix the OScheck? I have a Problem: With my self-patched DSDT system hangs on boot (Sometimes after AppleCPUManament completed, and PCI Begin Configuration). I found out that after adding Darwinfix by clover, it is booting "well" no hang. Do you have any Idea?
What I have done so far:
I completely changed the codes for OS/OSI-Loading to OSFX, LINX, AMAC, OSFL,... I read somewhere that this method is more hackintosh compatible, but it didn't help...
For any help I would be very grateful
battery_HP-Pavilion-n012tx.txt
This patch is working for HP-Pavilion-bc015tx
Please add new mechaine asus u4000uq battary patches in ASUS N55SL/VivoBook
Here is the patch to make _PRW method to return the package with 0 in second position. It's based on your Lenovo USB patch, but modified to due with different value in the first position of package.
# set _PRW methods to return 0
into method label _PRW parent_adr 0x001D0000 code_regex Return[^(]*\([^(]*\(([^,]*)[^)]*[^,]* replace_matched
begin
Return (Package(){%1,0})
end;
into method label _PRW parent_adr 0x001A0000 code_regex Return[^(]*\([^(]*\(([^,]*)[^)]*[^,]* replace_matched
begin
Return (Package(){%1,0})
end;
into method label _PRW parent_adr 0x00140000 code_regex Return[^(]*\([^(]*\(([^,]*)[^)]*[^,]* replace_matched
begin
Return (Package(){%1,0})
end;
# change the second index in LANC to 0
into method label _PRW parent_adr 0x00190000 code_regex (Return\s+\(.*) replace_matched
begin
Store (0x00, Index (Local0, 0x01))\n
%1
end;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.