Jump to content

M3G4DR01D
 Share

121 posts in this topic

Recommended Posts

I've got this laptop, fully working minus keyboard brightness, that's working but its not dimmable with shortcut Keys...

there is actually no way to use the latest voodooi2c when the i2c device is in ETPD and the CPU is a Kaby, tried with the help of alex.daud, driver is loading, pinning is ok, but still no movement from the trackpad...

Alex.daud said it's a problem about the Asus dsdt implementation...

Latest version working is 1.0.4

 

P.s.

I was trying to debug the Keys to remap them, but seems that the keyboard, that's usb, cannot be seen by acpidebug...

Edited by JahStories
  • Thanks 2
Link to comment
Share on other sites

17 minutes ago, M3G4DR01D said:

Guess I'll stick to v1.0 it worked for me but without gestures, or sys pref pane detection

@onejay09 How about the keyboard backlight does it work for you?

And could you help me with the extra brightness levels and the slider, thanks.

yours is working the same as my brightness levels, except i have slider,

ive tried cant be of more help

2 minutes ago, M3G4DR01D said:

Interestingly tho, my touchpad works at the clover boot menu with VoodooPS2 Touchpad ?!?!

well that shouldnt happen

did you delete appleintellpssi2c.kext

  • Like 1
Link to comment
Share on other sites

4 minutes ago, onejay09 said:

yours is working the same as my brightness levels, except i have slider,

ive tried cant be of more help

well that shouldnt happen

did you delete appleintellpssi2c.kext

Yes

Someone had the same problem as me, but his touchpad worked when he disabled the rename _OSI to _XOSI patch

Link to comment
Share on other sites

4 minutes ago, onejay09 said:

no. i literally just told you that my setup is the same. your an ignorant muppet

haven't i helped you enough?

learn to do it for yourself like i did

Ouch sorry man, thank you for your help.

Edited by M3G4DR01D
Link to comment
Share on other sites

1 hour ago, JahStories said:

I've got this laptop, fully working minus keyboard brightness, that's working but its not dimmable with shortcut Keys...

there is actually no way to use the latest voodooi2c when the i2c device is in ETPD and the CPU is a Kaby, tried with the help of alex.daud, driver is loading, pinning is ok, but still no movement from the trackpad...

Alex.daud said it's a problem about the Asus dsdt implementation...

Latest version working is 1.0.4

 

P.s.

I was trying to debug the Keys to remap them, but seems that the keyboard, that's usb, cannot be seen by acpidebug...

@JahStories could you tell me how you got your keyboard backlight working and btw does iMessage work for you, thanks!

Edited by M3G4DR01D
Link to comment
Share on other sites

18 hours ago, M3G4DR01D said:

@JahStories could you tell me how you got your keyboard backlight working and btw does iMessage work for you, thanks!

This is the keyboard backlight patch, about icloud and imessage, yes I got them working pretty well.

# Patch by EMlyDinEsH (www.osxlatitude.com)
 
#
# Enables 4 keyboard backlight levels control to work using my kexts AsusNBFnKeys and Smart Touchpad
# This patch meant for Kabylake notebooks and may work for others.
#
 
# Insert backlight auto off control sync field for Smart Touchpad and Asus Fn Keys driver
into device label ATKD code_regex Name\s\(BOFF,\sZero\) remove_matched;
into device label ATKD insert begin Name (BOFF, Zero) end;
 
# Insert method SKBL for setting keyboard backlight level
into method label SKBL parent_label ATKD remove_entry;
into Device label ATKD insert begin
Method (SKBL, 1, NotSerialized)\n
            {\n
                If (Or (LEqual (Arg0, 0xED), LEqual (Arg0, 0xFD)))\n
                {\n
                    If (And (LEqual (Arg0, 0xED), LEqual (BOFF, 0xEA)))\n
                    {\n
                        Store (Zero, Local0)\n
                        Store (Arg0, BOFF)\n
                    }\n
                    Else\n
                    {\n
                        If (And (LEqual (Arg0, 0xFD), LEqual (BOFF, 0xFA)))\n
                        {\n
                            Store (Zero, Local0)\n
                            Store (Arg0, BOFF)\n
                        }\n
                        Else\n
                        {\n
                            Return (BOFF)\n
                        }\n
                    }\n
                }\n
                Else\n
                {\n
                    If (Or (LEqual (Arg0, 0xEA), LEqual (Arg0, 0xFA)))\n
                    {\n
                        Store (Arg0, BOFF)\n
                    }\n
                    Else\n
                    {\n
Store (And (Arg0, 0x7F), KBLV)\n
                    }\n
                }\n
Store (0x0900, Local0)\n
          Add (Local0, 0xF0, Local0)\n
          \_SB.PCI0.LPCB.EC0.WRAM (Local0, KBLV)\n
         Store (DerefOf (Index (PWKB, KBLV)), Local0)\n
            \_SB.PCI0.LPCB.EC0.ST9E (0x1F, 0xFF, Local0)\n
                Return (Local0)\n
            }\n
