Jump to content
OzemirElion

Need help! DSDT Patch on Positivo I34500AI

Recommended Posts

Hey guys!

I have a Notebook Positivo Motion I34500AI (S15SL)

MacOS 10.13.6 High Sierra

Intel Core i3-6006U

Graphics Intel HD 520


I need a lot of help to do the DSDT Patch. My goal is the Brightness Slider/Controller by Fn Keys and the Battery Status Indicator. It has been suggested to me the sites https://www.insanelymac.com/forum/topic/305030-guide-how-to-fix-brightness-hotkeys-in-dsdt/ and https://bitbucket.org/RehabMan/os-x-acpi-battery-driver but I could not fully understand.

Send me MacBook-Pro-de-Ozemir.zip

Link to comment
Share on other sites

The battery status indicator is now working ...



For the records this is the script for working battery specific for your laptop model

 

#16-bit registers

into device label EC0 code_regex XIF1,\s+16, replace_matched begin IF10,8,IF11,8, end;
into device label EC0 code_regex XIF2,\s+16, replace_matched begin IF20,8,IF21,8, end;
into device label EC0 code_regex XIF3,\s+16, replace_matched begin IF30,8,IF31,8, end;
into device label EC0 code_regex XIF4,\s+16, replace_matched begin IF40,8,IF41,8, end;
into device label EC0 code_regex XIF7,\s+16, replace_matched begin IF70,8,IF71,8, end;
into device label EC0 code_regex XST0,\s+16, replace_matched begin TSX0,8,TSX1,8, end;
into device label EC0 code_regex XST1,\s+16, replace_matched begin ST10,8,ST11,8, end;
into device label EC0 code_regex XST2,\s+16, replace_matched begin ST20,8,ST21,8, end;
into device label EC0 code_regex XST3,\s+16, replace_matched begin ST30,8,ST31,8, end;

#Create B1B2 Method

into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return(Or(Arg0, ShiftLeft(Arg1, 8))) }\n
end;

 

Since, I have had problem accessing code_regex for "16-Bit Method Fix", manual patching to the device names is implemented.

 

#Fix 16-bit Method (manual patching)

