Skip to content

Commit

Permalink
Add modified ComboJack for alc256 on xps13
Browse files Browse the repository at this point in the history
  • Loading branch information
maz-1 committed Nov 21, 2018
1 parent 00009cf commit 90bc96d
Show file tree
Hide file tree
Showing 51 changed files with 5,070 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

#DSDT
DSDT/compile/
DSDT/raw/
DSDT/precompile/

Binary file modified CLOVER/.DS_Store
Binary file not shown.
Binary file modified CLOVER/kexts/.DS_Store
Binary file not shown.
Binary file modified CLOVER/kexts/Other/.DS_Store
Binary file not shown.
80 changes: 80 additions & 0 deletions CLOVER/kexts/Other/VerbStub.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>18B75</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>VerbStub</string>
<key>CFBundleIdentifier</key>
<string>com.XPS.VerbStub</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>VerbStub</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.0.3</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.0.3</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>10B61</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>18B71</string>
<key>DTSDKName</key>
<string>macosx10.14</string>
<key>DTXcode</key>
<string>1010</string>
<key>DTXcodeBuild</key>
<string>10B61</string>
<key>IOKitPersonalities</key>
<dict>
<key>VerbStub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.XPS.VerbStub</string>
<key>IOClass</key>
<string>com_XPS_VerbStub</string>
<key>IOMatchCategory</key>
<string>com_XPS_VerbStub</string>
<key>IOProviderClass</key>
<string>IOHDACodecFunction</string>
<key>IOUserClientClass</key>
<string>VerbStubUserClient</string>
</dict>
<key>VerbStubResidency</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.XPS.VerbStub</string>
<key>IOClass</key>
<string>VerbStubResidency</string>
<key>IOMatchCategory</key>
<string>VerbStubResidency</string>
<key>IOProviderClass</key>
<string>IOResources</string>
</dict>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2017 VerbStub. All rights reserved.</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOPCIFamily</key>
<string>2.9</string>
<key>com.apple.kpi.iokit</key>
<string>16.6</string>
<key>com.apple.kpi.libkern</key>
<string>16.6</string>
</dict>
</dict>
</plist>
Binary file not shown.
Binary file renamed Kexts/.DS_Store → DSDT/precompile/.DS_Store
Binary file not shown.
15 changes: 10 additions & 5 deletions Deploy.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -428,13 +428,18 @@ function install_audio()
_del $extensions/AppleHDA_ALC256.kext
_del $extensions/CodecCommander.kext
done


_del /Library/LaunchAgents/com.XPS.ComboJack.plist
_del /usr/local/sbin/ComboJack

if [ $gMINOR_VER -ge $gDelimitation_OSVer ];
then
#
# 10.12+
#
_install_AppleHDA_Injector
#_install_AppleHDA_Injector
#install combo-jack
bash ${REPO}/Kexts/combojack/ComboJack_Installer/install.sh
fi
}

Expand Down Expand Up @@ -2137,9 +2142,9 @@ function main()
# Install audio.
#
if [[ ${gDisableRebuildnAudioInst} == ${kBASHReturnFailure} ]]; then
# _PRINT_MSG "--->: ${BLUE}Installing audio...${OFF}"
# _tidy_exec "install_audio" "Install audio"
_tidy_exec "sudo cp -RX "${REPO}/Kexts/audio/CodecCommander.kext" "${gExtensions_Repo[0]}"" "Fix headphone static issue"
_PRINT_MSG "--->: ${BLUE}Installing audio...${OFF}"
_tidy_exec "install_audio" "Install audio"
# _tidy_exec "sudo cp -RX "${REPO}/Kexts/audio/CodecCommander.kext" "${gExtensions_Repo[0]}"" "Fix headphone static issue"
fi

#
Expand Down
Binary file added Kexts/combojack/ComboJack_Installer/.DS_Store
Binary file not shown.
Binary file added Kexts/combojack/ComboJack_Installer/ComboJack
Binary file not shown.
20 changes: 20 additions & 0 deletions Kexts/combojack/ComboJack_Installer/Information.rtf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{\rtf1\ansi\ansicpg1252\cocoartf1504\cocoasubrtf830
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 Verdana;}
{\colortbl;\red255\green255\blue255;\red0\green0\blue0;\red255\green255\blue255;\red17\green90\blue209;
}
{\*\expandedcolortbl;;\cssrgb\c0\c0\c0;\cssrgb\c100000\c100000\c100000;\cssrgb\c5882\c44706\c85490;
}
\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0

\f0\fs24 \cf0 Allows complete configuration of unsupported codecs (this version enables full functionality of the Dell XPS 15 9560\'92s ALC3266 3.5mm combination jack).\
\
Based on the idea of
\f1 \cf2 \cb3 \expnd0\expndtw0\kerning0
\'a0{\field{\*\fldinst{HYPERLINK "https://github.com/goodwin/ALCPlugFix"}}{\fldrslt \cf4 \ul \ulc4 https://github.com/goodwin/ALCPlugFix}}\
Implemented by way of porting hda-verb from alsa-tools:\
{\field{\*\fldinst{HYPERLINK "https://www.alsa-project.org/main/index.php/Main_Page"}}{\fldrslt https://www.alsa-project.org/main/index.php/Main_Page}}\
\
Portions of code adapted from CodecCommander ({\field{\*\fldinst{HYPERLINK "https://github.com/RehabMan/EAPD-Codec-Commander"}}{\fldrslt https://github.com/RehabMan/EAPD-Codec-Commander}}) and the Linux kernel ({\field{\*\fldinst{HYPERLINK "https://github.com/torvalds/linux"}}{\fldrslt https://github.com/torvalds/linux}}). All copyrights belong to their respective owners.\
\
Uses layout-id 72. VerbStub.kext goes into EFI/Clover/kexts/Other.}
Loading

0 comments on commit 90bc96d

Please sign in to comment.