Justin Spier Posted November 12, 2018 Share Posted November 12, 2018 I don't know where am I wrong ... This is the ioreg output of each kext + SSDT-HDEF + config.plist and also the output of kextstat: drewsmac:~ drew$ sudo kextstat | grep -y "AppleALC" 38 0 0xffffff7f8382e000 0xe0000 0xe0000 as.vit9696.AppleALC (1.3.4) B903CE63-042D-37EA-B062-6826610DF5FB <37 13 8 6 5 3 2 1> drewsmac:~ drew$ sudo kextstat | grep -y "AppleHDA" 116 1 0xffffff7f832b0000 0x1d000 0x1d000 com.apple.driver.AppleHDAController (282.10) 41CE33FB-FED7-36D3-A3DF-03B036329B10 <115 104 83 13 8 7 6 5 3 1> 147 0 0xffffff7f8342f000 0xb7000 0xb7000 com.apple.driver.AppleHDA (282.10) 9BB2B0F6-EDD8-397A-9EBB-05508910C3EC <146 116 115 110 104 83 7 6 5 3 1> drewsmac:~ drew$ troubleshooting.zip Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 12, 2018 Share Posted November 12, 2018 58 minutes ago, Justin Spier said: I don't know where am I wrong ... This is the ioreg output of each kext + SSDT-HDEF + config.plist and also the output of kextstat: drewsmac:~ drew$ sudo kextstat | grep -y "AppleALC" 38 0 0xffffff7f8382e000 0xe0000 0xe0000 as.vit9696.AppleALC (1.3.4) B903CE63-042D-37EA-B062-6826610DF5FB <37 13 8 6 5 3 2 1> drewsmac:~ drew$ sudo kextstat | grep -y "AppleHDA" 116 1 0xffffff7f832b0000 0x1d000 0x1d000 com.apple.driver.AppleHDAController (282.10) 41CE33FB-FED7-36D3-A3DF-03B036329B10 <115 104 83 13 8 7 6 5 3 1> 147 0 0xffffff7f8342f000 0xb7000 0xb7000 com.apple.driver.AppleHDA (282.10) 9BB2B0F6-EDD8-397A-9EBB-05508910C3EC <146 116 115 110 104 83 7 6 5 3 1> drewsmac:~ drew$ troubleshooting.zip Sorry, i put wrong codecid name at LayoutXML.. One of these kext should work now with your codec. Post the result with each IOREG AppleALC.kext V1.zip AppleALC.kext V2.zip Link to comment Share on other sites More sharing options...
Justin Spier Posted November 12, 2018 Share Posted November 12, 2018 @Andres ZeroCross First of all, Thank you so much for your hard work And now the result: 1. The first one: I have sound on both Int Speaker and Headphone, And automatic switch from int to ext works correctly. But there is a small problem in int speaker: The volume slider doesn't work properly, hard to explain; Just see the screenshot: 2. The second one: I have sound only on Headphone. --- IOReg output of both attached. --- And now a question: What about HDMI audio? Should it be enable by this kext? or need more workaround? troubleshooting.zip Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 12, 2018 Share Posted November 12, 2018 [mention=1311960]Andres ZeroCross[/mention] First of all, Thank you so much for your hard work And now the result: 1. The first one: I have sound on both Int Speaker and Headphone, And automatic switch from int to ext works correctly. But there is a small problem in int speaker: The volume slider doesn't work properly, hard to explain; Just see the screenshot: 2. The second one: I have sound only on Headphone. --- IOReg output of both attached. --- And now a question: What about HDMI audio? Should it be enable by this kext? or need more workaround?troubleshooting.zipSo with both kexts you only get audio from headphone??? Ok, i will check detail tommorow. For audio volume need additional binary patch. I will add it later.Hdmi audio is about binary at your framebuffer and properties hda-gfx in hdef and igpu. It's another problem. Fix it later, i will update the kexts tommorow. Need to sleepSent from my Mi Note 2 using Tapatalk Link to comment Share on other sites More sharing options...
Justin Spier Posted November 12, 2018 Share Posted November 12, 2018 1 minute ago, Andres ZeroCross said: So with both kexts you only get audio from headphone??? Ok, i will check detail tommorow. For audio volume need additional binary patch. I will add it later. Hdmi audio is about binary at your framebuffer and properties hda-gfx in hdef and igpu. It's another problem. Fix it later, i will update the kexts tommorow. Need to sleep Sent from my Mi Note 2 using Tapatalk Ok! But no; I have sound by first one in speaker too, the problem with first kext is just the slider. So, Thanks again! Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 12, 2018 Share Posted November 12, 2018 Ok! But no; I have sound by first one in speaker too, the problem with first kext is just the slider. So, Thanks again!Owh i get it. Yes, i use different nodeid for internal speaker for v2 of kexts. But how about slider volume at v2 kexts?? Is it normal?? I need the information. And how about internal mic and external mic.Please send the detail about internal and external mic too. Just try to record your voice with Quicktime and play it to test the microphoneSent from my Mi Note 2 using Tapatalk Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 12, 2018 Share Posted November 12, 2018 12 minutes ago, Justin Spier said: Ok! But no; I have sound by first one in speaker too, the problem with first kext is just the slider. So, Thanks again! Now use this kexts,,, slider problem should be fixed. Let me know for the result AppleALC.kext.zip Link to comment Share on other sites More sharing options...
Justin Spier Posted November 13, 2018 Share Posted November 13, 2018 16 hours ago, Andres ZeroCross said: Now use this kexts,,, slider problem should be fixed. Let me know for the result AppleALC.kext.zip You are a Hero Now the volume slider works properly too. And about Mic; It records a little noisy I think, Not sure, Or maybe influenced by fan noise?!! Cause there is no noise on my words that I say in mic; Just a little noise in background. And one thing else; should it be like this? No difference whether the headphone connected or not, It's like the screenshot in both state. Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 13, 2018 Share Posted November 13, 2018 7 minutes ago, Justin Spier said: You are a Hero Now the volume slider works properly too. And about Mic; It records a little noisy I think, Not sure, Or maybe influenced by fan noise?!! Cause there is no noise on my words that I say in mic; Just a little noise in background. And one thing else; should it be like this? No difference whether the headphone connected or not, It's like the screenshot in both state. Yes,, for Internal Mic and External mic i set no for jack sense. It's independent to choice internal or external mic. Try to tick "use ambient noise reductions". And how about wake from sleep?? Is audio still working?? If all is good then i will ask @vandroiy2012 to add my resource files for CX8150 to Github Link to comment Share on other sites More sharing options...
Justin Spier Posted November 13, 2018 Share Posted November 13, 2018 1 hour ago, Andres ZeroCross said: Yes,, for Internal Mic and External mic i set no for jack sense. It's independent to choice internal or external mic. Try to tick "use ambient noise reductions". And how about wake from sleep?? Is audio still working?? If all is good then i will ask @vandroiy2012 to add my resource files for CX8150 to Github I activated "use ambient noise reductions" and now ... there isn't any noise And yes, I have audio after wake, and without installing CodecCommander, I thought it's always necessary, isn't?!! Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 13, 2018 Share Posted November 13, 2018 @vandroiy2012 @vit9696 Please add this CX8150 Resources to AppleALC.kext github. @Justin Spier confirmed,, Audio Internal + External and Internal + External mic work and even after sleep. I use Layout=21 Thanks very much New Resource CX8150 - ID = 21.zip AppleALC.kext.zip 2 Link to comment Share on other sites More sharing options...
lunaoso Posted November 17, 2018 Share Posted November 17, 2018 Hi all, I just recently tried using AppleALC for my audio on my Razer Blade 15 (2018) Hackintosh. I followed a guide by vettz500 over at tonymac for my installation. vettz was able to get audio working using AppleALC with layout-id 30 on High Sierra, but unfortunately I haven't had the same luck on Mojave. Any help would be super appreciated! I have tried every layout-id for ALC298, and none got me any audio devices detected. I've attached a zip with a bunch of problem reporting files with where my system is at. Thanks for anyone who takes the time to look over this! debug_24722.zip Link to comment Share on other sites More sharing options...
SavageAUS Posted November 17, 2018 Share Posted November 17, 2018 (edited) 5 hours ago, lunaoso said: Hi all, I just recently tried using AppleALC for my audio on my Razer Blade 15 (2018) Hackintosh. I followed a guide by vettz500 over at tonymac for my installation. vettz was able to get audio working using AppleALC with layout-id 30 on High Sierra, but unfortunately I haven't had the same luck on Mojave. Any help would be super appreciated! I have tried every layout-id for ALC298, and none got me any audio devices detected. I've attached a zip with a bunch of problem reporting files with where my system is at. Thanks for anyone who takes the time to look over this! debug_24722.zip I don't see where you are setting the layout-id? And i see no kexts. Also add system specs to signature. Edited November 17, 2018 by SavageAUS Link to comment Share on other sites More sharing options...
lunaoso Posted November 17, 2018 Share Posted November 17, 2018 5 hours ago, SavageAUS said: I don't see where you are setting the layout-id? And i see no kexts. Also add system specs to signature. layout-id is being set in config.plist at Devices/Properties/PciRoot(0x0)/Pci(0x1f, 0x3)/layout-id. I posted the output of kextstat in this post. Is there anything else that would be useful that I can post? I'm on the newest version of AppleALC and I think the newest version of Lilu. kextstat.txt Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 17, 2018 Share Posted November 17, 2018 layout-id is being set in config.plist at Devices/Properties/PciRoot(0x0)/Pci(0x1f, 0x3)/layout-id. I posted the output of kextstat in this post. Is there anything else that would be useful that I can post? I'm on the newest version of AppleALC and I think the newest version of Lilu.kextstat.txtEdit your signature with your device specifications or write detail of your specifications.Sent from my Mi Note 2 using Tapatalk Link to comment Share on other sites More sharing options...
lunaoso Posted November 17, 2018 Share Posted November 17, 2018 13 minutes ago, Andres ZeroCross said: Edit your signature with your device specifications or write detail of your specifications. Sent from my Mi Note 2 using Tapatalk I have my specs in my signature. Am I missing anything that I should add? Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 17, 2018 Share Posted November 17, 2018 (edited) 12 minutes ago, lunaoso said: I have my specs in my signature. Am I missing anything that I should add? 1. You should put your additional kext to EFI/CLOVER/Kexts other, except for Bluetooth kexts (just to make easy when another problem is happened) 2. You must set your Device-id of your HDEF to SkyLake's HDEF. You can add this properties to _DSM of HDEF in your DSDT or SSDT. THis is device id of SkyLake's HDEF "device-id", Buffer (0x04) { 0x70, 0xA1, 0x00, 0x00 }, or you can set it too to Devices/Properties/PciRoot(0x0)/Pci(0x1f, 0x3)/ Try this Config.plist,, replace the old ones. Post the result.. Sorry for bad english config.plist Edited November 17, 2018 by Andres ZeroCross Link to comment Share on other sites More sharing options...
lunaoso Posted November 17, 2018 Share Posted November 17, 2018 1 hour ago, Andres ZeroCross said: 1. You should put your additional kext to EFI/CLOVER/Kexts other, except for Bluetooth kexts (just to make easy when another problem is happened) 2. You must set your Device-id of your HDEF to SkyLake's HDEF. You can add this properties to _DSM of HDEF in your DSDT or SSDT. THis is device id of SkyLake's HDEF "device-id", Buffer (0x04) { 0x70, 0xA1, 0x00, 0x00 }, or you can set it too to Devices/Properties/PciRoot(0x0)/Pci(0x1f, 0x3)/ Try this Config.plist,, replace the old ones. Post the result.. Sorry for bad english config.plist Thanks for the help! So setting the device-id of my HDEF to Skylake's got me audio at least. The devices are recognized by the OS, but everything is distorted. I've tried some different layout-ids but they seem to all be distorted. Any idea on how to fix that? And just out of curiosity, why did you recommend Skylake's HDEF when my CPU is Coffee Lake? Just trying to somewhat learn what is going on/how to better debug for myself in the future. Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 17, 2018 Share Posted November 17, 2018 1 minute ago, lunaoso said: Thanks for the help! So setting the device-id of my HDEF to Skylake's got me audio at least. The devices are recognized by the OS, but everything is distorted. I've tried some different layout-ids but they seem to all be distorted. Any idea on how to fix that? And just out of curiosity, why did you recommend Skylake's HDEF when my CPU is Coffee Lake? Just trying to somewhat learn what is going on/how to better debug for myself in the future. Maybe for the first step you can try to tick this options at Device Sections (Open your config.plist with Clover Configurator) Link to comment Share on other sites More sharing options...
lunaoso Posted November 17, 2018 Share Posted November 17, 2018 (edited) 6 minutes ago, Andres ZeroCross said: Maybe for the first step you can try to tick this options at Device Sections (Open your config.plist with Clover Configurator) Didn't seem like that changed anything. If it helps, it sounds like vocals are very quiet. And then the music is distorted. EDIT: Also if you want me to post any logs or anything like that, let me know. Edited November 17, 2018 by lunaoso Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 17, 2018 Share Posted November 17, 2018 1 minute ago, lunaoso said: Didn't seem like that changed anything. If it helps, it sounds like vocals are very quiet. And then the music is distorted. You should upload your debug files again,, we can't use old debug files with new problem. And try to cold boot your system (shutdown and turn on instead reboot) Link to comment Share on other sites More sharing options...
lunaoso Posted November 17, 2018 Share Posted November 17, 2018 18 minutes ago, Andres ZeroCross said: You should upload your debug files again,, we can't use old debug files with new problem. And try to cold boot your system (shutdown and turn on instead reboot) I still have my kexts in /L/E because I haven't had to mess with those yet anyway, but I included them in the debug zip so you can take a look at what's there. Also, doing a cold boot unfortunately did not make a difference. debug_24441.zip Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 17, 2018 Share Posted November 17, 2018 7 minutes ago, lunaoso said: I still have my kexts in /L/E because I haven't had to mess with those yet anyway, but I included them in the debug zip so you can take a look at what's there. Also, doing a cold boot unfortunately did not make a difference. debug_24441.zip Why did you put this value??? My solution before is to use "70A10000" Link to comment Share on other sites More sharing options...
lunaoso Posted November 17, 2018 Share Posted November 17, 2018 6 minutes ago, Andres ZeroCross said: Why did you put this value??? My solution before is to use "70A10000" I grabbed the base64 encoded version from the config.plist and messed up copying it over, my bad. I've edited it back to be the correct value. Didn't seem to fix anything though unfortunately. Same problems as before. config.plist Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted November 17, 2018 Share Posted November 17, 2018 When you change your configuration,, then upload your IOREG output or Debug file again. Ioreg output is RESULT from your configurations,, i need to check the result data,, Link to comment Share on other sites More sharing options...
Recommended Posts