From 8f41ea45d91cb7086b7ccf88a49aa84b40290e5b Mon Sep 17 00:00:00 2001 From: Andres ZeroCross Date: Tue, 14 Feb 2023 17:20:25 +0700 Subject: [PATCH] Add Layout 21 for CX 8070 for Lenovo ThinkPad E14 (#829) * Add layout and platform 21 files Add layout and platform 21 by Andres ZeroCross * Update info.plist for Layout 21 CX8070 Update info.plist for Layout 21 CX8070 by Andres ZeroCross * Update Info.plist for layout 21 Update Info.plist for layout 21 by Andres ZeroCross * Update Info.plist * Update Info.plist --- Resources/CX8070/Info.plist | 16 ++ Resources/CX8070/Platforms21.xml | 189 ++++++++++++++++++ Resources/CX8070/layout21.xml | 97 +++++++++ Resources/PinConfigs.kext/Contents/Info.plist | 18 ++ 4 files changed, 320 insertions(+) create mode 100644 Resources/CX8070/Platforms21.xml create mode 100644 Resources/CX8070/layout21.xml diff --git a/Resources/CX8070/Info.plist b/Resources/CX8070/Info.plist index 38521a1e44..d366694741 100755 --- a/Resources/CX8070/Info.plist +++ b/Resources/CX8070/Info.plist @@ -20,6 +20,14 @@ Path layout15.xml.zlib + + Comment + Andres ZeroCross - Conexant CX8070 for Lenovo ThinkPad E14 + Id + 21 + Path + layout21.xml.zlib + Platforms @@ -31,6 +39,14 @@ Path Platforms15.xml.zlib + + Comment + Andres ZeroCross - Conexant CX8070 for Lenovo ThinkPad E14 + Id + 21 + Path + Platforms21.xml.zlib + Patches diff --git a/Resources/CX8070/Platforms21.xml b/Resources/CX8070/Platforms21.xml new file mode 100644 index 0000000000..379a90b013 --- /dev/null +++ b/Resources/CX8070/Platforms21.xml @@ -0,0 +1,189 @@ + + CommonPeripheralDSP + + + DeviceID + 0 + DeviceType + Headphone + + + DeviceID + 0 + DeviceType + Microphone + + + PathMaps + + + PathMap + + + + + + Amp + + Channels + + + Bind + 1 + Channel + 1 + + + Bind + 2 + Channel + 2 + + + MuteInputAmp + + PublishMute + + PublishVolume + + VolumeInputAmp + + + NodeID + 20 + + + Boost + 3 + NodeID + 26 + + + + + + + + + Amp + + Channels + + + Bind + 1 + Channel + 1 + + + Bind + 2 + Channel + 2 + + + MuteInputAmp + + PublishMute + + PublishVolume + + VolumeInputAmp + + + NodeID + 19 + + + Boost + 3 + NodeID + 25 + + + + + + + + + NodeID + 23 + + + Amp + + Channels + + + Bind + 1 + Channel + 1 + + + Bind + 2 + Channel + 2 + + + MuteInputAmp + + PublishMute + + PublishVolume + + VolumeInputAmp + + + NodeID + 17 + + + + + + + NodeID + 22 + + + Amp + + Channels + + + Bind + 1 + Channel + 1 + + + Bind + 2 + Channel + 2 + + + MuteInputAmp + + PublishMute + + PublishVolume + + VolumeInputAmp + + + NodeID + 16 + + + + + + PathMapID + 212 + + + diff --git a/Resources/CX8070/layout21.xml b/Resources/CX8070/layout21.xml new file mode 100644 index 0000000000..1e5e788696 --- /dev/null +++ b/Resources/CX8070/layout21.xml @@ -0,0 +1,97 @@ + + LayoutID + 21 + PathMapRef + + + CodecID + + 351346566 + + Headphone + + Inputs + + Mic + LineIn + + IntSpeaker + + LineIn + + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspNoiseReduction + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 2 + 0 + 3 + 0 + 4 + -1111411312 + + PatchbayInfo + + + + + + Mic + + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspNoiseReduction + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 2 + 0 + 3 + 0 + 4 + -1111411312 + + PatchbayInfo + + + + + + Outputs + + IntSpeaker + Headphone + + PathMapID + 212 + + + diff --git a/Resources/PinConfigs.kext/Contents/Info.plist b/Resources/PinConfigs.kext/Contents/Info.plist index b43360b37e..43686053e1 100755 --- a/Resources/PinConfigs.kext/Contents/Info.plist +++ b/Resources/PinConfigs.kext/Contents/Info.plist @@ -8192,6 +8192,24 @@ WakeVerbReinit + + AFGLowPowerState + AwAAAA== + Codec + Andres ZeroCross - Conexant CX8070 for Lenovo ThinkPad E14 + CodecID + 351346566 + ConfigData + AXccEAF3HQABdx4XAXcfkQGnHCABpx0AAaceoAGnH5ABlxwwAZcdEAGXHoEBlx8AAWccQAFnHRABZx4hAWcfAAF3DAIBZwwCAZcHJAGnByQ= + FuncGroup + 1 + LayoutID + 21 + WakeConfigData + AXcMAgFnDAIBlwckAacHJA== + WakeVerbReinit + + AFGLowPowerState AwAAAA==