Jump to content
🎉 [ IMPORTANT ] Premium and Donators users 🎉 ×

Asus Vivobook N580VD


Denisuu

Recommended Posts

Hi! 

Just a lot of info below, you can ignore it if you don't need it.

Sleep: I tried to set all GPRW values '(GWRP (0X0D, Zero))' under GLAN,  XHC, XDCI, HDAS in DSDT. Because some were showing up as wake reasons with the command:

 log show --style syslog | fgrep "Wake reason". 
 
 2020-08-30 17:25:18.577275+0200  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PWRB GLAN XDCI (User)

Sleep behaviour before GPRW patches: I click sleep > Fans start spinning fast and display goes black > After 2,5 min the display-backlight, keyboard-lights go and fans turn off > 2 seconds later the laptop wakes to black screen and repeats this cycle. 

Sleep behaviour after GPRW patches: I click sleep > Fans start spinning fast for 2,5min > Laptop goes to sleep > I press the power button  > Laptop wakes but displays stay black. even with igfxonln=1 boot arg does it nothing. I don't actually know what I'm doing so it might be better someone else had a look at this.

There's no option to disable Wake On Lan in BIOS (not even after unlocking hidden features).

 

ELAN1200 Trackpad: We have to use polling-mode because we can't use 0x47 as a hex pin because the DSDT is bugged. Or better the GPIO implementation is bugged. Our APIC PIN is 5f, which corresponds to decimal pin GPIO pin 71 (0x47 in hex)). Hopefully this can be solved so interrupts can be used.

Without DSDT.aml trackpad works, but is not showing in settings. (DSDT.aml currently only has patches for AsusSMC/FN Keys to work)

Function Keys: They work completely by patching DSDT with AsusSMC:

# Asus SMC repo:
[als] Fake ALS, 
[kbl] Kaby Lake/Kaby Lake-R 

# Keyboard light:

into method label _Q0E replace_content
begin
// Brightness Down\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0405)\n
end;
into method label _Q0F replace_content
begin
// Brightness Up\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0406)\n
end;

HDMI Hot-plug problem: When HDMI is plugged in on boot the built-in display goes black and can't be turned on until the machine is rebooted with the HDMI cables unplugged. This problem existed in Clover too. I stopped caring because I'm using a USB-C Docking station as a workaround. <- Would be nice to have, not a priority.

Internal SD card reader: Not working. HS07 Device: USB2.0-CRW ( Product ID: 0x0129, Vendor ID: 0x0bda) <- Would be nice to have, not a priority.

 

Extra info: 

I'm also not sure why GFX0 is still showing under IOreg, the SSDT-dGPU-Off.aml has the right address. Are both the SSDT and wegnoegpu boot parameter required?

Clover EFI can be found here: Clover EFI

Patches I had while I was using Clover.

#Rehabman Repo:
[bat] ASUS N55SL/VivoBook
[gfx0] Disable from _REG (DSDT)
[gfx0] disable/enable on _WAK/_PTS
[igpu] Rename GFX0 to IGPU
[sys] AC Adapter fIX
[sys] Rename _DSM methods to XDSM
[sys] Add IMEI
[sys] Fix _WAK Arg0 v2
[sys] Fix Mutex with non-zero SyncLevel
[sys] HPET Fix
[sys] IRQ Fix
[sys] OS Check Fix (Windows 10)
[sys] RTC Fix
[sys] SMBUS Fix
[sys] 7-series/8-series USB
[sys] USB3 _PWR 0x6D Skylake (instant wake)

#AsusSMC repo
[als] Fake ALS
[kbl] Kaby Lake/Kaby Lake-R

#Custom:
FnBrightnessKeys

Take your time, there's no rush! Thanks in advance! 

 

Send me MacOS-N580VD.zip

Link to comment
Share on other sites

  • Administrators

DSDT.aml.zip

USE THIS DSDT, reboot and save one ioreg

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

  • Administrators

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

  • Administrators
8 hours ago, Denisuu said:

Out of curiosity, can I ask how you solved sleep? What was causing the problem?

just kill _prws and some no used devices. apple have a very custom tables, our tables chipset 300 for examp´le have a 60k lines, same chipset from apple have a 8k lines. we have many trashes in ur tables, trashes for windows ;) 

save one ioreg, i see ur trackpad full load. i think ur trackpad is a famous bug, just work after sleep

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

Ok interesting! Also the HDMI on boot issue is solved!!! You can't imagine how much time I've spent trying to solve that... THANK YOU! Can I ask what the solution was? 

I added this patch to DSDT, keyboard brightness up/down works too now! 

