audio_CloverHDMI icon indicating copy to clipboard operation
audio_CloverHDMI copied to clipboard

Scripts doesn't work, if user has moved his home folder to another drive

Open mrPsycho opened this issue 8 years ago • 8 comments

Cause not everybody places home directory in /Users/$(whoami) .

mrPsycho avatar Dec 08 '16 19:12 mrPsycho

cloverHDMI does not touch the home directory; what is the problem?

toleda avatar Dec 08 '16 21:12 toleda

check audio_cloverHDMI-120_v1.0d.command:

gCloverDirectory=/Volumes/$gStartupDisk/EFI/CLOVER works incorrect on my system :( i had to write exact gCloverDirectory=/Volumes/EFI/EFI/CLOVER

and: gDesktopDirectory=/Volumes/$(whoami)/Desktop

`1 ) if [ -d "$gDesktopDirectory/config-basic.plist" ]; then echo "Desktop/config-basic.plist copied missing" exit 1 fi

sudo cp -R "$gDesktopDirectory/config-basic.plist" /tmp/config.plist
echo "Desktop/config-basic.plist copied to /tmp/config.plist"

;;

2 ) echo "gHDAversioninstalled = $gHDAversioninstalled" if [ -d "$gDesktopDirectory/config-basic.plist" ]; then echo "Desktop/config-basic.plist copied missing" exit 1 fi

sudo cp -R "$gDesktopDirectory/config-basic.plist" /tmp/config.plist
echo "Desktop/config-basic.plist copied to /tmp/config.plist"
;;
  • ) echo "gDebug = $gDebug, fix" exit 1 ;;`

mrPsycho avatar Dec 09 '16 21:12 mrPsycho

What script do you use to mount the EFI partition? Attach terminal output with the error.

toleda avatar Dec 10 '16 22:12 toleda

sorry for delay, i'm using Clover Configurator

mrPsycho avatar Dec 15 '16 08:12 mrPsycho

Terminal output?

toleda avatar Dec 15 '16 19:12 toleda

ok. just updateded macos to the newest version. so:

sy:~ mrpsycho$ sudo /Volumes/data/Users/mrpsycho/Downloads/audio_cloverHDMI-120_v1.0d.command
Password:

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

File: audio_cloverHDMI-120.command_v1.0d
Release Mode
EFI partition is mounted
HDMI audio codec(s)
Nvidia:   0x10de0060
Integrated Graphics is not installed/enabled
Install AMD/Nvidia HDMI audio (y/n): y
Nvidia discrete graphics card 10de1381 found on PEG0@1/display@0
Nvidia HDMI audio is not enabled
Install Nvidia HDMI audio ssdt (y/n): y
Download SSDT-HDMI-NVIDIA-PEG0 ...
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
100 44888  100 44888    0     0   131k      0 --:--:-- --:--:-- --:--:--  132k

/Volumes/EFI/EFI/CLOVER/ACPI/patched/SSDT-HDMI-NVIDIA-PEG0.aml installed

Install finished, restart required.
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...

mrPsycho avatar Dec 21 '16 08:12 mrPsycho

so it seems to be ok, but no sound from my nvidia (gtx 750) card thru hdmi :(

mrPsycho avatar Dec 21 '16 08:12 mrPsycho

Apologies for the delay, files?

toleda avatar Jan 24 '17 03:01 toleda