Last active
February 23, 2024 00:03
-
-
Save Flex1911/1bce378645fc95a5743671bd5deabfc8 to your computer and use it in GitHub Desktop.
ASUS ROG Zephyrus G16 (GU603ZV) DSDT patch for CS35L41 amplifier (not necessary as of kernel 6.7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DefinitionBlock ("", "SSDT", 1, "CUSTOM", "CSC3551", 0x00000001) | |
{ | |
External (_SB_.PC00.SPI0, DeviceObj) | |
External (_SB_.PC00.SPI0.SPK1, DeviceObj) | |
Scope (_SB.PC00.SPI0.SPK1) | |
{ | |
Name (_DSD, Package () // _DSD: Device-Specific Data | |
{ | |
ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), | |
Package () | |
{ | |
Package () { "cirrus,dev-index", Package () { Zero, One }}, | |
Package () { "reset-gpios", Package () { | |
SPK1, One, Zero, Zero, | |
SPK1, One, Zero, Zero, | |
} }, | |
Package () { "cirrus,speaker-position", Package () { Zero, One } }, | |
// gpioX-func: 0 not used, 1 VPSK_SWITCH, 2: INTERRUPT, 3: SYNC | |
Package () { "cirrus,gpio1-func", Package () { One, One } }, | |
Package () { "cirrus,gpio2-func", Package () { 0x02, 0x02 } }, | |
// boost-type: 0 internal, 1 external | |
Package () { "cirrus,boost-type", Package () { One, One } }, | |
}, | |
}) | |
} | |
Scope (_SB.PC00.SPI0) | |
{ | |
Name (_DSD, Package () | |
{ | |
ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), | |
Package () | |
{ | |
Package () { "cs-gpios", Package () { | |
Zero, // Native CS | |
SPK1, Zero, Zero, Zero // GPIO CS | |
} } | |
} | |
}) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi, I am wondering if a DSDT patch would be possible in my case. (Slow wake from sleep, due to the SD Host Controller GL9755) or if u have any other ideas since we have a similar laptop.
Discussion and more information: https://www.reddit.com/r/archlinux/s/p12xRH1hzO