Contribute
Register

[Guide] Lenovo Z50-70/Z40-70/G50-70/G40-70 using Clover UEFI

Status
Not open for further replies.

the-braveknight

Moderator
Joined
Nov 24, 2015
Messages
1,220
Motherboard
Lenovo Legion Y520 (Clover)
CPU
i7-7700HQ
Graphics
HD 630 (1920x1080) + Nvidia GTX 1060
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Ok sorry for that,i didn't notice that issue, i will check if it is present on my laptop without the patch.

It is possible that the real issue is caused by wrong/invalid data in my CX20751/2 AppleHDA files. I have checked them again and again but I couldn't find where the issue is. I patched AppleHDA from scratch and made sure all PinConfig data is correct but the issue is still there. What the patch really does is that it renames 'ispk' (internal speaker) to 'imic' (internal mic) in AppleHDA binary which is a weird workaround, but it does fix the issue.
 

Sniki

Moderator
Joined
Jan 5, 2016
Messages
2,313
Motherboard
HP Elite 8300 SFF
CPU
i7-3770
Graphics
HD 3000 | GTX 1650 LP
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
It is possible that the real issue is caused by wrong/invalid data in my CX20751/2 AppleHDA files. I have checked them again and again but I couldn't find where the issue is. I patched AppleHDA from scratch and made sure all PinConfig data is correct but the issue is still there. What the patch really does is that it renames 'ispk' (internal speaker) to 'imic' (internal mic) in AppleHDA binary which is a weird workaround, but it does fix the issue.
I will test myself and give you feedback about this on evening as im at work right now.
I do believe that im not affected by this issue.
My only difference is that i use the Rehabman kext creator script and use the variant where config data,layout,etc is on the kext info.plist, not on the ssdt.
It might be that the method i used isn't affected.
Will test and confirm that.
 
Joined
Nov 16, 2015
Messages
212
Motherboard
Lenovo G50-70-Clover
CPU
i5-4210U
Graphics
HD 4400 1920x1080
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. Android
Please run all the repo scripts again and report back with new PR files.
Done but still no audio...

Edit: found this in dmesg output

Change trust on
process name coreaudiod (pid 972)
+ IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0)
+- IOAudioEngineUserClient[<ptr>]::setOnline(0)
ConnectionID:0xe842433d
- IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns 1
+- IOAudioEngineUserClient::withAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns <ptr>
+ IOAudioEngine::addUserClientAction(<ptr>, <ptr>)
+- IOAudioEngine[<ptr>]::addUserClient(<ptr>) returns 0x0
- IOAudioEngine::addUserClientAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x0, <ptr>)
+-IOAudioEngine[<ptr>]::getStatusDescriptor()
- IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x1000, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerFormatNotification(0x<ptr>, 0x21) returns 0x0
- IOAudioEngineUserClient::registerNotificationAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerNotificationPort(0x<ptr>, 0x0, 0x21) returns 0x0
+ IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0)
+- IOAudioEngineUserClient[<ptr>]::setOnline(0)
ConnectionID:0xe99998ed
- IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns 1
+- IOAudioEngineUserClient::withAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns <ptr>
+ IOAudioEngine::addUserClientAction(<ptr>, <ptr>)
+- IOAudioEngine[<ptr>]::addUserClient(<ptr>) returns 0x0
- IOAudioEngine::addUserClientAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x0, <ptr>)
+-IOAudioEngine[<ptr>]::getStatusDescriptor()
- IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x1000, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerFormatNotification(0x<ptr>, 0x2c) returns 0x0
- IOAudioEngineUserClient::registerNotificationAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerNotificationPort(0x<ptr>, 0x0, 0x2c) returns 0x0
+- IOAudioEngine[<ptr>]::removeUserClient(<ptr>) returns 0x0
+- IOAudioEngine::removeUserClientAction(<ptr>, <ptr>) returns 0x0
+- IOAudioEngine[<ptr>]::clientClosed(<ptr>)
+- IOAudioEngineUserClient[<ptr>]::clientDied() returns 0x0
+- IOAudioEngineUserClient[<ptr>]::stop(<ptr>)
+- IOAudioEngine[<ptr>]::removeUserClient(<ptr>) returns 0x0
+- IOAudioEngine::removeUserClientAction(<ptr>, <ptr>) returns 0x0
+- IOAudioEngine[<ptr>]::clientClosed(<ptr>)
+- IOAudioEngineUserClient[<ptr>]::clientDied() returns 0x0
+- IOAudioEngineUserClient[<ptr>]::stop(<ptr>)
Change trust on
process name >> N/A << (pid 972)
revoking trust for process 972
 

