Skip to content

Commit 9d588a7

Browse files
Matthew SheppardMatthew Sheppard
authored andcommitted
Update DSDT, SSDT; Add Kext VoodooSDHC.kext
Update DSDT, SSDT; Add Kext VoodooSDHC.kext, but no effect.
1 parent dcb4d7a commit 9d588a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1612
-651
lines changed

EFI/.DS_Store

-6 KB
Binary file not shown.

EFI/CLOVER/.DS_Store

-6 KB
Binary file not shown.

EFI/CLOVER/ACPI/.DS_Store

-6 KB
Binary file not shown.

EFI/CLOVER/ACPI/patched/.DS_Store

-6 KB
Binary file not shown.

EFI/CLOVER/ACPI/patched/DSDT.aml

77 Bytes
Binary file not shown.

EFI/CLOVER/ACPI/patched/DSDT.dsl

Lines changed: 92 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
4848
External (_GPE.MMTB, MethodObj) // Imported: 0 Arguments
4949
External (_GPE.VHOV, MethodObj) // Imported: 3 Arguments
5050
External (_PR_.CPU0._PPC, IntObj)
51-
External (_SB_.PCI0.GFX0.DD02._BCM, MethodObj) // Imported: 1 Arguments
51+
External (_SB_.PCI0.IGPU.DD02._BCM, MethodObj) // Imported: 1 Arguments
5252
External (_SB_.PCI0.IEIT.EITV, MethodObj) // Warning: Unknown method, guessing 0 arguments
5353
External (_SB_.PCI0.LPCB.H_EC.ECRD, MethodObj) // Imported: 1 Arguments
5454
External (_SB_.PCI0.LPCB.H_EC.ECWT, MethodObj) // Imported: 2 Arguments
@@ -2253,12 +2253,12 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
22532253
If (LIDT)
22542254
{
22552255
Store (Zero, LIDS)
2256-
Store (Zero, ^^^GFX0.CLID)
2256+
Store (Zero, ^^^IGPU.CLID)
22572257
}
22582258
Else
22592259
{
22602260
Store (One, LIDS)
2261-
Store (One, ^^^GFX0.CLID)
2261+
Store (One, ^^^IGPU.CLID)
22622262
}
22632263
}
22642264

