diff --git a/audio_cloverALC-110.sh b/audio_cloverALC-110.sh index 170dcda..a85a24d 100755 --- a/audio_cloverALC-110.sh +++ b/audio_cloverALC-110.sh @@ -459,7 +459,7 @@ fi # verify ioreg/HDEF ioreg -rw 0 -p IODeviceTree -n HDEF > /tmp/HDEF.txt -if [[ $(cat /tmp/HDEF.txt | grep -o "HDEF@1B") = "HDEF@1B" ]]; then +if [[ $(cat /tmp/HDEF.txt | grep -o "HDEF@1B") = "HDEF@1B" ]] || [[ $(cat /tmp/HDEF.txt | grep -o "HDEF@1F") = "HDEF@1F" ]]; then gLayoutidioreg=$(cat /tmp/HDEF.txt | grep layout-id | sed -e 's/.*//') gLayoutidhex="0x${gLayoutidioreg:6:2}${gLayoutidioreg:4:2}${gLayoutidioreg:2:2}${gLayoutidioreg:0:2}" let gAudioid=$gLayoutidhex @@ -1245,4 +1245,4 @@ esac echo "" echo "Install finished, restart required." echo "To save a Copy of this Terminal session: Terminal/Shell/Export Text As ..." -exit \ No newline at end of file +exit