Contribute
Register

[Guide] ASUS Zenbook UX310UA (& UX310UQK) macOS Mojave / Catalina with Clover (& Big Sur / Monterey using OpenCore EFI) Installation Guide

Status
Not open for further replies.
Hello and thanks for the great guide!

Everything's working great except one small issue regarding sleep:

- external usb HDD's are improperly unmounted. I'm currently using a sleepwatcher script to unmount before sleep and mount at wake, but I'd like to know if there is a USB DSDT patch to prevent sleep from completely cutting the power from USB ports

I'm also not very sure wether ALS is working or not. I have the Auto set brightness checkbox in the Monitor PrefPane, but nothing happens if I uncheck it, se brightness to max, and check it back.

Attached are my dsl files and the patched aml's and here are the DSDT patches I applied:


"Fix _WAK Arg0 v2"
"HPET Fix"
"SMBUS Fix"
"IRQ Fix"
"RTC Fix"
"OS Check Fix"
"Fix Mutex with non-zero SyncLevel"
“Audio Layout 3” [audio]
“Asus N55SL/Vivobook” [bat]
“ALS (Haswell)” from Asus DSDT patches
“Fn Brightness Keys” from Asus DSDT patches
“KeyboardBacklight Patch 4”
“NullEthernet”
“Shutdown Fix v2”

Hi! In the Clover, config.plist there is a fix destination the path Devices => USB => AddClockID. The value is true or false. If you want to wake up from a USB mouse, put it here false. But be prepared that your computer will wake up spontaneously, for example from the built-in camera. Works on Desktop, Laptop did not check... ALS is not working on our laptops
 
Thank you very much for the response.

I guess I will keep using the sleep watcher script, which is apparently working well, and live without ALS...

I also have one last beginner question:

I'm waiting for a 1560 wireless adapter to replace the internal Intel. Once I swap wifi cards, do I have to re extract DSDT and SSDT's and repatch them?
 
Thank you very much for the response.

I guess I will keep using the sleep watcher script, which is apparently working well, and live without ALS...

I also have one last beginner question:

I'm waiting for a 1560 wireless adapter to replace the internal Intel. Once I swap wifi cards, do I have to re extract DSDT and SSDT's and repatch them?
yes, if you make any bios changes or hardware changes, you have to re extract new DSDT, SSDTs and then re patch them
 
I've updated the guide, reflecting the changes we had over time. Now touchpad is fully working with multitouch, and we don't have sleep/wake problems with it anymore, so there is no need to use that nasty script we used to "force reload" the trackpad every time the laptop goes on sleep. Also, audio is easier to "install", no need for an external app and no need to patch a system file.
 
I've added an M.2 SSD disk to this laptop (UX310UA) and I'm running Mac on it, using the sata disk as additional storage. Mac OS supports M.2 disks natively.
 
Just noticed that the laptop instantly wakes from sleep when connected to AC. On battery sleep works perfect.

Here's my pmset output on AC:

2018-07-10 10:53:24 +0200
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 0
NetworkClientActive 0
InternalPreventSleep 1
Listed by owning process:
pid 100(hidd): [0x00000017000980ae] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968091.3"
Timeout will fire in 3600 secs Action=TimeoutActionRelease
pid 55(powerd): [0x00000806000d8484] 00:00:05 InternalPreventSleep named: "PM configd - Wait for Device enumeration"
Assertion applied on Battery power also
pid 55(powerd): [0x00000806000d8485] 00:00:05 InternalPreventSleep named: "com.apple.powermanagement.acwakelinger"
Timeout will fire in 39 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
id=508 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14200000
id=511 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14700000 owner=IOUSBHostDevice
id=512 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14600000 owner=USB2.0 HD UVC WebCam
Idle sleep preventers: IODisplayWrangler

and on Battery:

2018-07-10 11:40:19 +0200
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 0
NetworkClientActive 0
Listed by owning process:
pid 100(hidd): [0x00000029000980cd] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968091.3"
Timeout will fire in 900 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
id=503 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14700000 owner=IOUSBHostDevice
id=504 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14200000
id=505 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14600000 owner=USB2.0 HD UVC WebCam
Idle sleep preventers: IODisplayWrangler
 
Last edited:
Just noticed that the laptop instantly wakes from sleep when connected to AC. On battery sleep works perfect.

Here's my pmset output on AC:

2018-07-10 10:53:24 +0200
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 0
NetworkClientActive 0
InternalPreventSleep 1
Listed by owning process:
pid 100(hidd): [0x00000017000980ae] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968091.3"
Timeout will fire in 3600 secs Action=TimeoutActionRelease
pid 55(powerd): [0x00000806000d8484] 00:00:05 InternalPreventSleep named: "PM configd - Wait for Device enumeration"
Assertion applied on Battery power also
pid 55(powerd): [0x00000806000d8485] 00:00:05 InternalPreventSleep named: "com.apple.powermanagement.acwakelinger"
Timeout will fire in 39 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
id=508 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14200000
id=511 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14700000 owner=IOUSBHostDevice
id=512 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14600000 owner=USB2.0 HD UVC WebCam
Idle sleep preventers: IODisplayWrangler

and on Battery:

2018-07-10 11:40:19 +0200
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 0
NetworkClientActive 0
Listed by owning process:
pid 100(hidd): [0x00000029000980cd] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968091.3"
Timeout will fire in 900 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
id=503 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14700000 owner=IOUSBHostDevice
id=504 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14200000
id=505 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14600000 owner=USB2.0 HD UVC WebCam
Idle sleep preventers: IODisplayWrangler
you need to upload your problem reporting files here

a list of files can be found here:

https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Here are the files.
 

Attachments

  • CLOVER.zip
    4.3 MB · Views: 195
  • MacBook Pro.ioreg.zip
    618.8 KB · Views: 178
  • Output Terminal.txt.zip
    1.7 KB · Views: 173
Here are the files.
you don't need all those aml in ACPI/patched, you may want to read up here: currently you should only have DSDT.aml and SSDT-PNLF.aml in there
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

you may want to implement this as well:
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/

and also read up on Disable Hibernation:
https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/
 
ok. Disabled hibernation and removed SSDT's except PNLF.aml, but still waking instantly from sleep on AC adapter.

I'm assuming I have to go through the USBInjectAll process, and possibly do it right.

Thanks for the help so far! I'll let you know if I succeed
 
Status
Not open for further replies.
Back
Top