forked from RehabMan/Intel-NUC-DSDT-Patch
-
Notifications
You must be signed in to change notification settings - Fork 3
/
SSDT-USB.dsl
198 lines (197 loc) · 7.7 KB
/
SSDT-USB.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
// USB configuration for NUC5/NUC6/NUC6-SkullCanyon
//DefinitionBlock ("", "SSDT", 2, "hack", "_USB", 0)
//{
Device(UIAC)
{
Name(_HID, "UIA00000")
Name(RMCF, Package()
{
// XHC overrides (8086:9cb1, NUC5)
"8086_9cb1", Package()
{
//"port-count", Buffer() { 0x0f, 0, 0, 0},
"ports", Package()
{
"HS01", Package() // HS USB3 front right
{
"UsbConnector", 3,
"port", Buffer() { 0x01, 0, 0, 0 },
},
"HS02", Package() // HS USB3 front left
{
"UsbConnector", 3,
"port", Buffer() { 0x02, 0, 0, 0 },
},
"HS03", Package() // HS USB3 rear bottom
{
"UsbConnector", 3,
"port", Buffer() { 0x03, 0, 0, 0 },
},
"HS04", Package() // HS USB3 rear top
{
"UsbConnector", 3,
"port", Buffer() { 0x04, 0, 0, 0 },
},
//HS05/HS06 not used
"HS07", Package() // bluetooth (soldered BT/Wifi such as NUC5i7RYH)
{
"UsbConnector", 255,
"port", Buffer() { 0x07, 0, 0, 0 },
},
"HS08", Package() // bluetooth (M.2 BT/WiFi such as NUC5i5MYHE)
{
"UsbConnector", 255,
"port", Buffer() { 0x08, 0, 0, 0 },
},
//USBR @9 not used
"SS01", Package() // SS USB3 front right
{
"UsbConnector", 3,
"port", Buffer() { 0x0c, 0, 0, 0 },
},
"SS02", Package() // SS USB3 front left
{
"UsbConnector", 3,
"port", Buffer() { 0x0d, 0, 0, 0 },
},
"SS03", Package() // SS USB3 rear bottom
{
"UsbConnector", 3,
"port", Buffer() { 0x0e, 0, 0, 0 },
},
"SS04", Package() // SS USB3 rear top
{
"UsbConnector", 3,
"port", Buffer() { 0x0f, 0, 0, 0 },
},
},
},
// XHC overrides (8086:9d2f, NUC6)
"8086_9d2f", Package()
{
//"port-count", Buffer() { 18, 0, 0, 0 },
"ports", Package()
{
"HS01", Package() // HS USB3 front right
{
"UsbConnector", 3,
"port", Buffer() { 0x01, 0, 0, 0 },
},
"HS02", Package() // HS USB3 front left
{
"UsbConnector", 3,
"port", Buffer() { 0x02, 0, 0, 0 },
},
"HS03", Package() // HS USB3 rear bottom
{
"UsbConnector", 3,
"port", Buffer() { 0x03, 0, 0, 0 },
},
"HS04", Package() // HS USB3 rear top
{
"UsbConnector", 3,
"port", Buffer() { 0x04, 0, 0, 0 },
},
#if 0 //typically, internal headers HS05/HS06 not used
"HS05", Package() // internal header 1
{
"UsbConnector", 255, // use 0 if connected to port on non-Intel case
"port", Buffer() { 0x05, 0, 0, 0 },
},
"HS06", Package() // internal header 2
{
"UsbConnector", 255, // use 0 if connected to port on non-Intel case
"port", Buffer() { 0x06, 0, 0, 0 },
},
#endif
"HS07", Package() // bluetooth
{
"UsbConnector", 255,
"port", Buffer() { 0x07, 0, 0, 0 },
},
//HS08/HS09/HS10 not used
//USR1/USR2 (11/12) not used
"SS01", Package() // SS USB3 front right
{
"UsbConnector", 3,
"port", Buffer() { 13, 0, 0, 0 },
},
"SS02", Package() // SS USB3 front left
{
"UsbConnector", 3,
"port", Buffer() { 14, 0, 0, 0 },
},
"SS03", Package() // SS USB3 rear bottom
{
"UsbConnector", 3,
"port", Buffer() { 15, 0, 0, 0 },
},
"SS04", Package() // SS USB3 rear top
{
"UsbConnector", 3,
"port", Buffer() { 16, 0, 0, 0 },
},
//SS05/SS06 not used
},
},
// XHC overrides (8086:a12f, NUC6 Skull Canyon)
"8086_a12f", Package()
{
//"port-count", Buffer() { 26, 0, 0, 0 },
"ports", Package()
{
"HS01", Package() // HS USB3 front left
{
"UsbConnector", 3,
"port", Buffer() { 0x01, 0, 0, 0 },
},
"HS02", Package() // HS USB3 front right
{
"UsbConnector", 3,
"port", Buffer() { 0x02, 0, 0, 0 },
},
"HS03", Package() // HS USB3 rear bottom
{
"UsbConnector", 3,
"port", Buffer() { 0x03, 0, 0, 0 },
},
"HS04", Package() // HS USB3 rear top
{
"UsbConnector", 3,
"port", Buffer() { 0x04, 0, 0, 0 },
},
//HS05/HS06/HS07/HS08 not used
"HS09", Package() // bluetooth
{
"UsbConnector", 255,
"port", Buffer() { 0x09, 0, 0, 0 },
},
//HS10/HS11/HS12/HS13/HS14 not used
//USR1/USR2 (0x0f/0x10) not used
"SS01", Package() // SS USB3 front left
{
"UsbConnector", 3,
"port", Buffer() { 0x11, 0, 0, 0 },
},
"SS02", Package() // SS USB3 front right
{
"UsbConnector", 3,
"port", Buffer() { 0x12, 0, 0, 0 },
},
"SS03", Package() // SS USB3 rear bottom
{
"UsbConnector", 3,
"port", Buffer() { 0x13, 0, 0, 0 },
},
"SS04", Package() // SS USB3 rear top
{
"UsbConnector", 3,
"port", Buffer() { 0x14, 0, 0, 0 },
},
//SS05/SS06/SS07/SS08/SS09/SS10 not used
},
},
})
}
//}
//EOF