forked from RehabMan/Laptop-DSDT-Patch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaudio_HDEF-layout12a.txt
57 lines (54 loc) · 1.96 KB
/
audio_HDEF-layout12a.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#Maintained by: RehabMan for: Laptop Patches
#audio_HDEF-layout12a.txt
# Note: Change your layout-id if you need something different
#
# Also, this version of the patch allows you to set a few more
# properties than the normal layout12 patch does.
#
# You will need to research to find the correct values for your
# patched AppleHDA/codec
# Inject Audio info
into method label _DSM parent_label HDEF remove_entry;
into device label HDEF insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"AAPL,slot-name", Buffer() { "Built in" },\n
"device-id", Buffer() { 0x6E, 0x50, 0xF1, 0x14 },\n
"layout-id", Buffer() { 12, 0x00, 0x00, 0x00 },\n
"codec-id", Buffer() { 0x3E, 0x3A, 0xEC, 0x10 },\n
"model", Buffer() { "Conexant 20672 SmartAudio HD" },\n
"name", Buffer() { "Conexant Cx20590" },\n
"device_type", Buffer() { "Audio Controller" },\n
"built-in", Buffer() { 0x00 },\n
"PinConfigurations", Buffer() { },\n
"hda-gfx", Buffer() { "onboard-1" },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;
into method label _DSM parent_label HDAS remove_entry;
into device label HDAS insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"AAPL,slot-name", Buffer() { "Built in" },\n
"device-id", Buffer() { 0x6E, 0x50, 0xF1, 0x14 },\n
"layout-id", Buffer() { 12, 0x00, 0x00, 0x00 },\n
"codec-id", Buffer() { 0x3E, 0x3A, 0xEC, 0x10 },\n
"model", Buffer() { "Conexant 20672 SmartAudio HD" },\n
"name", Buffer() { "Conexant Cx20590" },\n
"device_type", Buffer() { "Audio Controller" },\n
"built-in", Buffer() { 0x00 },\n
"PinConfigurations", Buffer() { },\n
"hda-gfx", Buffer() { "onboard-1" },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;