Attachments

  • ProblemReporting.zip
    3 MB · Views: 129
Last edited:
Joined
Feb 5, 2011
Messages
94
Motherboard
GA-Z87X-UD5 TH
CPU
i5-4460
Graphics
HD4600
Mobile Phone
  1. iOS
What information should I get from HW Monitor app? Right now I only have temperature of SSD and Battery Status of my BT mouse and the battery of the Laptop. Should I also get CPU Temperature?
 

the-braveknight

Moderator
Joined
Nov 24, 2015
Messages
1,220
Motherboard
Lenovo Legion Y520 (Clover)
CPU
i7-7700HQ
Graphics
HD 630 (1920x1080) + Nvidia GTX 1060
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Done but still no audio...

Edit: found this in dmesg output

Change trust on
process name coreaudiod (pid 972)
+ IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0)
+- IOAudioEngineUserClient[<ptr>]::setOnline(0)
ConnectionID:0xe842433d
- IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns 1
+- IOAudioEngineUserClient::withAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns <ptr>
+ IOAudioEngine::addUserClientAction(<ptr>, <ptr>)
+- IOAudioEngine[<ptr>]::addUserClient(<ptr>) returns 0x0
- IOAudioEngine::addUserClientAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x0, <ptr>)
+-IOAudioEngine[<ptr>]::getStatusDescriptor()
- IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x1000, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerFormatNotification(0x<ptr>, 0x21) returns 0x0
- IOAudioEngineUserClient::registerNotificationAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerNotificationPort(0x<ptr>, 0x0, 0x21) returns 0x0
+ IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0)
+- IOAudioEngineUserClient[<ptr>]::setOnline(0)
ConnectionID:0xe99998ed
- IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns 1
+- IOAudioEngineUserClient::withAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns <ptr>
+ IOAudioEngine::addUserClientAction(<ptr>, <ptr>)
+- IOAudioEngine[<ptr>]::addUserClient(<ptr>) returns 0x0
- IOAudioEngine::addUserClientAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x0, <ptr>)
+-IOAudioEngine[<ptr>]::getStatusDescriptor()
- IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x1000, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerFormatNotification(0x<ptr>, 0x2c) returns 0x0
- IOAudioEngineUserClient::registerNotificationAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerNotificationPort(0x<ptr>, 0x0, 0x2c) returns 0x0
+- IOAudioEngine[<ptr>]::removeUserClient(<ptr>) returns 0x0
+- IOAudioEngine::removeUserClientAction(<ptr>, <ptr>) returns 0x0
+- IOAudioEngine[<ptr>]::clientClosed(<ptr>)
+- IOAudioEngineUserClient[<ptr>]::clientDied() returns 0x0
+- IOAudioEngineUserClient[<ptr>]::stop(<ptr>)
+- IOAudioEngine[<ptr>]::removeUserClient(<ptr>) returns 0x0
+- IOAudioEngine::removeUserClientAction(<ptr>, <ptr>) returns 0x0
+- IOAudioEngine[<ptr>]::clientClosed(<ptr>)
+- IOAudioEngineUserClient[<ptr>]::clientDied() returns 0x0
+- IOAudioEngineUserClient[<ptr>]::stop(<ptr>)
Change trust on
process name >> N/A << (pid 972)
revoking trust for process 972
No idea really... everything looks OK to me. Maybe @RehabMan can take a look when he's back...
 
