toleda / audio_CloverALC

macOS Realtek ALC onboard audio with Clover
679 stars 109 forks source link

SPDIF optical Z77 DS3H 10.12 #97

Open epalzeolithe opened 7 years ago

epalzeolithe commented 7 years ago

Hello

very nice script you did ! Analog, HDMI are working well.

I've installed an optical bracket to have SPDIF output on that mobo. It works oob under windows.

But i cant make spdif work under osx. i use the script with 887 codec and clover injection i've tried id 1, 2, 3 digital line is available under system panel

but no sound

what did i wrong ?

Thanks for your help !!

epalzeolithe commented 7 years ago

I followed the customization guide 0) i run the script audio_clover120.command, it detected automatically 887, layout 3. I tested it, analog output is ok, but optical out not (ok Under Windows)

1) i first edited Platform.zml.zlib in /S/L/E/AppleHDA PathID 887 Last node convert 30 to 17 convert 6 o 16

i reboot > no optical sound on spdif bracket

2) i modified in EFI/CLOVER/KEXTS/10.12/RealtekALC.kext/Contents/Info.plist Codec 887 layout ID 3 i switch config data like explained : Edit ConfigData (1150 only, edit each entry, 21 to 01) ⁃ Find: 21171cf0 21171d00 21171e00 21171f40 ⁃ Replace: 21171ca0 21171d01 21171e43 21171f99 ⁃ Find: 21e71c90 21e71d61 21e71e4b 21e71f01 ⁃ Replace: 21e71cf0 21e71d00 21e71e00 21e71f40

When i reboot, the codec is no more detected, no sound in pref panel

I'm still looking out what's wrong

Could you please help me ?

Thanks

toleda commented 7 years ago

PathID 887 is 887 layout: 1 not layout: 3. Set config.plist/Devices/Audio/Inject/1

epalzeolithe commented 7 years ago

Thanks you very much for your answer

i configured the system with layout 1 on 887, sound is back on analog output with patched kexts.

Unfortunalety, still no sound from optical in OS X except in windows.

Here are the patched kexts i used

patched kexts.zip

I can't see where I did a mistake

Thanks again in advance for your help Toleda :)