end;
 
# Remove existing 16 backlight levels list if exist
into device label ATKD code_regex Name\s\(KBPW,\sBuffer\s\(0x10\)\s*\n\s*\{\s*\/\*\s0000\s\*\/\s*0x00,\s0x11,\s0x22,\s0x33,\s0x44,\s0x55,\s0x66,\s0x77,\s*\/\*\s0008\s\*\/\s*\s0x88,\s0x99,\s0xAA,\s0xBB,\s0xCC,\s0xDD,\s0xEE,\s0xFF\s*\}\) remove_matched;
# Remove existing 4 backlight levels list if exist
into device label ATKD code_regex Name\s\(PWKB,\sBuffer\s\(0x04\)\s*\n\s*\{\s*0x00,\s0x55,\s0xAA,\s0xFF\s*\}\) remove_matched;
 
# Insert 4 backlight levels
into Device label ATKD insert begin
Name (PWKB, Buffer (0x04)\n
            {\n
               0x00, 0x55, 0xAA, 0xFF\n
            })\n
end;
 
 
# Insert method GKBL for reading keyboard backlight level
into method label GKBL parent_label ATKD remove_entry;
into Device label ATKD insert begin
Method (GKBL, 1, NotSerialized)\n
            {\n
               If (LEqual (Arg0, 0xFF))\n
                {\n
                    Return (BOFF)\n
                }\n
 
                Return (KBLV)\n
            }\n
end;

 

  • Thanks 1
Link to comment
Share on other sites

22 minutes ago, JahStories said:

This is the keyboard backlight patch, about icloud and imessage, yes I got them working pretty well.


# Patch by EMlyDinEsH (www.osxlatitude.com)
 
#
# Enables 4 keyboard backlight levels control to work using my kexts AsusNBFnKeys and Smart Touchpad
# This patch meant for Kabylake notebooks and may work for others.
#
 
# Insert backlight auto off control sync field for Smart Touchpad and Asus Fn Keys driver
into device label ATKD code_regex Name\s\(BOFF,\sZero\) remove_matched;
into device label ATKD insert begin Name (BOFF, Zero) end;
 
# Insert method SKBL for setting keyboard backlight level
into method label SKBL parent_label ATKD remove_entry;
into Device label ATKD insert begin
Method (SKBL, 1, NotSerialized)\n
            {\n
                If (Or (LEqual (Arg0, 0xED), LEqual (Arg0, 0xFD)))\n
                {\n
                    If (And (LEqual (Arg0, 0xED), LEqual (BOFF, 0xEA)))\n
                    {\n
                        Store (Zero, Local0)\n
                        Store (Arg0, BOFF)\n
                    }\n
                    Else\n
                    {\n
                        If (And (LEqual (Arg0, 0xFD), LEqual (BOFF, 0xFA)))\n
                        {\n
                            Store (Zero, Local0)\n
                            Store (Arg0, BOFF)\n
                        }\n
                        Else\n
                        {\n
                            Return (BOFF)\n
                        }\n
                    }\n
                }\n
                Else\n
                {\n
                    If (Or (LEqual (Arg0, 0xEA), LEqual (Arg0, 0xFA)))\n
                    {\n
                        Store (Arg0, BOFF)\n
                    }\n
                    Else\n
                    {\n
Store (And (Arg0, 0x7F), KBLV)\n
                    }\n
                }\n
Store (0x0900, Local0)\n
          Add (Local0, 0xF0, Local0)\n
          \_SB.PCI0.LPCB.EC0.WRAM (Local0, KBLV)\n
         Store (DerefOf (Index (PWKB, KBLV)), Local0)\n
            \_SB.PCI0.LPCB.EC0.ST9E (0x1F, 0xFF, Local0)\n
                Return (Local0)\n
            }\n
end;
 