into method label _Q0E replace_content
begin
// Brightness Down\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0405)\n
end;
into method label _Q0F replace_content
begin
// Brightness Up\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0406)\n
end;

Trackpad doesn't do anything unless I remove the DSDT. Do I need to use other kexts? You think there's any chance it will ever work with interrupts? The annoying thing with polling is that it stops working randomly.

 

On 8/31/2020 at 4:06 PM, MaLd0n said:

i see ur trackpad full load. i think ur trackpad is a famous bug, just work after sleep

The trackpad always worked on Clover and it was always visible in settings. Just sometimes it stopped working for a minute or so.

DSDT.aml

Edited by Denisuu
Link to comment
Share on other sites

  • Administrators
1 hour ago, Denisuu said:

The trackpad always worked on Clover and it was always visible in settings. Just sometimes it stopped working for a minute or so.

this ioreg extract with clover?

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

On 8/31/2020 at 7:51 PM, MaLd0n said:

this ioreg extract with clover?

No, it's from OpenCore with your patched DSDT.

Edit1: I switched to a bigger SDD.

I had to remove the DSDT.aml to reinstall Catalina, the installer got stuck here and gave me a 🚫  symbol. After installing Catalina I was able to use your DSDT, everything works except trackpad. Since the 'BootLog.txt' in the 'SendMe.7z' is empty I took a picture.

spacer.png

Send me Mac.7z Mac.ioreg.7z

Edited by Denisuu
Link to comment
Share on other sites

  • Administrators

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

  • Administrators

ye. have some hard bug

i think now if u put hack in sleep after wake trackpad work

is a famous bug in some asus laptop

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

It seems to a problem for all ASUS Kaby Lake laptops with ELAN1200.

It doesn't work before or after sleep, it never works until I remove the DSDT, when I remove it it works in polling mode but doesn't show in settings. I just don't understand why it was working in clover under polling mode but it's not working with OpenCore. You have any more idea's?

Else I'll try to report an issue on the VoodooI2C Github.

Thanks Mald0n for the help!

NV580VD-Clover_r5121_Debug_26AUG2020.zip

Edited by Denisuu
Link to comment
Share on other sites

  • Administrators

last bios/uefi version?

 

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

I opened a ticket on VoodooI2C. They discourage to statically patch ACPI. The Dortania OpenCore guide also advised against it. I know I'm asking a lot but would it be possible to turn these patches into SSDT's? With the EFI in attachment trackpad works, it just doesn't show in settings which is ok for now. I think except the patches below work fine.

SDDT:

  • Sleep patches
  • HDMI on boot patches
  • GFX0 still shows up in IOreg.
  • AsusSMC patches: [ALS] Fake ALS, [kbl] Kaby Lake/Kaby Lake-R, FnBrightnessKeys
  • _CRS to XCRS (As described on I2C Github issue).

https://github.com/VoodooI2C/VoodooI2C/issues/375

 

To be honest I'd would be happy with the fist 3.

N580VD - OC (SDDT 06SEP2020).zip

Link to comment
Share on other sites

  • Administrators

the idea of the ssdt appears in 2011/2012 with bcc9 and others, is for new people without any knowledge about that. ssdt is incomplete solution and ur case is rare.

the dsdt is a apple way. apple have a very custom tables.

one good example is a dsdt from imac19,1 chipset serie 300(coofeelake), from apple have a 8k lines, from one gigabyte mobo have a 60k lines. 52k lines with trashes for windows, unnused and problematic devices for osx.

opencore with a full dsdt patch is a really really good hack and these bootloaders support override

dortania don't create nothing, is just a compilation the tricks around the net about hackintosh

if u need use a hotpatch/ssdt, check DalianSky work. there have a full solution with ssdts and many renames.

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

I trust you, you seem really good at what you do! To be honest I'm happy to use the DSDT, it's been patched better than what I could achieve with SSDT's. It's just that without your patched DSDT trackpad works and shows in settings now. 

So theres still something preventing the trackpad from being loaded. (The Trackpad not showing up in settings was because SMCBatteryManager.kext was missing.)

spacer.png

I'm using this DSDT

Edited by Denisuu
Link to comment
Share on other sites

  • Administrators
2 hours ago, Denisuu said:

this DSDT

use it, reboot and save one ioreg

DSDT.teste.zip

send me original dsdt too

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

  • Administrators
1 hour ago, Denisuu said:

IOreg in attachment, Interrupts might not ever work I think.

DSDT.03.zip

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

  • Administrators

DSDT.aml.zip

Check if trackpad stay work and sleep

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites



×
×
  • Create New...