Skip to content

Commit

Permalink
Add Layout 22 for Asus VivoBook 15 OLED M513UA (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreszerocross authored Jun 16, 2024
1 parent bda7b8d commit 21af3f2
Show file tree
Hide file tree
Showing 4 changed files with 316 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Resources/ALC897/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
<key>Path</key>
<string>layout21.xml.zlib</string>
</dict>
<dict>
<key>Comment</key>
<string>Asus VivoBook 15 OLED M513UA by Andres ZeroCross</string>
<key>Id</key>
<integer>22</integer>
<key>Path</key>
<string>layout22.xml.zlib</string>
</dict>
<dict>
<key>Comment</key>
<string>Asus_PRIME_B460M-K_ALC897</string>
Expand Down Expand Up @@ -119,6 +127,14 @@
<key>Path</key>
<string>Platforms21.xml.zlib</string>
</dict>
<dict>
<key>Comment</key>
<string>Asus VivoBook 15 OLED M513UA by Andres ZeroCross</string>
<key>Id</key>
<integer>22</integer>
<key>Path</key>
<string>Platforms22.xml.zlib</string>
</dict>
<dict>
<key>Comment</key>
<string>Asus_PRIME_B460M-K_ALC897</string>
Expand Down
237 changes: 237 additions & 0 deletions Resources/ALC897/Platforms22.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,237 @@
<dict>
<key>CommonPeripheralDSP</key>
<array>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Headphone</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Microphone</string>
</dict>
</array>
<key>PathMaps</key>
<array>
<dict>
<key>PathMap</key>
<array>
<array>
<array>
<array>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<true/>
</dict>
<key>NodeID</key>
<integer>8</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<true/>
</dict>
<key>NodeID</key>
<integer>35</integer>
</dict>
<dict>
<key>Boost</key>
<integer>3</integer>
<key>NodeID</key>
<integer>26</integer>
</dict>
</array>
</array>
</array>
<array>
<array>
<array>
<dict>
<key>NodeID</key>
<integer>20</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<false/>
</dict>
<key>NodeID</key>
<integer>12</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<false/>
</dict>
<key>NodeID</key>
<integer>2</integer>
</dict>
</array>
</array>
<array>
<array>
<dict>
<key>NodeID</key>
<integer>27</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<false/>
</dict>
<key>NodeID</key>
<integer>13</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<false/>
</dict>
<key>NodeID</key>
<integer>3</integer>
</dict>
</array>
</array>
</array>
</array>
<key>PathMapID</key>
<integer>22</integer>
</dict>
</array>
</dict>
45 changes: 45 additions & 0 deletions Resources/ALC897/layout22.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<dict>
<key>LayoutID</key>
<integer>22</integer>
<key>PathMapRef</key>
<array>
<dict>
<key>CodecID</key>
<array>
<integer>283904151</integer>
</array>
<key>Headphone</key>
<dict/>
<key>Inputs</key>
<array>
<string>Mic</string>
<string>LineIn</string>
</array>
<key>IntSpeaker</key>
<dict/>
<key>LineIn</key>
<dict>
<key>MuteGPIO</key>
<integer>1342242841</integer>
</dict>
<key>LineOut</key>
<dict/>
<key>Mic</key>
<dict>
<key>MuteGPIO</key>
<integer>1342242842</integer>
</dict>
<key>Outputs</key>
<array>
<string>Headphone</string>
<string>IntSpeaker</string>
<string>LineOut</string>
<string>SPDIFOut</string>
</array>
<key>PathMapID</key>
<integer>22</integer>
<key>SPDIFOut</key>
<dict/>
</dict>
</array>
</dict>
18 changes: 18 additions & 0 deletions Resources/PinConfigs.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7570,6 +7570,24 @@
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>AwAAAA==</data>
<key>Codec</key>
<string>Asus VivoBook 15 OLED M513UA by Andres ZeroCross</string>
<key>CodecID</key>
<integer>283904151</integer>
<key>ConfigData</key>
<data>AUccEAFHHQEBRx4XAUcfkAFHDAIBtxwgAbcdEAG3HiEBtx8DAbcMAgGnHDABpx0BAaceoAGnH5A=</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>22</integer>
<key>WakeConfigData</key>
<data>AUcMAgG3DAI=</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>AwAAAA==</data>
Expand Down

0 comments on commit 21af3f2

Please sign in to comment.