@@ -3028,11 +3028,11 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
30283028
{
30293029
If (IGDS)
30303030
{
3031-
If (LNotEqual (^^^GFX0.CPL2, Zero))
3031+
If (LNotEqual (^^^IGPU.CPL2, Zero))
30323032
{
30333033
Store (Zero, LIDS)
3034-
Store (Zero, ^^^GFX0.CLID)
3035-
^^^GFX0.GLID (Zero)
3034+
Store (Zero, ^^^IGPU.CLID)
3035+
^^^IGPU.GLID (Zero)
30363036
}
30373037
}
30383038

@@ -3044,8 +3044,8 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
30443044
If (IGDS)
30453045
{
30463046
Store (One, LIDS)
3047-
Store (One, ^^^GFX0.CLID)
3048-
^^^GFX0.GLID (One)
3047+
Store (One, ^^^IGPU.CLID)
3048+
^^^IGPU.GLID (One)
30493049
}
30503050

30513051
Notify (LID, 0x80)
@@ -3066,7 +3066,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
30663066
}
30673067
ElseIf (LOr (LEqual (SGST, 0x04), LEqual (SGST, Zero)))
30683068
{
3069-
Notify (^^^GFX0.DD02, 0x86)
3069+
Notify (^^^IGPU.DD02, 0x86)
30703070
}
30713071
Else
30723072
{
@@ -3093,7 +3093,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
30933093
}
30943094
ElseIf (LOr (LEqual (SGST, 0x04), LEqual (SGST, Zero)))
30953095
{
3096-
Notify (^^^GFX0.DD02, 0x87)
3096+
Notify (^^^IGPU.DD02, 0x87)
30973097
}
30983098
Else
30993099
{
@@ -3305,7 +3305,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
33053305
{
33063306
If (LEqual (SGST, 0x04))
33073307
{
3308-
^^^GFX0.GHDS (Zero)
3308+
^^^IGPU.GHDS (Zero)
33093309
}
33103310
ElseIf (LEqual (SGST, One))
33113311
{
@@ -3319,7 +3319,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
33193319
}
33203320
Else
33213321
{
3322-
^^^GFX0.GHDS (Zero)
3322+
^^^IGPU.GHDS (Zero)
33233323
}
33243324
}
33253325

@@ -3329,7 +3329,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
33293329
{
33303330
Multiply (DerefOf (Index (PNLT, BLVL)), 0x64, Local1)
33313331
Divide (Local1, 0x0100, , Local2)
3332-
^^^GFX0.AINT (One, Local2)
3332+
^^^IGPU.AINT (One, Local2)
33333333
}
33343334
ElseIf (LEqual (GI48, One))
33353335
{
@@ -5438,12 +5438,12 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
54385438
If (\_SB.PCI0.LPCB.EC0.LIDT)
54395439
{
54405440
Store (Zero, LIDS)
5441-
Store (Zero, \_SB.PCI0.GFX0.CLID)
5441+
Store (Zero, \_SB.PCI0.IGPU.CLID)
54425442
}
54435443
Else
54445444
{
54455445
Store (One, LIDS)
5446-
Store (One, \_SB.PCI0.GFX0.CLID)
5446+
Store (One, \_SB.PCI0.IGPU.CLID)
54475447
}
54485448
}
54495449

@@ -6157,9 +6157,9 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
61576157

61586158
Method (_L06, 0, NotSerialized) // _Lxx: Level-Triggered GPE
61596159
{
6160-
If (LAnd (\_SB.PCI0.GFX0.GSSE, LNot (GSMI)))
6160+
If (LAnd (\_SB.PCI0.IGPU.GSSE, LNot (GSMI)))
61616161
{
6162-
\_SB.PCI0.GFX0.GSCI ()
6162+
\_SB.PCI0.IGPU.GSCI ()
61636163
}
61646164
}
61656165

@@ -7185,11 +7185,15 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
71857185
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
71867186
Return (Package()
71877187
{
7188-
"layout-id", Buffer() { 0x03, 0x00, 0x00, 0x00 },
7189-
"PinConfigurations", Buffer(Zero) {},
7190-
"hda-gfx", Buffer() { "onboard-1" },
7188+
"codec-id", Buffer() { 0x69, 0x02, 0xEC, 0x10 },
7189+
"layout-id", Buffer () { 0x03, 0x00, 0x00, 0x00 },
7190+
"device_type", Buffer (0x14) { "Audio Controller" },
7191+
"model", Buffer() { "Realtek ALC269 High Definition Audio" },
7192+
"PinConfigurations", Buffer (Zero) {},
7193+
"hda-gfx", Buffer (0x0A ){ "onboard-1" }
71917194
})
71927195
}
7196+
71937197
}
71947198

71957199
Device (RP01)
@@ -7542,8 +7546,8 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
75427546

75437547
Device (GIGE)
75447548
{
7545-
7546-
Name (_ADR, Zero)
7549+
Name (_ADR, 0x02)
7550+
Name (_SUN, 0x02)
75477551
Name (_PRW, Package (0x02) { 0x09, 0x04 })
75487552
Method (_DSM, 4, NotSerialized)
75497553
{
@@ -7558,33 +7562,36 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
75587562
"subsystem-id", Buffer() { 0x32, 0x07, 0x00, 0x00 },
75597563
"subsystem-vendor-id", Buffer() { 0x25, 0x10, 0x00, 0x00 },
75607564
"device_type", Buffer (0x14) { "Ethernet Controller" },
7561-
"model", Buffer() { "Realtek RTL8168/8111 Gigabit Ethernet" },
7565+
"model", Buffer() { "Realtek RTL8168/8111 Gigabit Ethernet" }
75627566
})
75637567
}
7564-
75657568
}
75667569