Joined
Jun 15, 2018
Messages
17
Motherboard
Lenovo Z50-70
CPU
Intel Core i5 4210U
Graphics
Intel HD Graphics 4400, Nvidia GeForce 820M
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
So, I updated my Z50-70 to Mojave Public Beta. To my surprise, everything worked as it worked on High Seirra.
The only thing that wasn't working on Mojave was AppleHDA.
Solution:
Everything's inside the zip.
This fix works everytime for me. Maybe you can give it a try too.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,805
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Done but still no audio...

Edit: found this in dmesg output

Change trust on
process name coreaudiod (pid 972)
+ IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0)
+- IOAudioEngineUserClient[<ptr>]::setOnline(0)
ConnectionID:0xe842433d
- IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns 1
+- IOAudioEngineUserClient::withAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns <ptr>
+ IOAudioEngine::addUserClientAction(<ptr>, <ptr>)
+- IOAudioEngine[<ptr>]::addUserClient(<ptr>) returns 0x0
- IOAudioEngine::addUserClientAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x0, <ptr>)
+-IOAudioEngine[<ptr>]::getStatusDescriptor()
- IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x1000, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerFormatNotification(0x<ptr>, 0x21) returns 0x0
- IOAudioEngineUserClient::registerNotificationAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerNotificationPort(0x<ptr>, 0x0, 0x21) returns 0x0
+ IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0)
+- IOAudioEngineUserClient[<ptr>]::setOnline(0)
ConnectionID:0xe99998ed
- IOAudioEngineUserClient[<ptr>]::initWithAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns 1
+- IOAudioEngineUserClient::withAudioEngine(<ptr>, 0x<ptr>, <ptr>, 0x0, 0) returns <ptr>
+ IOAudioEngine::addUserClientAction(<ptr>, <ptr>)
+- IOAudioEngine[<ptr>]::addUserClient(<ptr>) returns 0x0
- IOAudioEngine::addUserClientAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngine[<ptr>]::newUserClient(0x<ptr>, <ptr>, 0x0, 0, <ptr>)
+ IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x0, <ptr>)
+-IOAudioEngine[<ptr>]::getStatusDescriptor()
- IOAudioEngineUserClient[<ptr>]::clientMemoryForType(0x0, 0x1000, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerFormatNotification(0x<ptr>, 0x2c) returns 0x0
- IOAudioEngineUserClient::registerNotificationAction(<ptr>, <ptr>) returns 0x0
- IOAudioEngineUserClient[<ptr>]::registerNotificationPort(0x<ptr>, 0x0, 0x2c) returns 0x0
+- IOAudioEngine[<ptr>]::removeUserClient(<ptr>) returns 0x0
+- IOAudioEngine::removeUserClientAction(<ptr>, <ptr>) returns 0x0
+- IOAudioEngine[<ptr>]::clientClosed(<ptr>)
+- IOAudioEngineUserClient[<ptr>]::clientDied() returns 0x0
+- IOAudioEngineUserClient[<ptr>]::stop(<ptr>)
+- IOAudioEngine[<ptr>]::removeUserClient(<ptr>) returns 0x0
+- IOAudioEngine::removeUserClientAction(<ptr>, <ptr>) returns 0x0
+- IOAudioEngine[<ptr>]::clientClosed(<ptr>)
+- IOAudioEngineUserClient[<ptr>]::clientDied() returns 0x0
+- IOAudioEngineUserClient[<ptr>]::stop(<ptr>)
Change trust on
process name >> N/A << (pid 972)
revoking trust for process 972
No idea really... everything looks OK to me. Maybe @RehabMan can take a look when he's back...

Is this a fresh install?
 
Status
Not open for further replies.
Top