# Remove existing 16 backlight levels list if exist
into device label ATKD code_regex Name\s\(KBPW,\sBuffer\s\(0x10\)\s*\n\s*\{\s*\/\*\s0000\s\*\/\s*0x00,\s0x11,\s0x22,\s0x33,\s0x44,\s0x55,\s0x66,\s0x77,\s*\/\*\s0008\s\*\/\s*\s0x88,\s0x99,\s0xAA,\s0xBB,\s0xCC,\s0xDD,\s0xEE,\s0xFF\s*\}\) remove_matched;
# Remove existing 4 backlight levels list if exist
into device label ATKD code_regex Name\s\(PWKB,\sBuffer\s\(0x04\)\s*\n\s*\{\s*0x00,\s0x55,\s0xAA,\s0xFF\s*\}\) remove_matched;
 
# Insert 4 backlight levels
into Device label ATKD insert begin
Name (PWKB, Buffer (0x04)\n
            {\n
               0x00, 0x55, 0xAA, 0xFF\n
            })\n
end;
 
 
# Insert method GKBL for reading keyboard backlight level
into method label GKBL parent_label ATKD remove_entry;
into Device label ATKD insert begin
Method (GKBL, 1, NotSerialized)\n
            {\n
               If (LEqual (Arg0, 0xFF))\n
                {\n
                    Return (BOFF)\n
                }\n
 
                Return (KBLV)\n
            }\n
end;

 

This patch goes in the DSDT right? Or do I need a separate SSDT for it?

And could you please tell me how you got iMessage working? I keep getting a sign in error!

Link to comment
Share on other sites

Just now, JahStories said:

Dsdt patch, for iMessage it's mostly luck, about iCloud you need to set a correct SMbios.

 Oh I already have iCloud working it's iMessage and Siri and FaceTime that are grinding my gears, they are all caused by the same issue I believe (apple detecting that my hack isn't genuine apple hardware -_-)

Link to comment
Share on other sites

On 2018-04-18 at 6:07 PM, JahStories said:

This is the keyboard backlight patch, about icloud and imessage, yes I got them working pretty well.


# Patch by EMlyDinEsH (www.osxlatitude.com)
 
#
# Enables 4 keyboard backlight levels control to work using my kexts AsusNBFnKeys and Smart Touchpad
# This patch meant for Kabylake notebooks and may work for others.
#
 
# Insert backlight auto off control sync field for Smart Touchpad and Asus Fn Keys driver
into device label ATKD code_regex Name\s\(BOFF,\sZero\) remove_matched;
into device label ATKD insert begin Name (BOFF, Zero) end;
 
# Insert method SKBL for setting keyboard backlight level
into method label SKBL parent_label ATKD remove_entry;
into Device label ATKD insert begin
Method (SKBL, 1, NotSerialized)\n
            {\n
                If (Or (LEqual (Arg0, 0xED), LEqual (Arg0, 0xFD)))\n
                {\n
                    If (And (LEqual (Arg0, 0xED), LEqual (BOFF, 0xEA)))\n
                    {\n
                        Store (Zero, Local0)\n
                        Store (Arg0, BOFF)\n
                    }\n
                    Else\n
                    {\n
                        If (And (LEqual (Arg0, 0xFD), LEqual (BOFF, 0xFA)))\n
                        {\n
                            Store (Zero, Local0)\n
                            Store (Arg0, BOFF)\n
                        }\n
                        Else\n
                        {\n
                            Return (BOFF)\n
                        }\n
                    }\n
                }\n
                Else\n
                {\n
                    If (Or (LEqual (Arg0, 0xEA), LEqual (Arg0, 0xFA)))\n
                    {\n
                        Store (Arg0, BOFF)\n
                    }\n
                    Else\n
                    {\n
Store (And (Arg0, 0x7F), KBLV)\n
                    }\n
                }\n
Store (0x0900, Local0)\n
          Add (Local0, 0xF0, Local0)\n
          \_SB.PCI0.LPCB.EC0.WRAM (Local0, KBLV)\n
         Store (DerefOf (Index (PWKB, KBLV)), Local0)\n
            \_SB.PCI0.LPCB.EC0.ST9E (0x1F, 0xFF, Local0)\n
                Return (Local0)\n
            }\n
end;
 
