summarylogtreecommitdiffstats
path: root/clevo-xsm-wmi.patch
blob: 265bfa33addc2059eb87a1f3741122573df03aed (plain)
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
diff --git a/module/clevo-xsm-wmi.c b/module/clevo-xsm-wmi.c
index 26f1af6..f540f91 100644
--- a/module/clevo-xsm-wmi.c
+++ b/module/clevo-xsm-wmi.c
@@ -1437,6 +1437,102 @@ static struct dmi_system_id clevo_xsm_dmi_table[] __initdata = {
 		.callback = clevo_xsm_dmi_matched,
 		.driver_data = &kb_8_color_ops,
 	},
+		{
+		.ident = "Clevo P65_67RSRP",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "P65_67RSRP"),
+		},
+		.callback = clevo_xsm_dmi_matched,
+		.driver_data = &kb_full_color_ops,
+	},
+	{
+		.ident = "Clevo P65xRP",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "P65xRP"),
+		},
+		.callback = clevo_xsm_dmi_matched,
+		.driver_data = &kb_full_color_ops,
+	},
+	{
+		.ident = "Clevo P150EM",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "P15xEMx"),
+		},
+		.callback = clevo_xsm_dmi_matched,
+		.driver_data = &kb_8_color_ops,
+	},
+	{
+		.ident = "Clevo P7xxDM2(-G)",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "P7xxDM2(-G)"),
+		},
+		.callback = clevo_xsm_dmi_matched,
+		.driver_data = &kb_full_color_with_extra_ops,
+	},
+	{
+		.ident = "Clevo P950HP6",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "P95_HP,HR,HQ"),
+		},
+		.callback = clevo_xsm_dmi_matched,
+		.driver_data = &kb_full_color_ops,
+	},
+	{
+                .ident = "Clevo P95_HP",
+                .matches = {
+                        DMI_MATCH(DMI_PRODUCT_NAME, "P95_HP"),
+                },
+                .callback = clevo_xsm_dmi_matched,
+                .driver_data = &kb_full_color_ops,
+        },
+	{
+		.ident = "Clevo N850HJ",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "N85_N87"),
+		},
+		.callback = clevo_xsm_dmi_matched,
+		.driver_data = &kb_full_color_ops,
+	},
+	{
+		.ident = "Clevo P775DM3(-G)",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "P775DM3(-G)"),
+		},
+		.callback = clevo_xsm_dmi_matched,
+		.driver_data = &kb_full_color_ops,
+	},
+	{
+		.ident = "Clevo N850HJ",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "N85_N87"),
+		},
+		.callback = clevo_xsm_dmi_matched,
+		.driver_data = &kb_full_color_ops,
+	},
+	{
+		.ident = "Clevo N870HK",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "N85_N87,HJ,HJ1,HK1"),
+		},
+		.callback = clevo_xsm_dmi_matched,
+		.driver_data = &kb_full_color_with_extra_ops,
+	},
+       {
+		.ident = "Clevo N870HP6",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "N85_87HP6"),
+		},
+		.callback = clevo_xsm_dmi_matched,
+		.driver_data = &kb_full_color_ops,
+       },
+	{
+               .ident = "Clevo P65_67HSHP",
+               .matches = {
+                       DMI_MATCH(DMI_PRODUCT_NAME, "P65_67HSHP"),
+               },
+               .callback = clevo_xsm_dmi_matched,
+               .driver_data = &kb_full_color_ops,
+       },
 	/* Ones that don't follow the 'standard' product names above */
 	{
 		.ident = "Clevo P7xxDM(-G)",
@@ -1457,36 +1553,52 @@ static struct dmi_system_id clevo_xsm_dmi_table[] __initdata = {
 	{
 		.ident = "Clevo P750ZM",
 		.matches = {
-			DMI_MATCH(DMI_SYS_VENDOR, "ECT"),
-			DMI_MATCH(DMI_BOARD_NAME, "P750ZM"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "P5 Pro"),
 		},
 		.callback = clevo_xsm_dmi_matched,
 		.driver_data = &kb_full_color_with_extra_ops,
 	},
 	{
-		.ident = "Clevo P65_67RSRP",
+		.ident = "Clevo P750ZM",
 		.matches = {
-			DMI_MATCH(DMI_PRODUCT_NAME, "P65_67RSRP"),
+			DMI_MATCH(DMI_SYS_VENDOR, "ECT"),
+			DMI_MATCH(DMI_BOARD_NAME, "P750ZM"),
 		},
 		.callback = clevo_xsm_dmi_matched,
-		.driver_data = &kb_full_color_ops,
+		.driver_data = &kb_full_color_with_extra_ops,
 	},
 	{
-		.ident = "Clevo P65xRP",
+		.ident = "XMG A517",
 		.matches = {
-			DMI_MATCH(DMI_PRODUCT_NAME, "P65xRP"),
+			DMI_MATCH(DMI_BOARD_NAME, "N85_87HP6"),
 		},
 		.callback = clevo_xsm_dmi_matched,
 		.driver_data = &kb_full_color_ops,
 	},
 	{
-		.ident = "Clevo P150EM",
-		.matches = {
-			DMI_MATCH(DMI_PRODUCT_NAME, "P15xEMx"),
-		},
-		.callback = clevo_xsm_dmi_matched,
-		.driver_data = &kb_8_color_ops,
-	},
+                .ident = "Clevo P7xxDM3(-G)",
+                .matches = {
+                       DMI_MATCH(DMI_PRODUCT_NAME, "P7xxDM3(-G)"),
+                },
+                .callback = clevo_xsm_dmi_matched,
+                .driver_data = &kb_full_color_ops,
+        },
+        {
+                .ident = "Clevo P7xxTM1",
+                .matches = {
+                        DMI_MATCH(DMI_PRODUCT_NAME, "P7xxTM1"),
+                },
+                .callback = clevo_xsm_dmi_matched,
+                .driver_data = &kb_full_color_ops,
+        },
+        {
+		.ident = "Clevo N8xEJEK",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "N8xEJEK"),
+		},
+		.callback = clevo_xsm_dmi_matched,
+		.driver_data = &kb_full_color_with_extra_ops,
+	},
 	{
 		/* terminating NULL entry */
 	},