Replace \XIF1 with (B1B2(^^PCI0.LPCB.EC0.IF10,^^PCI0.LPCB.EC0.IF11)
Replace \XIF2 with (B1B2(^^PCI0.LPCB.EC0.IF20,^^PCI0.LPCB.EC0.IF21)
Replace \XIF3 with (B1B2(^^PCI0.LPCB.EC0.IF30,^^PCI0.LPCB.EC0.IF31)
Replace \XIF4 with (B1B2(^^PCI0.LPCB.EC0.IF40,^^PCI0.LPCB.EC0.IF41)
Replace \XIF7 with (B1B2(^^PCI0.LPCB.EC0.IF70,^^PCI0.LPCB.EC0.IF71)
Replace \XST0 with (B1B2(^^PCI0.LPCB.EC0.TSX0,^^PCI0.LPCB.EC0.TSX1)
Replace \XST1 with (B1B2(^^PCI0.LPCB.EC0.ST10,^^PCI0.LPCB.EC0.ST11)
Replace \XST2 with (B1B2(^^PCI0.LPCB.EC0.ST20,^^PCI0.LPCB.EC0.ST21)
Replace \XST3 with (B1B2(^^PCI0.LPCB.EC0.ST30,^^PCI0.LPCB.EC0.ST31)

 

 

845650708_Screenshot2018-12-29at9_24_04PM.thumb.png.126020e97e02234b72b2dfa853ab481d.png

Edited by Guest

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites



For the records this is the script for working battery specific for your laptop model

 

#16-bit registers

into device label EC0 code_regex XIF1,\s+16, replace_matched begin IF10,8,IF11,8, end;
into device label EC0 code_regex XIF2,\s+16, replace_matched begin IF20,8,IF21,8, end;
into device label EC0 code_regex XIF3,\s+16, replace_matched begin IF30,8,IF31,8, end;
into device label EC0 code_regex XIF4,\s+16, replace_matched begin IF40,8,IF41,8, end;
into device label EC0 code_regex XIF7,\s+16, replace_matched begin IF70,8,IF71,8, end;
into device label EC0 code_regex XST0,\s+16, replace_matched begin TSX0,8,TSX1,8, end;
into device label EC0 code_regex XST1,\s+16, replace_matched begin ST10,8,ST11,8, end;
into device label EC0 code_regex XST2,\s+16, replace_matched begin ST20,8,ST21,8, end;
into device label EC0 code_regex XST3,\s+16, replace_matched begin ST30,8,ST31,8, end;

#Create B1B2 Method

into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return(Or(Arg0, ShiftLeft(Arg1, 8))) }\n
end;

 

Since, I have had problem accessing code_regex for "16-Bit Method Fix", manual patching to the device names is implemented.

 

#Fix 16-bit Method (manual patching)

Replace XIF1 with (B1B2(^^PCI0.LPCB.EC0.IF10,^^PCI0.LPCB.EC0.IF11)
Replace XIF2 with (B1B2(^^PCI0.LPCB.EC0.IF20,^^PCI0.LPCB.EC0.IF21)
Replace XIF3 with (B1B2(^^PCI0.LPCB.EC0.IF30,^^PCI0.LPCB.EC0.IF31)
Replace XIF4 with (B1B2(^^PCI0.LPCB.EC0.IF40,^^PCI0.LPCB.EC0.IF41)
Replace XIF7 with (B1B2(^^PCI0.LPCB.EC0.IF70,^^PCI0.LPCB.EC0.IF71)
Replace XST0 with (B1B2(^^PCI0.LPCB.EC0.TSX0,^^PCI0.LPCB.EC0.TSX1)
Replace XST1 with (B1B2(^^PCI0.LPCB.EC0.ST10,^^PCI0.LPCB.EC0.ST11)
Replace XST2 with (B1B2(^^PCI0.LPCB.EC0.ST20,^^PCI0.LPCB.EC0.ST21)
Replace XST3 with (B1B2(^^PCI0.LPCB.EC0.ST30,^^PCI0.LPCB.EC0.ST31)

 


Screenshot 2018-12-29 at 9.24.04 PM.png

 

What does that mean?

Link to comment
Share on other sites

[ref]OzemirElion[/ref],


Place in Clover/ACPI/Patched. Reboot and upload new Send_me files.

 

DSDT.aml.zip

 

Added in 2 minutes 36 seconds:

What does that mean?

If you read the guide , you will understand ;)


https://bitbucket.org/RehabMan/os-x-acpi-battery-driver

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

  • Administrators

[ref]OzemirElion[/ref], Try

CLOVER.zip

Donation with Paypal HERE

Donation with Stripe HERE

Donation with BuyMeaCoffee HERE

Donation with Mercado Livre HERE

Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donation with PiX @danielnmaldonado@gmail.com

:guitar

Problems with Paypal Donate? Check HERE

Donated? Send me PM with files or use DSDT Patch Requests

6y0Bvfl.png

Link to comment
Share on other sites

[ref]OzemirElion[/ref], Awesome! Thanks to [ref]MaLd0n[/ref] for the tip.


Upload new send_me file to check on something.


Added in 7 minutes 28 seconds:

[ref]OzemirElion[/ref], for brightness hotkeys to work, you need to do this yourself. its a personal touch. https://www.insanelymac.com/forum/topic/305030-guide-how-to-fix-brightness-hotkeys-in-dsdt/

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

  • Administrators

[ref]OzemirElion[/ref], one more, use this patch too in config.plist

change EC0 to EC
4543305f
45435f5f

 

disable hibernation

https://Olarila.com/files/Utils/disablehibernate.command.zip

master disable

master-disable.command.zip

repair permission

https://Olarila.com/files/Utils/RepairPermissions.zip

Donation with Paypal HERE

Donation with Stripe HERE

Donation with BuyMeaCoffee HERE

Donation with Mercado Livre HERE

Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donation with PiX @danielnmaldonado@gmail.com

:guitar

Problems with Paypal Donate? Check HERE

Donated? Send me PM with files or use DSDT Patch Requests

6y0Bvfl.png

Link to comment
Share on other sites

[ref]OzemirElion[/ref], see if this fixes the verbose messages. The messages should not cause any issues, though.

 

DSDT.aml.zip

 

PS: Also remember the patches Maldon posted above.

Edited by Guest

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

Sorry for being late. After running the "Repair Permissions" script Mac crashed a lot, it was slow ... I'm trying again ...

So far I'm waiting for him to have a successful boot without injecting Kexts, because by injecting them the Mac restarts at the end of the boot.


I think I need to repair the permissions via commands :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...
The popup will be closed in 15 seconds...