You've already forked gpd-pocket2-hackintosh
mirror of
https://github.com/jibsaramnim/gpd-pocket2-hackintosh.git
synced 2026-05-16 23:26:35 +09:00
- Lilu v1.3.7 - WhateverGreen v1.3.0 - AppleALC v1.3.9 - VirtualSMC v1.0.6 - SMCProcessor v1.0.6 - SMCBatteryManager v1.0 - SMCSuperIO v1.0.6 - USBInjectAll v0.7.1 - VoodooHDA v2.9.2 - VoodooI2C v2.2 - VoodooPS2Controller v1.8.28 - CPUFriend v1.1.8 - CodecCommander v2.7.1 - NullEthernet v1.0.6 - Display-756e6b6-717 (Custom)
46 lines
1.5 KiB
Plaintext
Executable File
46 lines
1.5 KiB
Plaintext
Executable File
// CodecCommander configuration for ALC256 to fix various issue
|
|
// repo: https://github.com/insanelydeepak/cloverHDA-for-Mac-OS-Sierra-10.12
|
|
|
|
DefinitionBlock ("", "SSDT", 1, "hack", "ALC256", 0)
|
|
{
|
|
External(_SB.PCI0.HDEF, DeviceObj)
|
|
Name(_SB.PCI0.HDEF.RMCF, Package()
|
|
{
|
|
"CodecCommander", Package()
|
|
{
|
|
"Custom Commands", Package()
|
|
{
|
|
Package(){}, // signifies Array instead of Dictionary
|
|
Package()
|
|
{
|
|
// 0x19 SET_PIN_WIDGET_CONTROL 0x24
|
|
"Command", Buffer() { 0x01, 0x97, 0x07, 0x24 },
|
|
"On Init", ">y",
|
|
"On Sleep", ">n",
|
|
"On Wake", ">y",
|
|
},
|
|
Package()
|
|
{
|
|
// 0x1A SET_PIN_WIDGET_CONTROL 0x20
|
|
"Command", Buffer() { 0x01, 0xA7, 0x07, 0x20 },
|
|
"On Init", ">y",
|
|
"On Sleep", ">n",
|
|
"On Wake", ">y",
|
|
},
|
|
Package()
|
|
{
|
|
// 0x21 SET_UNSOLICITED_ENABLE 0x83
|
|
"Command", Buffer() { 0x02, 0x17, 0x08, 0x83 },
|
|
"On Init", ">y",
|
|
"On Sleep", ">n",
|
|
"On Wake", ">y",
|
|
}
|
|
},
|
|
"Perform Reset", ">n",
|
|
//"Perform Reset on External Wake", ">n", // enable if using AppleALC
|
|
"Send Delay", 10,
|
|
"Sleep Nodes", ">n",
|
|
},
|
|
})
|
|
}
|
|
//EOF |