toleda / audio_CloverHDMI

macOS Intel/AMD/Nvidia HDMI audio with Clover
146 stars 22 forks source link

Discrete graphics still not working #4

Open reyder opened 8 years ago

reyder commented 8 years ago

I want to enable only HDMI audio for my AMD (I need inject Intel just for sleep).

Stage 1 choose no for Intel and after that I should see:

Continue to AMD/Nvidia HDMI audio (y/n): y (<<<<)

Strange thing is that this text it's not present in the file..so here we are:

# initialize variable
choice1=n
choice2=n
gconnectoredit=n
gssdtinstall=n

if [ $igfxhdagfx = 2 ]; then  # ssdt working
    Echo "$gigfxname HDMI audio is enabled, connector edit may be required"
        while true
        do
        read -p "Verify $gigfxname HDMI audio connector/s (y/n): " choice1
        case "$choice1" in
            [yY]* ) gconnectoredit=y; break;;
            [nN]* ) gconnectoredit=n; break;;
            * ) echo "Try again...";;
        esac
        done
else
Echo "$gigfxname HDMI audio is not enabled"
        while true
        do
        read -p "Install $gigfxssdt HDMI audio ssdt (y/n): " choice2
        case "$choice2" in
            [yY]* ) gssdtinstall=y; break;;
            [nN]* ) gssdtinstall=n; break;;
            * ) echo "Try again...";;
        esac
        done
fi

gamdnvidia=n
if [[ $choice1 = n && $choice2 = n ]]; then
    if [ $gdgfx = 0 ]; then
        echo "AMD/Nvidia not foundnn"
        echo "No system files were changed"
        echo "To save a Copy of this Terminal session: Terminal/Shell/Export Text As ..."
        exit 1
    fi
fi

Choice 1 is default 0 and I don't want install Intel so choice 2 is also 0, result exit. Here is screenshot

LINK

toleda commented 8 years ago

Post Terminal output.

reyder commented 8 years ago

In screenshot up.

Agreement
The audio_cloverHDMI script is for personal use only. Do not distribute
the patch, any or all of the files or the resulting patched AppleHDA.kext
for any reason without permission. The audio_cloverHDMI script is
provided as is and without any kind of warranty.

System version: supported
gSysVer = 10.11.5
File: audio_cloverHDMI-110.command_v0.22 - BETA
Debug Mode
Boot device: /dev/disk3
Boot volume: OS X
GFX0 - gigfx = 0
gigfx = IGPU@2
gCodecsInstalled = 0x11060441
0x80862806
Index = 0, Codec = 0x11060441
Index = 1, Codec = 0x80862806
HDMI audio codec(s)
Intel:    0x80862806
igfxhdagfx1 = 0
igfxhdagfx2 = 0
igfxhdagfx = 0
HD4000 HDMI audio is not enabled
Install SSDT-HDMI-HD4000 HDMI audio ssdt (y/n): n
AMD/Nvidia not foundnn
No system files were changed
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...

Thank you. Come again!
  -- Dr. Apu Nahasapeemapetilon

[Proces zakończony]