This repository has been archived by the owner on Sep 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SSDT-UIAC-ALL.dsl
117 lines (115 loc) · 3.69 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()
{
"HUB1", Package()
{
"port-count", Buffer() { 1, 0, 0, 0 },
"ports", Package()
{
"HP11", Package()
{
//"UsbConnector", 0,
"portType", 0,
"port", Buffer() { 1, 0, 0, 0 },
},
},
},
"HUB2", Package()
{
"port-count", Buffer() { 6, 0, 0, 0 },
"ports", Package()
{
"HP22", Package() //USB2 far right
{
//"UsbConnector", 0,
"portType", 0,
"port", Buffer() { 2, 0, 0, 0 },
},
"HP24", Package() //USB2 far right / Webcam
{
//"UsbConnector", 0,
"portType", 0,
"port", Buffer() { 4, 0, 0, 0 },
},
"HP25", Package() //USB2 near right
{
//"UsbConnector", 0,
"portType", 0,
"port", Buffer() { 5, 0, 0, 0 },
}, },
},
"EH01", Package()
{
"port-count", Buffer() { 8, 0, 0, 0 },
"ports", Package()
{
"PR11", Package()
{
"UsbConnector", 255,
"port", Buffer() { 1, 0, 0, 0 },
},
},
},
"EH02", Package()
{
"port-count", Buffer() { 6, 0, 0, 0 },
"ports", Package()
{
"PR21", Package()
{
"UsbConnector", 255,
"port", Buffer() { 1, 0, 0, 0 },
}, },
},
"8086_8c31", Package()
{
"port-count", Buffer() { 21, 0, 0, 0 },
"ports", Package()
{
"HS01", Package()
{
"UsbConnector", 3,
"port", Buffer() { 1, 0, 0, 0 },
},
"HS02", Package()
{
"UsbConnector", 3,
"port", Buffer() { 2, 0, 0, 0 },
},
"SS01", Package()
{
"UsbConnector", 3,
"port", Buffer() { 16, 0, 0, 0 },
},
"SS02", Package()
{
"UsbConnector", 3,
"port", Buffer() { 17, 0, 0, 0 },
},
},
},
})
}
}
//EOF