75677570
Device (SDHC)
75687571
{
7569-
Name (_ADR, 0x02)
7570-
Name (_PRW, Package (0x02) { 0x09, 0x03 })
7572+
Name (_ADR, Zero)
7573+
Name (_SUN, 0x02)
7574+
Name (_PRW, Package (0x02) { 0x09, 0x04 })
75717575
Method (_RMV, 0, NotSerialized) { Return (Zero) }
75727576
Method (_DSM, 4, NotSerialized)
75737577
{
75747578
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
75757579
Return (Package()
75767580
{
7577-
"AAPL,slot-name", Buffer () { "Built In" },
7578-
"Built In", Buffer () { 0x00 },
7579-
"model", Buffer () { "Realtek RTS5289 PCI Express Card Reader" },
7580-
"name", Buffer () { "Realtek RTS5289 PCI Express Card Reader" },
7581-
"compatible", Buffer () { "pci10ec,5209" },
7582-
"IOName", Buffer () {"pci10ec,5209" },
7583-
"device_type", Buffer () { "Mass Storage" }
7581+
"AAPL,slot-name", Buffer () { "SDHC" },
7582+
"built-in", Buffer () {0x01},
7583+
"device-id", Buffer() { 0x89, 0x52, 0x00, 0x00 },
7584+
"revision-id", Buffer() { 0x01, 0x00, 0x00, 0x00 },
7585+
"subsystem-id", Buffer() { 0x32, 0x07, 0x00, 0x00 },
7586+
"subsystem-vendor-id", Buffer() { 0x25, 0x10, 0x00, 0x00 },
7587+
"device_type", Buffer () { "Mass Storage" },
7588+
"model", Buffer () { "Realtek RTS5289 PCI Express Card Reader" }
75847589
})
75857590
}
75867591
}
75877592

7593+
7594+
75887595
Method (HPME, 0, Serialized)
75897596
{
75907597
If (PMSX)
@@ -7693,7 +7700,6 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
76937700

76947701
Return (PR07)
76957702
}
7696-
76977703
}
76987704

76997705
Device (RP04)
@@ -8358,7 +8364,6 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
83588364

83598365
Device (ARPT)
83608366
{
8361-
83628367
Name (_ADR, Zero)
83638368
Name (_PRW, Package (0x02) { 0x09, 0x04 })
83648369
Method (_DSM, 4, NotSerialized)
@@ -8377,7 +8382,6 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
83778382
"model", Buffer() { "Atheros 9462 802.11 a/b/g/n Wireless Network Adapter" },
83788383
})
83798384
}
8380-
83818385
}
83828386

83838387
Method (HPME, 0, Serialized)
@@ -8899,7 +8903,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
88998903

89008904
Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
89018905
{
8902-
Return (BUF2)
8906+
Return (Zero)
89038907
}
89048908
}
89058909
}
@@ -9216,7 +9220,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
92169220
Name (_ADR, 0x00040000) // _ADR: Address
92179221
}
92189222

9219-
Device (GFX0)
9223+
Device (IGPU)
92209224
{
92219225
Name (_ADR, 0x00020000) // _ADR: Address
92229226
Method (_INI, 0, NotSerialized) // _INI: Initialize
@@ -10586,7 +10590,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
1058610590
}
1058710591
Else
1058810592
{
10589-
Notify (GFX0, Arg1)
10593+
Notify (IGPU, Arg1)
1059010594
}
1059110595
}
1059210596

@@ -10596,7 +10600,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
1059610600
}
1059710601
Else
1059810602
{
10599-
Notify (GFX0, 0x80)
10603+
Notify (IGPU, 0x80)
1060010604
}
1060110605

1060210606
Return (Zero)
@@ -10957,13 +10961,14 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
1095710961
}
1095810962
Method (_DSM, 4, NotSerialized)
1095910963
{
10960-
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
10961-
Return (Package()
10964+
If (LEqual (Arg2, Zero)) { Return (Buffer (One){ 0x03 }) }
10965+
Return (Package (0x04)
1096210966
{
10963-
"AAPL,ig-platform-id", Buffer() { 0x03, 0x00, 0x66, 0x01 },
10964-
"hda-gfx", Buffer() { "onboard-1" },
10967+
"AAPL,ig-platform-id", Buffer (0x04){0x03, 0x00, 0x66, 0x01},
10968+
"hda-gfx", Buffer (0x0A){"onboard-1"}
1096510969
})
1096610970
}
10971+
1096710972
}
1096810973
}
1096910974

@@ -11079,12 +11084,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
1107911084
Device (PWRB)
1108011085
{
1108111086

11082-
Name (_CID, EisaId ("PNP0C0C"))
11083-
Name (_UID, 0xAA)
11084-
Method (_STA, 0, NotSerialized)
11085-
{
11086-
Return (0x0B)
11087-
}
11087+
Name (_HID, EisaId ("PNP0C0C"))
1108811088

1108911089
}
1109011090

