Jump to content

Asus K53SV-SX722D working with Mojave - DSDT fixes


badrianiulian
 Share

3 posts in this topic

Recommended Posts

Hello

I needed a checkup on my DSDT/SSDT patching and Clover configuration to move all clover patches into the DSDT

In the end I compared the working settings from the Clover generated "Pre-Edited DSDT" default in MaciASL with my patched DSDT and here are the steps I used

 

Used "RehabMan-MaciASL-2018-0507.zip\MaciASL.app\Contents\MacOS\iasl62" to decompile amls using "refs.txt"

 

In SSDTs:
I replaced GFX0 with IGPU in all SSDTs.
In SSDT-0-Cpu0Ist I removed bogus packages (can't remember what patch I used)

 

In DSDT:
First code for HD3000:

into device label GFX0 parent_label PCI0 set_label begin IGPU end;
into_all all code_regex PCI0\.GFX0 replaceall_matched begin PCI0.IGPU end;

 

OS-X-MaciASL-patchmatic repository patches:

Brightness fix HD3000/4000

HD3000 low resolution
Fix _PLD buffer/Package error
Fix *pnp/pnp lower case error
IRQ Fix
RTC Fix
HPET Fix

battery_ASUS-N55SL

Fix _WAK Arg0 v2

Shutdown Fix

Add IMEI

 

Manual replacement:
Replaced all EHC1 with EH01
Replaced all EHC2 with EH02
Replaced all UHC1 with USB1
Replaced all UHC2 with USB2
Replaced all UHC3 with USB3
Replaced all UHC4 with USB4
Replaced all UHC5 with USB5
Replaced all UHC6 with USB6
Replaced all UHC7 with USB7

 

Attached patches:
- DTGP.txt
- SMBUS.txt
- EHCI.txt
- LPC.txt
- UHCI.txt
- FN KEYS.txt

- USB30.txt


Notes (with issues):

EH02/PR21/HP22 > ASUS USB2.0 WebCam:
  Product ID:    idProduct    0xa014    40980
  Vendor ID:    idVendor    0x058f    1423  (Alcor Micro, Corp.)

EH02/PR21/HP24 > Realtek USB 2.0 Card Reader:
  Product ID:    idProduct    0x0139    313
  Vendor ID:    idVendor    0x0bda    3034

Webcam works with kinks and the card reader doesn't work at all. I will search another webcam but regarding the card reader I kind of tried everything I found.

 

I used the guide for USBInject.kext and created SSDT-UIAC.aml. This way the usb overcurrent events on the ports that were not present/used, stopped 

 

Kexts installed:

/Library/Extensions/ :
ACS6x.kext
AirPortAtheros40.kext (from High Sierra 10.13.6 - Fixed the replaced Atheros that used to work OOB in High Sierra)
AppleBacklightFixup.kext
AppleHDADisabler.kext
ApplePS2SmartTouchPad.kext (ApplePS2SmartTouchPad_v4.7.b5.zip - fixed Trackpad)
ArcMSR.kext
AsusNBFnKeys.kext
ATTOCelerityFC8.kext
ATTOExpressSASHBA2.kext
ATTOExpressSASRAID2.kext
CalDigitHDProDrv.kext
HighPointIOP.kext
HighPointRR.kext
Lilu.kext
mXHCD.kext (USB3.0)
Niresh's Extra.kext
PromiseSTEX.kext
RealtekRTL8111.kext (V2.2.2)
SMCBatteryManager.kext
SMCProcessor.kext
SoftRAID.kext
USBInjectAll.kext
VirtualSMC.kext
VoodooHDA.kext
VoodooPS2Controller.kext
VoodooTSCSync.kext
WhateverGreen.kext

EFI/CLOVER/kexts/Other/
AsusNBFnKeys.kext
Lilu.kext
VirtualSMC.kext
VoodooPS2Controller.kext
WhateverGreen.kext

kextstat | grep -v com.apple
Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>
   16    8 0xffffff7f80c48000 0x23000    0x23000    as.vit9696.Lilu (1.3.7) 2C5C4285-57D3-3365-A8A0-9AB7DD92C390 <8 6 5 3 2 1>
   17    0 0xffffff7f80c6b000 0x3000     0x3000     org.syscl.EnableLidWake (4.0.2) 00DCA717-1917-301F-9164-83C4079E3364 <16 8 6 5 3 2 1>
   19    0 0xffffff7f80f73000 0x3000     0x3000     com.hieplpvip.AppleBacklightFixup (1.0.2) 364D711A-CCC3-3CE3-B9CC-AE9F283A7DBA <16 8 6 5 3 2 1>
   20    0 0xffffff7f80ff5000 0x4000     0x4000     com.rehabman.driver.USBInjectAll (0.7.1) A5767EA0-3760-3131-B996-28EE85139CF5 <13 12 5 3>
   21    3 0xffffff7f80df3000 0x12000    0x12000    as.vit9696.VirtualSMC (1.0.6) BD17B77E-5891-37D2-BF8F-8BE6A6C95B4A <16 12 8 6 5 3 2 1>
   23    0 0xffffff7f8155e000 0xc000     0xc000     ru.usrsse2.SMCBatteryManager (1) 1AAA4CDB-4A8D-3287-B38B-8E94827A8A9F <22 21 16 12 8 6 5 3 2 1>
   24    0 0xffffff7f81593000 0x67000    0x67000    as.vit9696.WhateverGreen (1.3.0) 2281A12E-A7C3-3968-BA4A-64D60CBA9AA6 <16 13 8 6 5 3 2 1>
   25    0 0xffffff7f81933000 0x5000     0x5000     as.lvs1974.HibernationFixup (1.2.6) 94794BCF-9543-37A4-8AE9-E1A78585FEB4 <16 8 6 5 3 2 1>
   47    0 0xffffff7f80ffb000 0x5000     0x5000     as.vit9696.SMCProcessor (1.0.6) A0556E2D-4AC5-34ED-9452-DF2FA87D198E <21 16 12 8 6 5 3 2 1>
   53    0 0xffffff7f80c6f000 0x2000     0x2000     org.rehabman.driver.VoodooTSCSync (1.5.0) 440D31DE-A40E-3E2B-9F50-B0DCF1FCFF05 <8 5 3>
   60    2 0xffffff7f80e05000 0xb000     0xb000     org.emlydinesh.driver.ApplePS2Controller (4.6.8) 34755F6A-A94B-3B41-B7F9-E7E533789C8D <12 8 6 5 3 1>
   73    0 0xffffff7f80f70000 0x2000     0x2000     net.osrom.kext.Disabler (1.0.1) 7D158CD9-D1C2-6ADC-D896-2FD8E29CD4AD <5 3>
   76    0 0xffffff7f815fc000 0x8000     0x8000     ru.joedm.SMCSuperIO (1.0.6) F7F2208D-51DA-38BD-AE42-7C9BCF4AD3DE <21 16 12 8 6 5 3 2 1>
   78    0 0xffffff7f8152f000 0x1d000    0x1d000    com.mtk.driver.mXHCD (1.0.0) 39116B6E-1A00-38FB-A65B-C4D0C7C1FABB <77 13 8 6 5 3 1>
   79    0 0xffffff7f81604000 0x45000    0x45000    org.chucko.driver.RealtekR1000 (3.1.2) 2A803456-F570-3795-A3F9-85146AE591F8 <26 13 6 5 3 1>
   81    1 0xffffff7f80e12000 0xe000     0xe000     org.emlydinesh.driver.ApplePS2Keyboard (4.6.8) 8628ADB8-A873-3841-B155-70BFE0785990 <60 55 18 8 7 6 5 3 1>
  110    0 0xffffff7f80e20000 0x19000    0x19000    org.emlydinesh.driver.ApplePS2SmartTouchPad (4.6.8) A74A8258-9468-3FBE-A2C4-EBFA28487044 <81 60 55 18 8 7 6 5 3 1>
  117    0 0xffffff7f80de5000 0x7000     0x7000     org.emlydinesh.driver.AsusNBFnKeys (2.3.5) 8D59EC7F-62E0-3260-88AE-286A0EAD553A <55 18 12 8 7 6 5 3 1>
  123    0 0xffffff7f80fee000 0x4000     0x4000     com.intel.driver.EnergyDriver (3.5.5) 80256914-DED1-317B-9311-300A286F8072 <8 6 5 3>
  124    0 0xffffff7f81775000 0x29000    0x29000    org.voodoo.driver.VoodooHDA (2.9.2) no UUID <105 13 8 6 5 3>

Used "Fix Graphics HD 3000 Mojave-10.14.zip" package that installed some frameworks along with some Intel HD 3000 Kexts.

I only get a  line across the screen once in a while... otherwise all looks good.

Sleep works in this configuration.
 

#Set Power State 3 for Nvidia Chip
into method label _INI parent_label \_SB.PCI0.PEGR.GFX0 replace_content begin _PS3() end;

 

Insert after Device (LID) for power button to work properly:
        Device (PWRB)
        {
            Name (_HID, EisaId ("PNP0C0C"))  // _HID: Hardware ID
            Name (_UID, 0xAA)  // _UID: Unique ID
            Name (_STA, 0x0B)  // _STA: Status
        }
 

After I enabled CPU power management using " ssdtPRGen.sh -p 'i7-2630QM' ", the freezes that happened every once in a while seem to have stoped.

Also ssdtPRGen.sh is from git master branch (easier) and not from beta.

 

 

 

 

 

ASUS K53SV-SX722D.zip

Edited by badrianiulian
Fixed USB30 Restart instead of Shutdown
Link to comment
Share on other sites

  • 5 months later...
  • 1 month later...

Hi Badrianiulian, lets ask me all the kexts and folders necessary to run my k53sv, the hardware is the same as yours.  I don't know about computer science, I just broke down Yosemite that I could install thanks to the "EXTRA" folder that I downloaded from someone else.  Now I try to make the jump to Mojave trying thousands of things and I can't finish the job.  I have managed to boot from the PC but all is missing, sound, sleep, USB3.0, screen light .... If you could help me with the necessary files and folders I would be very grateful.  Thanks in advance.

Link to comment
Share on other sites

 Share

×
×
  • Create New...