Contribute
Register

[Help] Asus R540LJ Big Sur trackpad and wifi problem

Joined
Jul 22, 2021
Messages
7
Motherboard
Asus R540LJ laptop
CPU
i5-5200U
Graphics
GT 920M/HD 5500
Mobile Phone
  1. Android
So i grabbed the efi from user named Vejtarn from his post, he has nearly the same specs so i thought it might just work. Though when booted trackpad and wifi card wouldnt work, of course i added the kexts to the config.plist and edited wifi card properties in system properties. Any help apreciated!

Wifi card: Atheros AR9565
Touchpad: ELAN 1100 (I2C)
 

Attachments

  • EFI.zip
    12 MB · Views: 29

Feartech

Moderator
Joined
Aug 3, 2013
Messages
23,541
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
So i grabbed the efi from user named Vejtarn from his post, he has nearly the same specs so i thought it might just work. Though when booted trackpad and wifi card wouldnt work, of course i added the kexts to the config.plist and edited wifi card properties in system properties. Any help apreciated!

Wifi card: Atheros AR9565
Touchpad: ELAN 1100 (I2C)
using a DSDT from another laptop is wrong

also shouldn't use a DSDT with openCore
 
Joined
Jul 22, 2021
Messages
7
Motherboard
Asus R540LJ laptop
CPU
i5-5200U
Graphics
GT 920M/HD 5500
Mobile Phone
  1. Android
using a DSDT from another laptop is wrong

also shouldn't use a DSDT with openCore
eh i know but everything i tried failed when making my own efi, so i went by the easy way
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
23,541
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
eh i know but everything i tried failed when making my own efi, so i went by the easy way
oh i see, but using a DSDT from another laptop is not easy as it will cause you more issues
 
Joined
Jul 22, 2021
Messages
7
Motherboard
Asus R540LJ laptop
CPU
i5-5200U
Graphics
GT 920M/HD 5500
Mobile Phone
  1. Android
oh i see, but using a DSDT from another laptop is not easy as it will cause you more issues
well ill try doing my own ssdts, if it doesnt work ill try from scratch again
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
23,541
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
eh i know but everything i tried failed when making my own efi, so i went by the easy way
not sure why you are using voodoohda and applealc for?

Brcm* kexts have no bearing on your wifi card

USBPorts.kext is something you have to create yourself on your own laptop

AsusNBFnKeys.kext has been superseded with AsusSMC.kext

you will have to patch for your own trackpad or check over:
https://dortania.github.io/Getting-Started-With-ACPI/Laptops/trackpad-methods/manual.html

