-
Notifications
You must be signed in to change notification settings - Fork 8
/
SSDT-UIAC-ALL.dsl
117 lines (115 loc) · 4.35 KB
/
SSDT-UIAC-ALL.dsl
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
// SSDT-UIAC-ALL.dsl
//
// This SSDT can be used as a template to build your own
// customization for USBInjectAll.kext.
//
// This SSDT contains all ports, so using it is the same as without
// a custom SSDT. Delete ports that are not connected or ports you
// do not need.
//
// Change the UsbConnector or portType as needed to match your
// actual USB configuration.
//
// Note:
// portType=0 seems to indicate normal external USB2 port (as seen in MacBookPro8,1)
// portType=2 seems to indicate "internal device" (as seen in MacBookPro8,1)
// portType=4 is used by MacBookPro8,3 (reason/purpose unknown)
//
DefinitionBlock ("", "SSDT", 2, "hack", "_UIAC", 0)
{
Device(UIAC)
{
Name(_HID, "UIA00000")
Name(RMCF, Package()
{
"8086_a2af", Package()
{
"port-count", Buffer() { 26, 0, 0, 0 },
"ports", Package()
{
"HS02", Package() // USB-3 on motherboard
{
"UsbConnector", 3,
"port", Buffer() { 2, 0, 0, 0 },
},
"HS03", Package() // Top back USB 2.0
{
"UsbConnector", 3,
"port", Buffer() { 3, 0, 0, 0 },
},
"HS04", Package() // Top front USB 2.0
{
"UsbConnector", 3,
"port", Buffer() { 4, 0, 0, 0 },
},
"HS05", Package() // Rear bottom USB 2.0
{
"UsbConnector", 3,
"port", Buffer() { 5, 0, 0, 0 },
},
"HS06", Package() // Rear 2nd row left USB 2.0 hub + Rear last but two row to bottom USB 2.0
{
"UsbConnector", 3,
"port", Buffer() { 6, 0, 0, 0 },
},
"HS07", Package() // Bluetooth motherboard USB.
{
"UsbConnector", 255,
"port", Buffer() { 7, 0, 0, 0 },
},
//"HS08", Package() // Command pro motherboard USB.
//{
// "UsbConnector", 3,
// "port", Buffer() { 8, 0, 0, 0 },
//},
"HS09", Package() // Rear top USB-C 2.0
{
"UsbConnector", 3,
"port", Buffer() { 9, 0, 0, 0 },
},
"HS10", Package() // Rear bottom USB-C 2.0
{
"UsbConnector", 3,
"port", Buffer() { 10, 0, 0, 0 },
},
"HS11", Package() // Rear top right USB 2.0 only.
{
"UsbConnector", 3,
"port", Buffer() { 11, 0, 0, 0 },
},
"HS12", Package() // Rear top left USB 2.0 only.
{
"UsbConnector", 3,
"port", Buffer() { 12, 0, 0, 0 },
},
"HS14", Package() // Aura.
{
"UsbConnector", 3,
"port", Buffer() { 14, 0, 0, 0 },
},
"SS03", Package() // Top back USB 3.0, Rear top USB-C 3.0
{
"UsbConnector", 3,
"port", Buffer() { 19, 0, 0, 0 },
},
"SS04", Package() // Top front USB 3.0, Rear bottom USB-C 3.0
{
"UsbConnector", 3,
"port", Buffer() { 20, 0, 0, 0 },
},
"SS05", Package() // Rear bottom USB 3.0
{
"UsbConnector", 3,
"port", Buffer() { 21, 0, 0, 0 },
},
"SS06", Package() // Rear 2nd row left USB 3.0 hub + rear last but two row to bottom USB 3.0
{
"UsbConnector", 3,
"port", Buffer() { 22, 0, 0, 0 },
},
},
},
})
}
}
//EOF