@@ -11534,17 +11534,17 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
1153411534
Store (^LPCB.EC0.BCL7, Index (PNLT, 0x07))
1153511535
Store (^LPCB.EC0.BCL8, Index (PNLT, 0x08))
1153611536
Store (^LPCB.EC0.BCL9, Index (PNLT, 0x09))
11537-
Store (Or (^LPCB.EC0.BCL0, 0x8A00), ^GFX0.BLM0)
11538-
Store (Or (^LPCB.EC0.BCL1, 0x9400), ^GFX0.BLM1)
11539-
Store (Or (^LPCB.EC0.BCL2, 0x9E00), ^GFX0.BLM2)
11540-
Store (Or (^LPCB.EC0.BCL3, 0xA800), ^GFX0.BLM3)
11541-
Store (Or (^LPCB.EC0.BCL4, 0xB200), ^GFX0.BLM4)
11542-
Store (Or (^LPCB.EC0.BCL5, 0xBC00), ^GFX0.BLM5)
11543-
Store (Or (^LPCB.EC0.BCL6, 0xC600), ^GFX0.BLM6)
11544-
Store (Or (^LPCB.EC0.BCL7, 0xD000), ^GFX0.BLM7)
11545-
Store (Or (^LPCB.EC0.BCL8, 0xDA00), ^GFX0.BLM8)
11546-
Store (Or (^LPCB.EC0.BCL9, 0xE400), ^GFX0.BLM9)
11547-
Store (Zero, ^GFX0.BLMX)
11537+
Store (Or (^LPCB.EC0.BCL0, 0x8A00), ^IGPU.BLM0)
11538+
Store (Or (^LPCB.EC0.BCL1, 0x9400), ^IGPU.BLM1)
11539+
Store (Or (^LPCB.EC0.BCL2, 0x9E00), ^IGPU.BLM2)
11540+
Store (Or (^LPCB.EC0.BCL3, 0xA800), ^IGPU.BLM3)
11541+
Store (Or (^LPCB.EC0.BCL4, 0xB200), ^IGPU.BLM4)
11542+
Store (Or (^LPCB.EC0.BCL5, 0xBC00), ^IGPU.BLM5)
11543+
Store (Or (^LPCB.EC0.BCL6, 0xC600), ^IGPU.BLM6)
11544+
Store (Or (^LPCB.EC0.BCL7, 0xD000), ^IGPU.BLM7)
11545+
Store (Or (^LPCB.EC0.BCL8, 0xDA00), ^IGPU.BLM8)
11546+
Store (Or (^LPCB.EC0.BCL9, 0xE400), ^IGPU.BLM9)
11547+
Store (Zero, ^IGPU.BLMX)
1154811548
}
1154911549
}
1155011550

@@ -11617,6 +11617,36 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
1161711617
Zero,
1161811618
Zero
1161911619
})
11620-
Store ("hdef3-alc8xx_audio-3.txt_v2.0 dsdt edits, github.com/toleda", Debug)
11620+
11621+
Method (DTGP, 5, NotSerialized)
11622+
{
11623+
If (LEqual (Arg0, Buffer (0x10)
11624+
{
11625+
/* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
11626+
/* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
11627+
}))
11628+
{
11629+
If (LEqual (Arg1, One))
11630+
{
11631+
If (LEqual (Arg2, Zero))
11632+
{
11633+
Store (Buffer (One)
11634+
{
11635+
0x03
11636+
}, Arg4)
11637+
Return (One)
11638+
}
11639+
If (LEqual (Arg2, One))
11640+
{
11641+
Return (One)
11642+
}
11643+
}
11644+
}
11645+
Store (Buffer (One)
11646+
{
11647+
0x00
11648+
}, Arg4)
11649+
Return (Zero)
11650+
}
1162111651
}
1162211652

EFI/CLOVER/ACPI/patched/SSDT-0.aml

100755100644
File mode changed.

EFI/CLOVER/ACPI/patched/SSDT-0.dsl

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Disassembling to non-symbolic legacy ASL operators
77
*
8-
* Disassembly of SSDT-0.aml, Thu Aug 25 10:41:58 2016
8+
* Disassembly of SSDT-0.aml, Tue Sep 6 19:07:18 2016
99
*
1010
* Original Table Header:
1111
* Signature "SSDT"

EFI/CLOVER/ACPI/patched/SSDT-1.aml

100755100644
File mode changed.

0 commit comments

Comments
 (0)