pretty much all of this will have to be re generated using hackintool for your own system:
Code:
<key>Add</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x0,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,0,0</string>
                <key>device_type</key>
                <string>Host bridge</string>
                <key>model</key>
                <string>Broadwell-U Host Bridge -OPI</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x14,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,20,0</string>
                <key>device_type</key>
                <string>USB controller</string>
                <key>model</key>
                <string>Wildcat Point-LP USB xHCI Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x16,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,22,0</string>
                <key>device_type</key>
                <string>Communication controller</string>
                <key>model</key>
                <string>Wildcat Point-LP MEI Controller #1</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1B,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,27,0</string>
                <key>device_type</key>
                <string>Audio device</string>
                <key>layout_id</key>
                <data>AwAAAA==</data>
                <key>model</key>
                <string>Wildcat Point-LP High Definition Audio Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,0</string>
                <key>device_type</key>
                <string>PCI bridge</string>
                <key>model</key>
                <string>Wildcat Point-LP PCI Express Root Port #1</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x2)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,2</string>
                <key>device_type</key>
                <string>PCI bridge</string>
                <key>model</key>
                <string>Wildcat Point-LP PCI Express Root Port #3</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x2)/Pci(0x0,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,2/0,0</string>
                <key>device_type</key>
                <string>Ethernet controller</string>
                <key>model</key>
                <string>RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x3)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,3</string>
                <key>device_type</key>
                <string>PCI bridge</string>
                <key>model</key>
                <string>Wildcat Point-LP PCI Express Root Port #4</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x3)/Pci(0x0,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,3/0,0</string>
                <key>device_type</key>
                <string>Network controller</string>
                <key>model</key>
                <string>Atheros AR9565 WiFi Card</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x4)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,4</string>
                <key>device_type</key>
                <string>PCI bridge</string>
                <key>model</key>
                <string>Wildcat Point-LP PCI Express Root Port #5</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1F,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,31,0</string>
                <key>device_type</key>
                <string>ISA bridge</string>
                <key>model</key>
                <string>Wildcat Point-LP LPC Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1F,0x2)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,31,2</string>
                <key>device_type</key>
                <string>SATA controller</string>
                <key>model</key>
                <string>Wildcat Point-LP SATA Controller [AHCI Mode]</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,31,3</string>
                <key>device_type</key>
                <string>SMBus</string>
                <key>model</key>
                <string>Wildcat Point-LP SMBus Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>BgAmFg==</data>
                <key>AAPL,slot-name</key>
                <string>Internal@0,2,0</string>
                <key>device_type</key>
                <string>VGA compatible controller</string>
                <key>framebuffer-con0-busid</key>
                <data>AAAAAA==</data>
                <key>framebuffer-con0-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con0-flags</key>
                <data>MAIAAA==</data>
                <key>framebuffer-con0-index</key>
                <data>AAAAAA==</data>
                <key>framebuffer-con0-pipe</key>
                <data>CAAAAA==</data>
                <key>framebuffer-con0-type</key>
                <data>AgAAAA==</data>
                <key>framebuffer-con1-busid</key>
                <data>BQAAAA==</data>
                <key>framebuffer-con1-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con1-flags</key>
                <data>BwUAAA==</data>
                <key>framebuffer-con1-index</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con1-pipe</key>
                <data>CwAAAA==</data>
                <key>framebuffer-con1-type</key>
                <data>EAAAAA==</data>
                <key>framebuffer-con2-busid</key>
                <data>BAAAAA==</data>
                <key>framebuffer-con2-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con2-flags</key>
                <data>BwUAAA==</data>
                <key>framebuffer-con2-index</key>
                <data>AgAAAA==</data>
                <key>framebuffer-con2-pipe</key>
                <data>CwAAAA==</data>
                <key>framebuffer-con2-type</key>
                <data>AAgAAA==</data>
                <key>framebuffer-con3-busid</key>
                <data>AAAAAA==</data>
                <key>framebuffer-con3-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con3-flags</key>
                <data>QAAAAA==</data>
                <key>framebuffer-con3-index</key>
                <data>/////w==</data>
                <key>framebuffer-con3-pipe</key>
                <data>AAAAAA==</data>
                <key>framebuffer-con3-type</key>
                <data>AQAAAA==</data>
                <key>framebuffer-fbmem</key>
                <data>AACQAA==</data>
                <key>framebuffer-patch-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-stolenmem</key>
                <data>AAAwAQ==</data>
                <key>framebuffer-unifiedmem</key>
                <data>AAAAgA==</data>
                <key>model</key>
                <string>Intel HD Graphics 5500</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x3,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,3,0</string>
                <key>device_type</key>
                <string>Audio device</string>
                <key>model</key>
                <string>Broadwell-U Audio Controller</string>
            </dict>

try replacing FakeSMC and all those sensors and ACPIBatteryManager kext with VirtualSMC and SMCBatteryManager.kext

lilu.kext should be first on your list in your config.plist
 
Joined
Jul 22, 2021
Messages
7
Motherboard
Asus R540LJ laptop
CPU
i5-5200U
Graphics
GT 920M/HD 5500
Mobile Phone
  1. Android
not sure why you are using voodoohda and applealc for?

Brcm* kexts have no bearing on your wifi card

USBPorts.kext is something you have to create yourself on your own laptop

AsusNBFnKeys.kext has been superseded with AsusSMC.kext

you will have to patch for your own trackpad or check over:
https://dortania.github.io/Getting-Started-With-ACPI/Laptops/trackpad-methods/manual.html

