@@ -48,7 +48,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
48
48
External (_GPE .MMTB, MethodObj ) // Imported: 0 Arguments
49
49
External (_GPE .VHOV, MethodObj ) // Imported: 3 Arguments
50
50
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
52
52
External (_SB_.PCI0.IEIT.EITV, MethodObj ) // Warning: Unknown method, guessing 0 arguments
53
53
External (_SB_.PCI0.LPCB.H_EC.ECRD, MethodObj ) // Imported: 1 Arguments
54
54
External (_SB_.PCI0.LPCB.H_EC.ECWT, MethodObj ) // Imported: 2 Arguments
@@ -2253,12 +2253,12 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
2253
2253
If (LIDT)
2254
2254
{
2255
2255
Store (Zero , LIDS)
2256
- Store (Zero , ^^^GFX0 .CLID)
2256
+ Store (Zero , ^^^IGPU .CLID)
2257
2257
}
2258
2258
Else
2259
2259
{
2260
2260
Store (One , LIDS)
2261
- Store (One , ^^^GFX0 .CLID)
2261
+ Store (One , ^^^IGPU .CLID)
2262
2262
}
2263
2263
}
2264
2264
@@ -3028,11 +3028,11 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
3028
3028
{
3029
3029
If (IGDS)
3030
3030
{
3031
- If (LNotEqual (^^^GFX0 .CPL2, Zero ))
3031
+ If (LNotEqual (^^^IGPU .CPL2, Zero ))
3032
3032
{
3033
3033
Store (Zero , LIDS)
3034
- Store (Zero , ^^^GFX0 .CLID)
3035
- ^^^GFX0 .GLID (Zero )
3034
+ Store (Zero , ^^^IGPU .CLID)
3035
+ ^^^IGPU .GLID (Zero )
3036
3036
}
3037
3037
}
3038
3038
@@ -3044,8 +3044,8 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
3044
3044
If (IGDS)
3045
3045
{
3046
3046
Store (One , LIDS)
3047
- Store (One , ^^^GFX0 .CLID)
3048
- ^^^GFX0 .GLID (One )
3047
+ Store (One , ^^^IGPU .CLID)
3048
+ ^^^IGPU .GLID (One )
3049
3049
}
3050
3050
3051
3051
Notify (LID, 0x80 )
@@ -3066,7 +3066,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
3066
3066
}
3067
3067
ElseIf (LOr (LEqual (SGST, 0x04 ), LEqual (SGST, Zero )))
3068
3068
{
3069
- Notify (^^^GFX0 .DD02, 0x86 )
3069
+ Notify (^^^IGPU .DD02, 0x86 )
3070
3070
}
3071
3071
Else
3072
3072
{
@@ -3093,7 +3093,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
3093
3093
}
3094
3094
ElseIf (LOr (LEqual (SGST, 0x04 ), LEqual (SGST, Zero )))
3095
3095
{
3096
- Notify (^^^GFX0 .DD02, 0x87 )
3096
+ Notify (^^^IGPU .DD02, 0x87 )
3097
3097
}
3098
3098
Else
3099
3099
{
@@ -3305,7 +3305,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
3305
3305
{
3306
3306
If (LEqual (SGST, 0x04 ))
3307
3307
{
3308
- ^^^GFX0 .GHDS (Zero )
3308
+ ^^^IGPU .GHDS (Zero )
3309
3309
}
3310
3310
ElseIf (LEqual (SGST, One ))
3311
3311
{
@@ -3319,7 +3319,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
3319
3319
}
3320
3320
Else
3321
3321
{
3322
- ^^^GFX0 .GHDS (Zero )
3322
+ ^^^IGPU .GHDS (Zero )
3323
3323
}
3324
3324
}
3325
3325
@@ -3329,7 +3329,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
3329
3329
{
3330
3330
Multiply (DerefOf (Index (PNLT, BLVL)), 0x64 , Local1 )
3331
3331
Divide (Local1 , 0x0100 , , Local2 )
3332
- ^^^GFX0 .AINT (One , Local2 )
3332
+ ^^^IGPU .AINT (One , Local2 )
3333
3333
}
3334
3334
ElseIf (LEqual (GI48, One ))
3335
3335
{
@@ -5438,12 +5438,12 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
5438
5438
If (\_SB .PCI0.LPCB.EC0.LIDT)
5439
5439
{
5440
5440
Store (Zero , LIDS)
5441
- Store (Zero , \_SB .PCI0.GFX0 .CLID)
5441
+ Store (Zero , \_SB .PCI0.IGPU .CLID)
5442
5442
}
5443
5443
Else
5444
5444
{
5445
5445
Store (One , LIDS)
5446
- Store (One , \_SB .PCI0.GFX0 .CLID)
5446
+ Store (One , \_SB .PCI0.IGPU .CLID)
5447
5447
}
5448
5448
}
5449
5449
@@ -6157,9 +6157,9 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
6157
6157
6158
6158
Method (_L06 , 0 , NotSerialized ) // _Lxx: Level-Triggered GPE
6159
6159
{
6160
- If (LAnd (\_SB .PCI0.GFX0 .GSSE, LNot (GSMI)))
6160
+ If (LAnd (\_SB .PCI0.IGPU .GSSE, LNot (GSMI)))
6161
6161
{
6162
- \_SB .PCI0.GFX0 .GSCI ()
6162
+ \_SB .PCI0.IGPU .GSCI ()
6163
6163
}
6164
6164
}
6165
6165
@@ -7185,11 +7185,15 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
7185
7185
If (LEqual (Arg2 , Zero )) { Return (Buffer () { 0x03 } ) }
7186
7186
Return (Package ()
7187
7187
{
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" }
7191
7194
})
7192
7195
}
7196
+
7193
7197
}
7194
7198
7195
7199
Device (RP01)
@@ -7542,8 +7546,8 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
7542
7546
7543
7547
Device (GIGE)
7544
7548
{
7545
-
7546
- Name (_ADR , Zero )
7549
+ Name ( _ADR , 0x02 )
7550
+ Name (_SUN , 0x02 )
7547
7551
Name (_PRW , Package (0x02 ) { 0x09 , 0x04 })
7548
7552
Method (_DSM , 4 , NotSerialized )
7549
7553
{
@@ -7558,33 +7562,36 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
7558
7562
"subsystem-id" , Buffer () { 0x32 , 0x07 , 0x00 , 0x00 },
7559
7563
"subsystem-vendor-id" , Buffer () { 0x25 , 0x10 , 0x00 , 0x00 },
7560
7564
"device_type" , Buffer (0x14 ) { "Ethernet Controller" },
7561
- "model" , Buffer () { "Realtek RTL8168/8111 Gigabit Ethernet" },
7565
+ "model" , Buffer () { "Realtek RTL8168/8111 Gigabit Ethernet" }
7562
7566
})
7563
7567
}
7564
-
7565
7568
}
7566
7569
7567
7570
Device (SDHC)
7568
7571
{
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 })
7571
7575
Method (_RMV , 0 , NotSerialized ) { Return (Zero ) }
7572
7576
Method (_DSM , 4 , NotSerialized )
7573
7577
{
7574
7578
If (LEqual (Arg2 , Zero )) { Return (Buffer () { 0x03 } ) }
7575
7579
Return (Package ()
7576
7580
{
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" }
7584
7589
})
7585
7590
}
7586
7591
}
7587
7592
7593
+
7594
+
7588
7595
Method (HPME, 0 , Serialized )
7589
7596
{
7590
7597
If (PMSX)
@@ -7693,7 +7700,6 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
7693
7700
7694
7701
Return (PR07)
7695
7702
}
7696
-
7697
7703
}
7698
7704
7699
7705
Device (RP04)
@@ -8358,7 +8364,6 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
8358
8364
8359
8365
Device (ARPT)
8360
8366
{
8361
-
8362
8367
Name (_ADR , Zero )
8363
8368
Name (_PRW , Package (0x02 ) { 0x09 , 0x04 })
8364
8369
Method (_DSM , 4 , NotSerialized )
@@ -8377,7 +8382,6 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
8377
8382
"model" , Buffer () { "Atheros 9462 802.11 a/b/g/n Wireless Network Adapter" },
8378
8383
})
8379
8384
}
8380
-
8381
8385
}
8382
8386
8383
8387
Method (HPME, 0 , Serialized )
@@ -8899,7 +8903,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
8899
8903
8900
8904
Method (_SRS , 1 , Serialized ) // _SRS: Set Resource Settings
8901
8905
{
8902
- Return (BUF2 )
8906
+ Return (Zero )
8903
8907
}
8904
8908
}
8905
8909
}
@@ -9216,7 +9220,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
9216
9220
Name (_ADR , 0x00040000 ) // _ADR: Address
9217
9221
}
9218
9222
9219
- Device (GFX0 )
9223
+ Device (IGPU )
9220
9224
{
9221
9225
Name (_ADR , 0x00020000 ) // _ADR: Address
9222
9226
Method (_INI , 0 , NotSerialized ) // _INI: Initialize
@@ -10586,7 +10590,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
10586
10590
}
10587
10591
Else
10588
10592
{
10589
- Notify (GFX0 , Arg1 )
10593
+ Notify (IGPU , Arg1 )
10590
10594
}
10591
10595
}
10592
10596
@@ -10596,7 +10600,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
10596
10600
}
10597
10601
Else
10598
10602
{
10599
- Notify (GFX0 , 0x80 )
10603
+ Notify (IGPU , 0x80 )
10600
10604
}
10601
10605
10602
10606
Return (Zero )
@@ -10957,13 +10961,14 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
10957
10961
}
10958
10962
Method (_DSM , 4 , NotSerialized )
10959
10963
{
10960
- If (LEqual (Arg2 , Zero )) { Return (Buffer () { 0x03 } ) }
10961
- Return (Package ( )
10964
+ If (LEqual (Arg2 , Zero )) { Return (Buffer ( One ) { 0x03 }) }
10965
+ Return (Package ( 0x04 )
10962
10966
{
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" }
10965
10969
})
10966
10970
}
10971
+
10967
10972
}
10968
10973
}
10969
10974
@@ -11079,12 +11084,7 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
11079
11084
Device (PWRB)
11080
11085
{
11081
11086
11082
- Name (_CID , EisaId ("PNP0C0C" ))
11083
- Name (_UID , 0xAA )
11084
- Method (_STA , 0 , NotSerialized )
11085
- {
11086
- Return (0x0B )
11087
- }
11087
+ Name (_HID , EisaId ("PNP0C0C" ))
11088
11088
11089
11089
}
11090
11090
@@ -11534,17 +11534,17 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
11534
11534
Store (^LPCB.EC0.BCL7, Index (PNLT, 0x07 ))
11535
11535
Store (^LPCB.EC0.BCL8, Index (PNLT, 0x08 ))
11536
11536
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)
11548
11548
}
11549
11549
}
11550
11550
@@ -11617,6 +11617,36 @@ DefinitionBlock ("", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000000)
11617
11617
Zero ,
11618
11618
Zero
11619
11619
})
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
+ }
11621
11651
}
11622
11652
0 commit comments