# Remove existing 16 backlight levels list if exist
into device label ATKD code_regex Name\s\(KBPW,\sBuffer\s\(0x10\)\s*\n\s*\{\s*\/\*\s0000\s\*\/\s*0x00,\s0x11,\s0x22,\s0x33,\s0x44,\s0x55,\s0x66,\s0x77,\s*\/\*\s0008\s\*\/\s*\s0x88,\s0x99,\s0xAA,\s0xBB,\s0xCC,\s0xDD,\s0xEE,\s0xFF\s*\}\) remove_matched;
# Remove existing 4 backlight levels list if exist
into device label ATKD code_regex Name\s\(PWKB,\sBuffer\s\(0x04\)\s*\n\s*\{\s*0x00,\s0x55,\s0xAA,\s0xFF\s*\}\) remove_matched;
 
# Insert 4 backlight levels
into Device label ATKD insert begin
Name (PWKB, Buffer (0x04)\n
            {\n
               0x00, 0x55, 0xAA, 0xFF\n
            })\n
end;
 
 
# Insert method GKBL for reading keyboard backlight level
into method label GKBL parent_label ATKD remove_entry;
into Device label ATKD insert begin
Method (GKBL, 1, NotSerialized)\n
            {\n
               If (LEqual (Arg0, 0xFF))\n
                {\n
                    Return (BOFF)\n
                }\n
 
                Return (KBLV)\n
            }\n
end;

 

Hello @JahStories Thanks to your patch my keyboard backlight now works!! but, I have no control over it (and I'm not sure which level Is it since I have 3 but its somewhat dim so I'd say level 2), is there anyway to control it using FN+F3 and FN+F4 keys? thanks!

Link to comment
Share on other sites

1 minute ago, M3G4DR01D said:

Hello @JahStories Thanks to your patch my keyboard backlight now works!! but, I have no control over it (and I'm not sure which level Is it since I have 3 but its somewhat dim so I'd say level 2), is there anyway to control it using FN+F3 and FN+F4 keys? thanks!

I'm sorry but I've not been able to control it... -.-

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
On 4/17/2018 at 5:17 PM, onejay09 said:

you dont understand, ive already given them to you. the _DSM method for pci0.peg0.pegp i added for you in ssdt-8.aml

 

Hey onejay09 do you recommend any online websites that are  a good source for learning more about the daft ssdt patching prices? as how much I appreciate you helping him out, one part of me would love to know what exactly was done in the steps so I could reproduce for my own and future hacks :p

 

please let me know 

much appreciated 

Link to comment
Share on other sites

  • 2 years later...
On 4/17/2018 at 10:12 PM, JahStories said:

I've got this laptop, fully working minus keyboard brightness, that's working but its not dimmable with shortcut Keys...

there is actually no way to use the latest voodooi2c when the i2c device is in ETPD and the CPU is a Kaby, tried with the help of alex.daud, driver is loading, pinning is ok, but still no movement from the trackpad...

Alex.daud said it's a problem about the Asus dsdt implementation...

Latest version working is 1.0.4

 

P.s.

I was trying to debug the Keys to remap them, but seems that the keyboard, that's usb, cannot be seen by acpidebug...

Hi, I have an Asus GL502VM  High sierra (i7 6700hq + gtx 1060 6gb vram), so it is almos the same laptop as you have. I have several problems (no fan control, no screen brightness control, screen dims when I plug or unplug the laptop...). Could you please send me your EFI folder so I can copy it and have my laptop working better? In case you don't want to do that I attach my  ioreg. I can also send my full efi folder so you can see the acpi patched, kext and config.plist i am using in case you want to see it. 

 

Please would really appreciate your answer, I would need this laptop working for university. 

MacBook Jon Andoni ioreg.ioreg

Link to comment
Share on other sites

On 9/20/2020 at 9:00 PM, jonanbasket said:

Hi, I have an Asus GL502VM  High sierra (i7 6700hq + gtx 1060 6gb vram), so it is almos the same laptop as you have. I have several problems (no fan control, no screen brightness control, screen dims when I plug or unplug the laptop...). Could you please send me your EFI folder so I can copy it and have my laptop working better? In case you don't want to do that I attach my  ioreg. I can also send my full efi folder so you can see the acpi patched, kext and config.plist i am using in case you want to see it. 

 

Please would really appreciate your answer, I would need this laptop working for university. 

MacBook Jon Andoni ioreg.ioreg

I worked so much on this machine, everything works, even keyboard backlight shortcuts and trackpad multitouch :D

here it is....

Have fun and let me know (removed smbios part from config)

EFI.7z

Edited by JahStories
Link to comment
Share on other sites

 Share

×
×
  • Create New...