pretty much all of this will have to be re generated using hackintool for your own system:
Code:
<key>Add</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x0,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,0,0</string>
                <key>device_type</key>
                <string>Host bridge</string>
                <key>model</key>
                <string>Broadwell-U Host Bridge -OPI</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x14,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,20,0</string>
                <key>device_type</key>
                <string>USB controller</string>
                <key>model</key>
                <string>Wildcat Point-LP USB xHCI Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x16,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,22,0</string>
                <key>device_type</key>
                <string>Communication controller</string>
                <key>model</key>
                <string>Wildcat Point-LP MEI Controller #1</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1B,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,27,0</string>
                <key>device_type</key>
                <string>Audio device</string>
                <key>layout_id</key>
                <data>AwAAAA==</data>
                <key>model</key>
                <string>Wildcat Point-LP High Definition Audio Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,0</string>
                <key>device_type</key>
                <string>PCI bridge</string>
                <key>model</key>
                <string>Wildcat Point-LP PCI Express Root Port #1</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x2)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,2</string>
                <key>device_type</key>
                <string>PCI bridge</string>
                <key>model</key>
                <string>Wildcat Point-LP PCI Express Root Port #3</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x2)/Pci(0x0,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,2/0,0</string>
                <key>device_type</key>
                <string>Ethernet controller</string>
                <key>model</key>
                <string>RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x3)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,3</string>
                <key>device_type</key>
                <string>PCI bridge</string>
                <key>model</key>
                <string>Wildcat Point-LP PCI Express Root Port #4</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x3)/Pci(0x0,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,3/0,0</string>
                <key>device_type</key>
                <string>Network controller</string>
                <key>model</key>
                <string>Atheros AR9565 WiFi Card</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1C,0x4)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,4</string>
                <key>device_type</key>
                <string>PCI bridge</string>
                <key>model</key>
                <string>Wildcat Point-LP PCI Express Root Port #5</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1F,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,31,0</string>
                <key>device_type</key>
                <string>ISA bridge</string>
                <key>model</key>
                <string>Wildcat Point-LP LPC Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1F,0x2)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,31,2</string>
                <key>device_type</key>
                <string>SATA controller</string>
                <key>model</key>
                <string>Wildcat Point-LP SATA Controller [AHCI Mode]</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,31,3</string>
                <key>device_type</key>
                <string>SMBus</string>
                <key>model</key>
                <string>Wildcat Point-LP SMBus Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>BgAmFg==</data>
                <key>AAPL,slot-name</key>
                <string>Internal@0,2,0</string>
                <key>device_type</key>
                <string>VGA compatible controller</string>
                <key>framebuffer-con0-busid</key>
                <data>AAAAAA==</data>
                <key>framebuffer-con0-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con0-flags</key>
                <data>MAIAAA==</data>
                <key>framebuffer-con0-index</key>
                <data>AAAAAA==</data>
                <key>framebuffer-con0-pipe</key>
                <data>CAAAAA==</data>
                <key>framebuffer-con0-type</key>
                <data>AgAAAA==</data>
                <key>framebuffer-con1-busid</key>
                <data>BQAAAA==</data>
                <key>framebuffer-con1-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con1-flags</key>
                <data>BwUAAA==</data>
                <key>framebuffer-con1-index</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con1-pipe</key>
                <data>CwAAAA==</data>
                <key>framebuffer-con1-type</key>
                <data>EAAAAA==</data>
                <key>framebuffer-con2-busid</key>
                <data>BAAAAA==</data>
                <key>framebuffer-con2-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con2-flags</key>
                <data>BwUAAA==</data>
                <key>framebuffer-con2-index</key>
                <data>AgAAAA==</data>
                <key>framebuffer-con2-pipe</key>
                <data>CwAAAA==</data>
                <key>framebuffer-con2-type</key>
                <data>AAgAAA==</data>
                <key>framebuffer-con3-busid</key>
                <data>AAAAAA==</data>
                <key>framebuffer-con3-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con3-flags</key>
                <data>QAAAAA==</data>
                <key>framebuffer-con3-index</key>
                <data>/////w==</data>
                <key>framebuffer-con3-pipe</key>
                <data>AAAAAA==</data>
                <key>framebuffer-con3-type</key>
                <data>AQAAAA==</data>
                <key>framebuffer-fbmem</key>
                <data>AACQAA==</data>
                <key>framebuffer-patch-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-stolenmem</key>
                <data>AAAwAQ==</data>
                <key>framebuffer-unifiedmem</key>
                <data>AAAAgA==</data>
                <key>model</key>
                <string>Intel HD Graphics 5500</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x3,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,3,0</string>
                <key>device_type</key>
                <string>Audio device</string>
                <key>model</key>
                <string>Broadwell-U Audio Controller</string>
            </dict>

try replacing FakeSMC and all those sensors and ACPIBatteryManager kext with VirtualSMC and SMCBatteryManager.kext

lilu.kext should be first on your list in your config.plist
um this might sound dumb but i tried the trackpad guide and i dont know what to do because what i found in dsdt.dst is kinda complicated this is what i got:


Method (_STA, 0, NotSerialized) // _STA: Status { If ((GPMN == Zero)) { Return (Zero) } If (((OSYS == 0x07DC) && (SMD0 == One))) { Return (Zero) } If ((OSYS < 0x07DC)) { Return (Zero) } Return (0x0F) Return (0x0F) } } }

should i just set GPMN to "one", OSYS to something above 0x07DC and SMDO to "zero"? in the new SSDT of course
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
23,541
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
um this might sound dumb but i tried the trackpad guide and i dont know what to do because what i found in dsdt.dst is kinda complicated this is what i got:


Method (_STA, 0, NotSerialized) // _STA: Status { If ((GPMN == Zero)) { Return (Zero) } If (((OSYS == 0x07DC) && (SMD0 == One))) { Return (Zero) } If ((OSYS < 0x07DC)) { Return (Zero) } Return (0x0F) Return (0x0F) } } }

should i just set GPMN to "one", OSYS to something above 0x07DC and SMDO to "zero"? in the new SSDT of course
assuming your own DSDT? from your own laptop?
 
Joined
Jul 22, 2021
Messages
7
Motherboard
Asus R540LJ laptop
CPU
i5-5200U
Graphics
GT 920M/HD 5500
Mobile Phone
  1. Android
assuming your own DSDT? from your own laptop?
yes but i tried making my own efi, it wont boot again. can you look into it? sorry for the troubles
 

Attachments

  • EFI.zip
    13.3 MB · Views: 25

Feartech

Moderator
Joined
Aug 3, 2013
Messages
23,541
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Top